[WOLK-devel] Compile Errors with 4.3s
Brought to you by:
hight0wer
|
From: Sony P. <so...@ex...> - 2003-07-15 11:06:05
|
Hello all, Im getting a couple of errors when I compiled 4.3s. My config is attached. OS --- Red Hat Linux 8.0 GCC Version ------------ gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7) Processor ----------- Pentium-4 2GHz Patches Used ------------ linux-2.4.20-wolk4.0s.patch.bz2 13-May-2003 09:27 8.6M linux-2.4.20-wolk4.0s-to-4.1s.patch.bz2 19-May-2003 04:13 38K linux-2.4.20-wolk4.1s-to-4.2s.patch.bz2 05-Jun-2003 14:37 200K linux-2.4.20-wolk4.2s-to-4.3s.patch.bz2 03-Jul-2003 12:48 37K ################## 1st Compile Error ################## This is the very first compile error I got. gcc -D__KERNEL__ -I/home/jabba/wolk/src/linux-2.4.20-wolk4.3s-mod/include -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wno-unused -finline-limit=2000 -O2 -pipe -mpreferred-stack-boundary=2 -march=pentium4 -mmmx -msse -msse2 -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args -nostdinc -iwithprefix include -DKBUILD_BASENAME=filter -c -o filter.o filter.c gcc -D__KERNEL__ -I/home/jabba/wolk/src/linux-2.4.20-wolk4.3s-mod/include -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wno-unused -finline-limit=2000 -O2 -pipe -mpreferred-stack-boundary=2 -march=pentium4 -mmmx -msse -msse2 -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args -nostdinc -iwithprefix include -DKBUILD_BASENAME=dev -c -o dev.o dev.c In file included from dev.c:96: /home/jabba/wolk/src/linux-2.4.20-wolk4.3s-mod/include/net/pkt_sched.h:289:2: #error PSCHED_CLOCK_SOURCE=PSCHED_CPU is not supported on this arch. dev.c: In function `netdev_event': dev.c:665: warning: concatenation of string literals with __FUNCTION__ is deprecated make[3]: *** [dev.o] Error 1 make[3]: Leaving directory `/home/jabba/wolk/src/linux-2.4.20-wolk4.3s-mod/net/core' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/home/jabba/wolk/src/linux-2.4.20-wolk4.3s-mod/net/core' make[1]: *** [_subdir_core] Error 2 make[1]: Leaving directory `/home/jabba/wolk/src/linux-2.4.20-wolk4.3s-mod/net' make: *** [_dir_net] Error 2 I found the problem for this and made the patch(attached) for it, so I guess its fixed. Hopefully. :-) ------------------------------------------------------------------------------------------------------- ################### 2nd Compile Error ################### gcc -D__KERNEL__ -I/home/jabba/wolk/src/linux-2.4.20-wolk4.3s-mod/include -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wno-unused -finline-limit=2000 -O2 -pipe -mpreferred-stack-boundary=2 -march=pentium4 -mmmx -msse -msse2 -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args -nostdinc -iwithprefix include -DKBUILD_BASENAME=setup -c -o setup.o setup.c setup.c:358: warning: function declaration isn't a prototype setup.c: In function `parse_cmdline_early': setup.c:859: warning: implicit declaration of function `enable_apic_up_setup' setup.c: In function `identify_cpu': setup.c:3002: warning: long unsigned int format, unsigned int arg (arg 3) setup.c:3002: warning: long unsigned int format, unsigned int arg (arg 4) setup.c:3002: warning: long unsigned int format, unsigned int arg (arg 5) setup.c:3002: warning: long unsigned int format, unsigned int arg (arg 6) gcc -D__KERNEL__ -I/home/jabba/wolk/src/linux-2.4.20-wolk4.3s-mod/include -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wno-unused -finline-limit=2000 -O2 -pipe -mpreferred-stack-boundary=2 -march=pentium4 -mmmx -msse -msse2 -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args -nostdinc -iwithprefix include -DKBUILD_BASENAME=time -DEXPORT_SYMTAB -c time.c time.c: In function `cyclone_setup': time.c:140: warning: assignment of read-only variable `use_cyclone' time.c: In function `init_cyclone_clock': time.c:212: warning: assignment of read-only variable `use_cyclone' time.c:218: warning: assignment of read-only variable `use_cyclone' time.c:229: warning: assignment of read-only variable `use_cyclone' time.c:241: warning: assignment of read-only variable `use_cyclone' time.c:253: warning: assignment of read-only variable `use_cyclone' time.c:265: warning: assignment of read-only variable `use_cyclone' time.c:270: `do_gettimeoffset' undeclared (first use in this function) time.c:270: (Each undeclared identifier is reported only once time.c:270: for each function it appears in.) time.c: At top level: time.c:435: `do_gettimeoffset' used prior to declaration make[1]: *** [time.o] Error 1 make[1]: Leaving directory `/home/jabba/wolk/src/linux-2.4.20-wolk4.3s-mod/arch/i386/kernel' make: *** [_dir_arch/i386/kernel] Error 2 [*] IBM x440 Gettimeofday Cyclone Timer support CONFIG_X86_CYCLONE=y I dont know how to fix this one. -------------------------------- Any other info required? -- Sony |