I have just performed a fresh SuSE 7.0 install using the suggested defaults for my system, and wanted to confirm that the kernel source that I have in /usr/src/linux really does correspond to what I am running. Consequently I tried following the instructions on page 379 of the handbook to recompile without any change to the configuration. That is, I logged in as 'root' on the console, cd /usr/src/linux make dep make clean make bzImage but unfortunately the last line produces the messages below. Anyone have any idea what has gone wrong? As I havn't changed anything yet, I would have thought this should have worked.. :-/ Presumably my use of an Intel 440GX motherboard with 2 CPUs has resulted in a less well tested configuration... gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o init/main.o init/main.c In file included from /usr/src/linux/include/linux/smp.h:11, from /usr/src/linux/include/linux/sched.h:20, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/malloc.h:4, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/asm/smp.h: In function `hard_smp_processor_id': /usr/src/linux/include/asm/smp.h:209: warning: implicit declaration of function `GET_APIC_ID' /usr/src/linux/include/asm/smp.h:209: `APIC_BASE' undeclared (first use in this function) /usr/src/linux/include/asm/smp.h:209: (Each undeclared identifier is reported only once /usr/src/linux/include/asm/smp.h:209: for each function it appears in.) /usr/src/linux/include/asm/smp.h:209: `APIC_ID' undeclared (first use in this function) make: *** [init/main.o] Error 1 -- Digby R. S. Tarvin digbyt@acm.org http://www.cthulhu.dircon.co.uk
* Digby Tarvin <digbyt@acm.org> [Jun 05. 2001 11:28]:
I have just performed a fresh SuSE 7.0 install using the suggested defaults for my system, and wanted to confirm that the kernel source that I have in /usr/src/linux really does correspond to what I am running.
Consequently I tried following the instructions on page 379 of the handbook to recompile without any change to the configuration.
That is, I logged in as 'root' on the console, cd /usr/src/linux make dep make clean make bzImage but unfortunately the last line produces the messages below. Anyone have any idea what has gone wrong? As I havn't changed anything yet, I would have thought this should have worked.. :-/
Presumably my use of an Intel 440GX motherboard with 2 CPUs has resulted in a less well tested configuration...
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o init/main.o init/main.c In file included from /usr/src/linux/include/linux/smp.h:11, from /usr/src/linux/include/linux/sched.h:20, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/malloc.h:4, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/asm/smp.h: In function `hard_smp_processor_id': /usr/src/linux/include/asm/smp.h:209: warning: implicit declaration of function `GET_APIC_ID' /usr/src/linux/include/asm/smp.h:209: `APIC_BASE' undeclared (first use in this function) /usr/src/linux/include/asm/smp.h:209: (Each undeclared identifier is reported only once /usr/src/linux/include/asm/smp.h:209: for each function it appears in.) /usr/src/linux/include/asm/smp.h:209: `APIC_ID' undeclared (first use in this function) make: *** [init/main.o] Error 1
It seems as if the configuration is not up-to-date. Do a gzip -cd /proc/config.gz > /usr/src/linux/.config to be sure. -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.
participants (2)
-
Digby Tarvin
-
Mads Martin Jørgensen