Vanilla 2.0.33 compiler error (.config incriminated)

Lorens Kockum (lk-lk@bigears.solsoft.com)
Fri, 17 Apr 1998 15:02:57 +0200


/* Please reply personally to me as I (against my will) do not */
/* receive this list any more */

I wish to compile a new 2.0.33 kernel with custom options. The
behaviour below appears both for 2.0.32 and for 2.0.33. I use
a clean[1] source tree downloaded from ftp.kernel.org. I have
not forgotten the symlinks from /usr/include as described in the
kernel README (and my first kernel compile was 1.0.9, so I hope
I'm immune from that sort of problem ;-))

[1] and by clean I mean (rm -rf ; tar xzf) before each test

I copy my config file to .config and run make menuconfig, exiting
immediately so that /usr/src/linux/include/linux/autoconf.h gets
made correctly.

I run make dep ; make clean ; make zImage.

The compile ends up like this:

gcc -I/usr/src/kernel-source-2.0.33/include -O2 -DSTDC_HEADERS -o piggyback piggyback.c
./xtract /usr/src/kernel-source-2.0.33/vmlinux | gzip -9 | ./piggyback > piggy.o
Non-GCC header of 'system'
Compressed size 20.
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.0.33/include -traditional -c head.S
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.0.33/include -O2 -DSTDC_HEADERS -c misc.c -o misc.o
ld -qmagic -Ttext 0xfe0 -o vmlinux head.o misc.o piggy.o
ld: warning: cannot find entry symbol _start; defaulting to 00000fe0
misc.o: In function `fill_inbuf':
misc.o(.text+0x1ebc): undefined reference to `input_data'
misc.o(.text+0x1ec1): undefined reference to `input_len'
misc.o(.text+0x1ed7): undefined reference to `input_data'
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.0.33/arch/i386/boot/compressed'
make[1]: *** [compressed/vmlinux] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.0.33/arch/i386/boot'
make: *** [zImage] Error 2
sysop@bigears:/usr/src/linux$

Taking only the stderr, from the whole process, gives:

panic.c needs config but has not included config file
random.c needs config but has not included config file
scc.c needs config but has not included config file
specialix.c needs config but has not included config file
3c59x.c doesn't need config
eepro100.c doesn't need config
isdn_syms.c doesn't need config
capiutil.c needs config but has not included config file
filemap.c needs config but has not included config file
ip_masq_quake.c doesn't need config
ptrace.c needs config but has not included config file
ld: warning: cannot find entry symbol _start; defaulting to 000fffe0
Non-GCC header of 'system'
Compressed size 20.
ld: warning: cannot find entry symbol _start; defaulting to 00000fe0
misc.o: In function `fill_inbuf':
misc.o(.text+0x1ebc): undefined reference to `input_data'
misc.o(.text+0x1ec1): undefined reference to `input_len'
misc.o(.text+0x1ed7): undefined reference to `input_data'
make[2]: *** [vmlinux] Error 1
make[1]: *** [compressed/vmlinux] Error 2
make: *** [zImage] Error 2

If I use the default config file, everything works correctly
(except that my kernel does not fit my needs, of course ;-))

I realize that my config file is a bit extreme, but I don't want
to have to put in everything just to get it to compile, so since
I'm incapable of debugging at #define level, if someone could
have a look and tell me what I should change in my config file,
it would be very kind :-)

My config file is on an extremely slow server at
<URL:http://web.efrei.fr/~kockum/vrac/bad_linux_dot-config>
(or by mail, if someone wants it that way).

/* Please reply personally to me as I (against my will) do not */
/* receive this list any more */

-- 
#include <std_disclaim.h>                           Lorens Kockum

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu