Problems while compiling kernel 1.1.93 und 1.1.94

Problems while compiling kernel 1.1.93 und 1.1.94

Post by Oliver Andri » Wed, 01 Mar 1995 04:25:16



Hello everybody!

Ok, here I am back again. A few days ago I posted, that I have problems
compiling Kernel 1.1.93. Today I tried to compile 1.1.94 on my machine and I
got the same error again.

I am using gcc 2.5.8 and libs 4.5.26 (the standard in Slackware 2.0.1 and
2.1.0), I don't have any networking hardware installed and so I think I have to
include networking support (CONFIG_NET=y) in the Kernel but I needn't have to
include TCP/IP support or so (CONFIG_INET is not set ; CONFIG_IPX is not set).

This worked fine until I tried to compile Kernel 1.1.93, afterwards I am unable
to compile a kernel without TCP/IP. The fun is that I have had the same
problems some 20 or 30 patches ago and suddenly it was fixed.

BTW this error I get. What do you out there think is my problem?

gcc -D__KERNEL__ -I/root/linux/include -Wall -Wstrict-prototypes -O2 -fomit-
frame-pointer -pipe -m486  -c -o init/main.o init/main.c
dnsdomainname: Host name lookup failure
gcc -D__KERNEL__ -I/root/linux/include -Wall -Wstrict-prototypes -O2 -fomit-
frame-pointer -pipe -m486 -DUTS_MACHINE='"i386"' -c -o init/version.o
init/version.cset -e; for i in kernel drivers mm fs net ipc lib
arch/i386/kernel arch/i386/mm; do make -C $i; done
make[1]: Entering directory `/usr/src/linux/kernel'
gcc -D__KERNEL__ -I/root/linux/include -Wall -Wstrict-prototypes -O2 -fomit-
frame-pointer -pipe -m486 -c ksyms.c
ksyms.c:274: `register_netdevice_notifier' undeclared here (not in a function)
ksyms.c:274: initializer element for `symbol_table[126].addr' is not constant
ksyms.c:275: `unregister_netdevice_notifier' undeclared here (not in a
function)ksyms.c:275: initializer element for `symbol_table[127].addr' is not
constant
make[1]: *** [ksyms.o] Error 1
make[1]: Leaving directory `/usr/src/linux/kernel'
make: *** [linuxsubdirs] Error 2

See ya on the flipside,

  Oliver.

------------------------------------------------------------------------


------------------------------------------------------------------------

 
 
 

Problems while compiling kernel 1.1.93 und 1.1.94

Post by MORTIMER A. » Tue, 14 Mar 1995 01:21:33



Quote:>Hello everybody!

Hello.

Quote:>Ok, here I am back again. A few days ago I posted, that I have problems
>compiling Kernel 1.1.93. Today I tried to compile 1.1.94 on my machine and I
>got the same error again.
>I am using gcc 2.5.8 and libs 4.5.26 (the standard in Slackware 2.0.1 and
>2.1.0), I don't have any networking hardware installed and so I think I have to
>include networking support (CONFIG_NET=y) in the Kernel but I needn't have to
>include TCP/IP support or so (CONFIG_INET is not set ; CONFIG_IPX is not set).
>This worked fine until I tried to compile Kernel 1.1.93, afterwards I am unable
>to compile a kernel without TCP/IP. The fun is that I have had the same
>problems some 20 or 30 patches ago and suddenly it was fixed.
>BTW this error I get. What do you out there think is my problem?
>gcc -D__KERNEL__ -I/root/linux/include -Wall -Wstrict-prototypes -O2 -fomit-
>frame-pointer -pipe -m486  -c -o init/main.o init/main.c
>dnsdomainname: Host name lookup failure
>gcc -D__KERNEL__ -I/root/linux/include -Wall -Wstrict-prototypes -O2 -fomit-
>frame-pointer -pipe -m486 -DUTS_MACHINE='"i386"' -c -o init/version.o
>init/version.cset -e; for i in kernel drivers mm fs net ipc lib
>arch/i386/kernel arch/i386/mm; do make -C $i; done
>make[1]: Entering directory `/usr/src/linux/kernel'
>gcc -D__KERNEL__ -I/root/linux/include -Wall -Wstrict-prototypes -O2 -fomit-
>frame-pointer -pipe -m486 -c ksyms.c
>ksyms.c:274: `register_netdevice_notifier' undeclared here (not in a function)
>ksyms.c:274: initializer element for `symbol_table[126].addr' is not constant
>ksyms.c:275: `unregister_netdevice_notifier' undeclared here (not in a
>function)ksyms.c:275: initializer element for `symbol_table[127].addr' is not
>constant
>make[1]: *** [ksyms.o] Error 1
>make[1]: Leaving directory `/usr/src/linux/kernel'
>make: *** [linuxsubdirs] Error 2

Well, I got this error too, I think it was on 1.2.0, when I tried to leave out
most of the networking, but I'm not sure why. I'm in no respects a kernel
hack, but having a quick glance through it, ksyms.c appears to just be a list
of addresses, for something, which is different depending on your
configuration. Eventually, I just compiled mine without network support at
all, and it works fine as long as you don't want mail. If you do, you could
try commenting out the offending lines (that's what I'd do, at any rate, given
that I know nothing about what this file actually *does*...). Just MAKE SURE
YOU HAVE A BACKUP KERNEL YOU CAN BOOT FROM!

Quote:>See ya on the flipside,
>  Oliver.

Hope this helps.

-- Andy

 
 
 

1. Kernel change summary 1.1.93 -> 1.1.94

These changes are archived on ftp.emlist.com:pub/kchanges and
http://www.nvg.unit.no/linux-changes/index.html.  I cannot answer
questions about Linux -- I merely summarize the kernel patches after
reading them.  I try to make them useful to everyone, but kernel
hackers should take them with a grain of salt and read the patches
themselves.  I'm not going to bother summarizing the Sparc, m68k, and
Alpha architecture changes until the respective port is working.

More Alpha changes.
i386 threading changed to not clone.  Instead a different syscall is
        used to clone.
Ptrace, shared memory, and proc fs code added to look for the page
        middle.
Sony CDU-535 driver cleaned up.
Wavelan driver cleaned up, processor-independent delays added.
When shrinking filesystem buffers, we didn't look at enough buffers.
Add a new mount option for ISO9660 fs -- "unhide" hidden files.
Removed unnecessary free list handling in lock handler.
Added unsigned long casts to ntohl() and ntohs() (portability).
Swapping code changed.
Stop destroying dead sockets when we bind a new one.
Don't initialize the TCP retransmit timer twice.

Serial handler changes:
rely on the line dispcline to prevent echo wars.
IEXTEN does not need to be enabled in order for IXANY to be active.
Change the interrupt poll time from 60 seconds to 10 seconds,
        configurable with the #define RS_STROBE_TIME.
Add provisions for a new type of interrupt service routine, which
        better supports multiple serial ports on a single IRQ.  
Add support to detect the StarTech 16650 chip.  Treat it as a 16450
        for now, because of its FIFO bugs.
Support close_wait in the serial driver (see below).

Close wait:
This is helpful for slow devices (like serial
plotters) so that their outputs don't get flushed upon
device close.  This has to be configurable because
normally we don't want ports to be hung up for long
periods of time during a close when they are not
connected to a device, or the device is powered off.

The default is to wait 30 seconds; in the case of a
very slow device, the close_wait timeout should be
lengthed.  If it is set to 0, the kernel will wait
forever for all of the data to be transmitted.

--

Crynwr Software   | Crynwr Software sells packet driver support | ask4 PGP key
11 Grant St.      | +1 315 268 1925 (9201 FAX)  | What is thee doing about it?
Potsdam, NY 13676 | Capitalists try to avoid a free market.  Why might that be?

2. MTRR error in Dual CPU system.

3. Problem with 1.1.94 and 93

4. help with iptables

5. Problems with Kernel 1.1.93

6. Nagle Algorythme & ACE

7. J.P.Andersons email wanted

8. Dosemu will not compile (kernel 1.1.94)

9. WD 1.08 Gig, Kernel 1.1.93

10. Kernel change summary 1.1.92 -> 1.1.93

11. Compile problem Linux 1.1.94 (genksyms missing)