2.4.21ac1 and pktcdvd.c compil problem
bonjour à tous , I patched a 2.4.21 kernel download from kernel.org with this order: 1- ac1 alan patch 2- packet 2.4.21 3- packet 2.4.21ac1 When I try to compil modules, I have this messages: ------------------------------------------------------------------------ -------------------------- make[2]: Leaving directory `/usr/src/2.4.21ac1_cdrw/drivers/atm' make -C block modules make[2]: Entering directory `/usr/src/2.4.21ac1_cdrw/drivers/block' gcc -D__KERNEL__ -I/usr/src/2.4.21ac1_cdrw/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/2.4.21ac1_cdrw/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=floppy -c -o floppy.o floppy.c gcc -D__KERNEL__ -I/usr/src/2.4.21ac1_cdrw/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/2.4.21ac1_cdrw/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=loop -DEXPORT_SYMTAB -c loop.c gcc -D__KERNEL__ -I/usr/src/2.4.21ac1_cdrw/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/2.4.21ac1_cdrw/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=xd -c -o xd.o xd.c gcc -D__KERNEL__ -I/usr/src/2.4.21ac1_cdrw/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/2.4.21ac1_cdrw/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=cpqarray -c -o cpqarray.o cpqarray.c gcc -D__KERNEL__ -I/usr/src/2.4.21ac1_cdrw/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/2.4.21ac1_cdrw/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=cciss -c -o cciss.o cciss.c cciss.c: Dans la fonction « cciss_ioctl »: cciss.c:766: attention : comparison is always false due to limited range of data type cciss.c: Dans la fonction « cciss_pci_init »: cciss.c:2492: attention : constante entière trop grande pour le type « long » gcc -D__KERNEL__ -I/usr/src/2.4.21ac1_cdrw/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/2.4.21ac1_cdrw/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=DAC960 -DEXPORT_SYMTAB -c DAC960.c gcc -D__KERNEL__ -I/usr/src/2.4.21ac1_cdrw/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/2.4.21ac1_cdrw/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=umem -c -o umem.o umem.c gcc -D__KERNEL__ -I/usr/src/2.4.21ac1_cdrw/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/2.4.21ac1_cdrw/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=nbd -c -o nbd.o nbd.c gcc -D__KERNEL__ -I/usr/src/2.4.21ac1_cdrw/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/2.4.21ac1_cdrw/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=pktcdvd -c -o pktcdvd.o pktcdvd.c pktcdvd.c: Dans la fonction « kcdrwd »: pktcdvd.c:1187: error: structure has no member named `nice' make[2]: *** [pktcdvd.o] Erreur 1 make[2]: Leaving directory `/usr/src/2.4.21ac1_cdrw/drivers/block' make[1]: *** [_modsubdir_block] Erreur 2 make[1]: Leaving directory `/usr/src/2.4.21ac1_cdrw/drivers' make: *** [_mod_drivers] Erreur 2 ------------------------------------------------------------------------ --------------------------------- The compilation stops here. Someone know why I have this message and how to solve this? I solved it like this: in pktcdvd:1187, i replaced current->nice = -20; with /*current->nice = -20;*/ and the compilation of the module is ok. But what happen to my kernel stability with this modification ? was this line important? Thanks for your help. Romain. _____________________________________________________________________ Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France
participants (1)
-
XMANN