Re: Vanilla 2.0.33 compiler error (.config incriminated)

Lorens Kockum (lk-lk@bigears.solsoft.com)
17 Apr 1998 14:23:44 -0000


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

In linux-kernel (hmm, maybe in private mail, but I don't think
he'll mind) jojo wrote:

>try make oldconfig; make dep ... instead of interrupting make menuconfig.

Well, not interrupting, that _would_ be counterproductive. But I
was not aware of `make oldconfig', that takes care of the only
human non-"cut&pasteable" element of my compilation. Thank you
(I spent a few minutes looking at the configure script, but
decided against modifications).

What I do, then, without any cuts, is:

sysop@bigears:/usr/src$ l linux/
total 2
drwxr-x--- 2 sysop sysop 1024 Apr 17 15:59 ./
drwxrwsr-x 11 root src 1024 Mar 31 12:59 ../
sysop@bigears:/usr/src$ tar xzf /usr/local/downloads/linux-2.0.33.tar.gz
tar: Could not create directory linux: Permission denied
sysop@bigears:/usr/src$ du -Ds linux/
26087 linux
sysop@bigears:/usr/src$ cd linux/
sysop@bigears:/usr/src/linux$ cp ~/myconfig .config
sysop@bigears:/usr/src/linux$ make oldconfig > /dev/null
sysop@bigears:/usr/src/linux$ make dep > /dev/null
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
sysop@bigears:/usr/src/linux$ make clean > /dev/null
sysop@bigears:/usr/src/linux$ make zImage > /dev/null
sysop@bigears:/usr/src/linux$ ls -ld /usr/include/asm /usr/include/linux /usr/include/scsi
lrwxrwxrwx 1 root root 31 Apr 17 10:45 /usr/include/asm -> /usr/src/linux/include/asm-i386
lrwxrwxrwx 1 root root 28 Apr 17 10:45 /usr/include/linux -> /usr/src/linux/include/linux
lrwxrwxrwx 1 root root 27 Apr 17 10:45 /usr/include/scsi -> /usr/src/linux/include/scsi
sysop@bigears:/usr/src/linux$ make zImage > /dev/null
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
sysop@bigears:/usr/src/linux$

I produce a kernel normally when I use the default .config file.

>> My config file is on an extremely slow server at
>> <URL:http://web.efrei.fr/~kockum/vrac/bad_linux_dot-config>
>Didn'tfind anything unusual there

It was generated by menuconfig, I haven't changed it. I think
that the unusual combinations of #defines make a problem in the
kernel source appear. How many among you have tried to compile
an a.out 2.0.33 kernel with no IDE and no MS-DOS support? I feel
sure it's something like that. Can there be another explanation?

I forgot:
sysop@bigears:/usr/src/linux$ gcc --version
2.7.2.1

The system is a more or less standard Debian `bo' (libc 5).

Thank you for any help (and please do cc: me on your replies).

-- 
#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