Hi, I am doing my initial setup of PPP. I have a fresh RedHat 5.2 install,
and I've done a complete 'make xconfig' and compile of the kernel with the
Redhat included PPP code. No problems compiling that, or getting my
Qmail/IP Aliasing/NNTP/DNS etc all setup. This is not my first Linux box
install, though I am no expert admittedly.
I am trying to recompile the kernel with the PPP 2.3.4. I run the
'./configure' in my ./ppp-2.3.4 dir (after tar -x it) and have the sym
links made to the appropriate ./linux/<appropriate_files> Good so far.
Next I do the 'make kernel' in the ./ppp-2.3.4 dir and get the standard
'Installing new /usr/src/linux/include/linux/<files> and
/usr/src/linux/drivers/net/<files> and all appears well. 'Kernel Driver
Files Installation Done'
Compiling the kernel: Now, I simply do a new 'make dep' and 'make zImage'
and I get the following errors when it gets to the ppp code (note, in the
'make xconfig' menu, if I turn off PPP support, I compile the kernel fine.
Also, I can compile the PPP support as a modele - which I will simply do
and use if I can't figure out why I can't compile the new PPP into the
kernel itself). See the exact output text and errors I get during my 'make
zImage' below.
I appreciate any help anyone may have. I hope this is just a simple change
on my part to get it working.
Thanks in advance,
Brian
MIS Newtek/Asset Factory
############################################################################
############
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2
-malign-jumps=2 -gn-functions=2 -DCPU=686 -DMODVERSIONS -DEXPORT_SYMTAB -c
ppp.c
ppp.c: In function `ppp_init_ctrl_blk':
ppp.c:465: structure has no member named `ddinfo'
ppp.c:466: structure has no member named `ddinfo'
ppp.c: In function `ppp_changedmtu':
ppp.c:585: cannot convert to a pointer type
ppp.c: In function `ppp_release':
ppp.c:700: cannot convert to a pointer type
ppp.c: In function `ppp_tty_close_local':
ppp.c:761: cannot convert to a pointer type
ppp.c: In function `ppp_tty_open':
ppp.c:792: cannot convert to a pointer type
ppp.c:838: cannot convert to a pointer type
ppp.c:856: cannot convert to a pointer type
ppp.c: In function `ppp_tty_wakeup_code':
ppp.c:925: cannot convert to a pointer type
ppp.c:927: cannot convert to a pointer type
ppp.c: In function `ppp_rcv_rx':
ppp.c:1208: cannot convert to a pointer type
ppp.c:1214: cannot convert to a pointer type
ppp.c:1222: structure has no member named `ddinfo'
ppp.c: In function `rcv_proto_ip':
ppp.c:1234: cannot convert to a pointer type
ppp.c: In function `rcv_proto_ipx':
ppp.c:1247: cannot convert to a pointer type
ppp.c: In function `ppp_proto_ccp':
ppp.c:1422: cannot convert to a pointer type
ppp.c:1438: cannot convert to a pointer type
ppp.c: In function `ppp_doframe':
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:2225: 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
ppp.c: In function `ppp_dev_xmit_ipx':
ppp.c:3013: cannot convert to a pointer type
ppp.c:3015: cannot convert to a pointer type
ppp.c: In function `ppp_dev_xmit':
ppp.c:3124: structure has no member named `ddinfo'
ppp.c: In function `ppp_alloc':
ppp.c:3250: incompatible types in assignment
make[3]: *** [ppp.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/net'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [linuxsubdirs] Error 2
############################################################################
############
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]