Re: sisfb compile error (2.4.0-test8)

From: Hayden James (hjames@stevens-tech.edu)
Date: Sat Sep 16 2000 - 13:45:36 EST


--- sisfb.c.orig Sat Sep 16 14:43:19 2000
+++ sisfb.c Sat Sep 16 14:43:28 2000
@@ -10,7 +10,7 @@
 
 #define EXPORT_SYMTAB
 #undef SISFBDEBUG
-#undef CONFIG_FB_SIS_LINUXBIOS
+#define CONFIG_FB_SIS_LINUXBIOS
 
 #include <linux/module.h>
 #include <linux/kernel.h>

This patch will make it compile...I don't know if its right though.

Hayden A. James

Yavuz said:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -march=i686 -fno-strict-aliasing -DMODULE
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o
sisfb.o sisfb.c
sisfb.c: In function `get_modeID_length':
sisfb.c:1443: warning: unused variable `ModeID'
sisfb.c: In function `DetectMonitor':
sisfb.c:2617: `Monitor1Sense' undeclared (first use in this function)
sisfb.c:2617: (Each undeclared identifier is reported only once
sisfb.c:2617: for each function it appears in.)
sisfb.c: In function `SiSInit300':
sisfb.c:2704: `SRegsInit' undeclared (first use in this function)
sisfb.c:2636: warning: `SR21' might be used uninitialized in this function
sisfb.c:2636: warning: `SR22' might be used uninitialized in this function
sisfb.c: In function `SiSSetMode':
sisfb.c:2807: warning: unused variable `i'
sisfb.c: In function `sisfb_init':
sisfb.c:3423: warning: unused variable `cmd'
make[2]: *** [sisfb.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/video'
make[1]: *** [_modsubdir_video] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_mod_drivers] Error 2

Yavuz
---------------------------
The FORCE will be with you.
http://www.theforce.net

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:13 EST