Errore di compilazione del kernel
Error compiling kernel 2.4.12
------------------------------------
Using CONFIG_PARPORT_1284 in .config file, compilation does't work as
you can see:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.12/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE
-DMODVERSIONS -include/usr/src/linux-2.4.12/include/linux/modversions.h -c -o ieee1284_ops.oieee1284_ops.cieee1284_ops.c: In function `ecp_forward_to_reverse':
ieee1284_ops.c:365: `IEEE1284_PH_DIR_UNKNOWN' undeclared (first use in this function)
ieee1284_ops.c:365: (Each undeclared identifier is reported only once ieee1284_ops.c:365: for each function it appears in.) ieee1284_ops.c: In function `ecp_reverse_to_forward':
ieee1284_ops.c:397: `IEEE1284_PH_DIR_UNKNOWN' undeclared (first use in this function)
make[2]: *** [ieee1284_ops.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.12/drivers/parport' make[1]: *** [_modsubdir_parport] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.12/drivers'
make: *** [_mod_drivers] Error 2
[root@localhost linux-2.4.12]# cat .con
.config .config.old
[root@localhost linux-2.4.12]# cat .config | grep ieee1284 [root@localhost linux-2.4.12]# cat .config | grep 1284 CONFIG_PARPORT_1284=y
[root@localhost linux-2.4.12]# gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.0.1/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-cstdio=stdio --enable-clocale=generic --enable-languages=c,c++,f77,objc,java --program-suffix=-3.0.1 --enable-objc-gc --host=i586-mandrake-linux-gnu Thread model: posix
gcc version 3.0.1
[root@localhost linux-2.4.12]# cat /proc/version
Linux version 2.4.7-12.3mdk (root@updates) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release / Linux-Mandrake 8.0)) #1 Mon Aug 20 16:16:58 MDT 2001
Bye,
--
,__ ,_ ,___ .-------=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-. ||_) ||\ ||_ / Proud Member & Master of the LUGGE | || \ ||¯\ ||¯ linuxgrp: http://lugge.ziobudda.net |
¯¯ ¯° ¯¯ ¯° ¯¯ ° homepage: http://digilander.iol.it/robang |
Roberto A. Foglietta icq uin : 1087 18 257, E=s*aurimento² |
\ reg num : #219348 with the Linux Counter |
`---------------------=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-'