On 2003.02.05 02:35 D Caffinated wrote:
Yes greeting,
I am having trouble figuring how to correct this error I get when I compile the packet patch 2.4.20-2 with this RedHat kernel-source. Here is the problem area:
/usr/src/linux-2.4.20-2.33/include/linux/smp.h:87:1: warning: this is the location of the previous definition pktcdvd.c: In function `kcdrwd': pktcdvd.c:1184: `SCHED_OTHER' undeclared (first use in this function) pktcdvd.c:1184: (Each undeclared identifier is reported only once pktcdvd.c:1184: for each function it appears in.) pktcdvd.c:1189: structure has no member named `sigmask_lock' pktcdvd.c: In function `pkt_init_queue': pktcdvd.c:2266: warning: initialization makes integer from pointer without a cast pktcdvd.c:2266: warning: initialization from incompatible pointer type make[3]: *** [pktcdvd.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.20-2.33/drivers/block' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.20-2.33/drivers/block' make[1]: *** [_subdir_block] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.20-2.33/drivers' make: *** [_dir_drivers] Error 2
Any help is welcomed.
Thank You.
-- D
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
-- To unsubscribe, e-mail: packet-writing-unsubscribe@suse.com For additional commands, e-mail: packet-writing-help@suse.com
D Caffinated, A few things, linux-2.4.20-2.33 does not look like a RedHat kernel, all my recent kernels end in -8.0 for RedHat 8.0. Its a really bad idea to mess with the content of /usr/src/linux. The header files there are used by other things and they need to be consistant. Get the 2.4.20 kernal from kernel.org (or a mirror), put it in your home directory and patch and build it there as your ordinary user. You need to become root only for the install. That way it patches and builds clean, well, it does for me. Regards, Roy Bamford