[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc-3.4 deb not correctly installed?



When I try to compile kernel 2.4.26 I get a lot of errors. The kernel is 
patched a little, but I get the same errors with a plain kernel. I looks 
always similar to this:

make[2]: Entering directory `/usr/src/linux-2.4.26/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer 
-pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc -iwithprefix 
include -DKBUILD_BASENAME=fork  -c -o fork.o fork.c
fork.c:44: error: conflicting types for 'add_wait_queue'
/usr/src/linux-2.4.26/include/linux/sched.h:815: error: previous declaration 
of 'add_wait_queue' was here
fork.c:44: error: conflicting types for 'add_wait_queue'
/usr/src/linux-2.4.26/include/linux/sched.h:815: error: previous declaration 
of 'add_wait_queue' was here
fork.c:54: error: conflicting types for 'add_wait_queue_exclusive'
/usr/src/linux-2.4.26/include/linux/sched.h:816: error: previous declaration 
of 'add_wait_queue_exclusive' was here
fork.c:54: error: conflicting types for 'add_wait_queue_exclusive'
/usr/src/linux-2.4.26/include/linux/sched.h:816: error: previous declaration 
of 'add_wait_queue_exclusive' was here
fork.c:64: error: conflicting types for 'remove_wait_queue'
/usr/src/linux-2.4.26/include/linux/sched.h:817: error: previous declaration 
of 'remove_wait_queue' was here
fork.c:64: error: conflicting types for 'remove_wait_queue'
/usr/src/linux-2.4.26/include/linux/sched.h:817: error: previous declaration 
of 'remove_wait_queue' was here
fork.c:269: error: conflicting types for '__mmdrop'
/usr/src/linux-2.4.26/include/linux/sched.h:778: error: previous declaration 
of '__mmdrop' was here
fork.c:269: error: conflicting types for '__mmdrop'
/usr/src/linux-2.4.26/include/linux/sched.h:778: error: previous declaration 
of '__mmdrop' was here
make[2]: *** [fork.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.26/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/kernel'
make: *** [_dir_kernel] Error 2

I already searched the web and the mailing list, but nobody had similar 
problems. Can you please help me?

Thx



Reply to: