Re: 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: [snip] 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.
You should use: set_user_nice(current, -20); rather than commennting it out, which, I beleive, I had included in the packet-ac patch: Is that not so? Try: http://w1.894.telia.com/~u89404340/patches/packet/2.4/ac/pktcd-2.4.21rc7ac1.... and on top of that: http://w1.894.telia.com/~u89404340/patches/packet/2.4/ac/pktcd-2.4.21ac-upda... Regards; Özkan Sezer
participants (1)
-
O.Sezer