[ale] Kernel compile problem

Brad Sawyer bsawyer at sat.sita.int
Thu Jan 7 13:33:57 EST 1999


Hello ALE,

    Thanks for the help with my last question regarding Slackware
pkgtool/setup of Xwindow. It worked.

     Noticed advice "Have you tried the latest version?" seems to solve many
problems, so I downloaded 2.0.36, tar'd, and built new kernel with my
netcard and mcdx cdrom built it.  CDROM works, fast ethernet works!  It
worked, so I tried to move on to the next step of ppp setup, ISP connect,
and IP Masq.  I wasted many hours on the learning curve trying to setup
PPP2.2.0f  which came in with my slack 3.2

    I thought "the kernel upgrade worked nicely, why don't I try to upgrade
PPP".  That's where my problem starts.  Downloaded PPP2.3.4 and tried to
compile but when the compile started to work on ppp.c, it went downhill.
Tried PPP2.3.5 with same results.  I am using gcc2.7.2.1

downloaded 2.3.5, tar'd into /usr/src/ppp-2.3.5/...
cd /usr/src/ppp-2.3.5
./configure           (which I think makes the links to linux makefiles)
make kernel          (to install the include files into the kernel source)
cd /usr/src/linux
make config   tried to include all options according to man pages, etc
make dep ; make clean ; make zImage

after 10-15 mins of compiling on 486/100 it comes to ppp.c and this shows
up:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -o2 -fom
it-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o vt.0 vt.c
(looks to me like the last good line)

ppp.c: 1635 'DECOMP_OK' undeclared (first use this function)
ppp.c  1635 (each undeclared identifier is reported only once
ppp.c 1635  for each function it appears in. )
ppp.c            in function 'ppp_set_compression' :
ppp.c 2203  cannot convert to a pointer type
ppp.c 2215  cannot convert to a pointer type
ppp.c 2222  cannot convert to a pointer type
ppp.c             in function 'ppp_tty_ioctl' :
ppp.c 2270  cannot convert to a pointer type
ppp.c 2370  cannot convert to a pointer type
ppp.c 2374  cannot convert to a pointer type
ppp.c 2420  structure has no member named 'ddinfo'
ppp.c 2421  structure has no member named 'ddinfo'
ppp.c             in function 'ppp_dev_xmit_ip' :
ppp.c 2925  cannot convert to a pointer type
ppp.c 2927  cannot convert to a pointer type
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -o2 -fom
it-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o defkemap.0
defkemap.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -o2 -fom
it-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o lp.0 lp.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -o2 -fom
it-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o vga.0
vga.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -o2 -fom
it-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o
vesa_blank.0 vesa_blank.c
rm -f char.a
ar rcs char.a serial.o tty_io.o n_tty.o console.o tty_ioctl.o pty.o vt.o
mem.o vc_screen.o random.o consolemap.o .....etc
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -o2 -fom
it-frame-pointer -fno-strength-reduce -pipe -m486 -DCPU=486 -c -o ppp.0
ppp.c


Wala! no new zImage... 8(

The above may have typo errors, but essentially I think I included the
useful info.  Does this look familiar to anyone?  Can you point me in the
right direction?  Is more info needed?  Thanks in advance!

Brad






More information about the Ale mailing list