swingarm l33t
Joined: 08 Jun 2002 Posts: 627 Location: Northern Colorado
|
Posted: Sat Oct 05, 2002 5:12 am Post subject: Problems compiling the jp14 patch.. |
|
|
I'm trying to apply the jp14 patch to my 2.4.19 gentoo-sources kernel by following the directions here but when I got to compile my kernel after doing the make menuconfig I keep getting this error:
Code: |
make[1]: Leaving directory `/usr/src/linux-jp/Documentation/DocBook'
gcc -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include include/linux/autoconf.h include/config
make: Circular /usr/src/linux-jp/include/linux/bitops.h <- /usr/src/linux-jp/include/asm/bitops.h dependency dropped.
gcc -D__KERNEL__ -I/usr/src/linux-jp/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
. scripts/mkversion > .tmpversion
gcc -D__KERNEL__ -I/usr/src/linux-jp/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DUTS_MACHINE='"i386"' -DKBUILD_BASENAME=version -c -o init/version.o init/version.c
gcc -D__KERNEL__ -I/usr/src/linux-jp/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=do_mounts -c -o init/do_mounts.o init/do_mounts.c
make CFLAGS="-D__KERNEL__ -I/usr/src/linux-jp/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 " -C kernel
make[1]: Entering directory `/usr/src/linux-jp/kernel'
make all_targets
make[2]: Entering directory `/usr/src/linux-jp/kernel'
make[2]: Circular /usr/src/linux-jp/include/linux/bitops.h <- /usr/src/linux-jp/include/asm/bitops.h dependency dropped.
gcc -D__KERNEL__ -I/usr/src/linux-jp/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -I /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/include -DKBUILD_BASENAME=sched -fno-omit-frame-pointer -c -o sched.o sched.c
sched.c:1115: redefinition of `set_user_nice'
sched.c:1080: `set_user_nice' previously defined here
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-jp/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-jp/kernel'
make: *** [_dir_kernel] Error 2
MyGentoo linux #
|
At first I just applied the supermount patches with no luck and then I tried all the patches(except for the Alsa and ACPI ones menetioned in the above link). I applied them all in numerical order. The reason I'm going thru all this trouble is for the supermount.
Kent |
|