Kernel doesn't compile without CONFIG_INET (1.3.[35-42])

Oliver Lauer (oliver@lstm.uni-erlangen.de)
Mon, 20 Nov 1995 14:10:43 +0100 (MEZ)


Hi,

now the third try as the list had problems:
I am trying to compile the kernel without CONFIG_INET for my machine at home,
just to save the extra memory. The problem is that the kernel does not link,
telling:

loopback.o(.text+0xfc): undefined reference to `eth_type_trans'
loopback.o(.text+0x18d): undefined reference to `eth_header'
loopback.o(.text+0x1a7): undefined reference to `eth_rebuild_header'

I do not understand this behaviour, but it was reproducable with all the
mentioned kernels, as the 'undefined references' are defined within
net/ethernet/eth.c which is linked to the kernel via
net/ethernet/ethernet.o and net/network.a.

I know that it is recommended to define CONFIG_INET for some reasons, and if
I do that, the kernel compiles without any problem, but I wanted to mention
this behaviour, since I think it is a (small) bug.

Thank you for your help

Oliver

-- 
-----------------------------------------------------------------------------
| Oliver Lauer          | Tel: +49/9131/761-243      | Garbage looks good   |
| LSTM-Numerik          | Fax: +49/9131/761-242      |            in colour |
| Universitaet Erlangen |                            |                      |
| Cauerstr. 4           | Email:                     | Garbage looks better |
| D-91058 Erlangen      | lauer@lstm.uni-erlangen.de |             in video |
------------- FATAL ERROR: COFFEE NOT FOUND --- SYSTEM HALTED ---------------

A train station is a station where a train stops. But what the hell is a workstation? aus: de.talk.jokes