Hi,

This is a well known problem with Redhat.  I ran into this problem last
week and the guys on the list here we're nice enough to send me some urls
explaining how to fix it.  I guess its my turn.  You can fix it by going
into /usr/src/linux/drivers/net/ppp.c and changing the line that says:
==FILEVERSION 98XXXX== so that the date is really old like 950113 and then
rerun the make kernel.  Now the ppp.c that comes with PPP will be
installed.

Redhat, Inc. made a new version of ppp.c so the make kernel doesn't
replace it - you have to trick it into replacing it.

I ran into a couple of other problems which I found the solution for here:

http://www.tartu.customs.ee/linux/index.shtml

Actually, I think I ended up putting in the patched ppp.c manually from
the site above.  The location of the fixed ppp.c is here:

http://www.tartu.customs.ee/linux/patches/ppp-fixed.c.gz

You will need to ungzip it and rename it of course.  Some other problems I
ran into were neglecting to add a group "modem" to the /etc/group file and
I also needed to turn on ipforwarding by doing the following:

set FORWARD_IPV4=yes in /etc/sysconfig/network

Good luck.

        -Jon




On Wed, 20 Jan 1999, Brian D. Kohl wrote:

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

---
Internection         |  Jonathan Foa August   |    ICQ: 5654750
(973) 560-9095       |  [EMAIL PROTECTED]  |    Rensselaer 1996
              Electronic Commerce and Web Solutions 






-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to