Sean Benton wrote:
> Hi im just updating a few things and i seem to be having a problem
> installing the ppp-2.3.5 after things have been setup so to speak i go
> to the /usr/src/linux directory and do " make modules " this is how it
> goes , maybe ive still to update some other relitive package so that it
>
> opperates ? any help would be great
>
> 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 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS
> -include /usr/src/linux/include/linux/modversions.h -DEXPORT_SYMTAB -c
> ppp.c
> ppp.c: In function `ppp_dev_xmit':
> ppp.c:3104: too few arguments to function `dev_kfree_skb_Rc36a7207'
> ppp.c:3115: too few arguments to function `dev_kfree_skb_Rc36a7207'
> ppp.c:3128: too few arguments to function `dev_kfree_skb_Rc36a7207'
> ppp.c:3169: too few arguments to function `dev_kfree_skb_Rc36a7207'
> ppp.c:3177: too few arguments to function `dev_kfree_skb_Rc36a7207'
> ppp.c:3182: too few arguments to function `dev_kfree_skb_Rc36a7207'
> make[2]: *** [ppp.o] Error 1
> make[2]: Leaving directory `/usr/src/linux/drivers/net'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/linux/drivers'
> Configuring a PPP link.
>
> thanks regards ,
> Sean
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to [EMAIL PROTECTED]
--------------------------------------------------
I picked-up the following from news:comp.os.linux.networking and it
worked for me
--------------------------------------------------
Borek Lupomesky wrote:
> On Tue, 28 Jul 1998, Thomas Gagne wrote:
>
> > I"m running 2.3.5 on 2.0.34 and everything is fine as long as youe
*DON'T*
> > "make kernel". If you do, ppp.c won't compile, objects undeclared,
things
> > won't link, the fabric of the cosmos decompiles... but, I digress...
>
> Have you also installed the kernel part of pppd 2.3.5? I guess you
> have. You have to go to drivers/net/ppp.c and change line 3079 to:
>
> #if LINUX_VERSION_CODE >= VERSION(2,1,86)
>
> (Means to change the relational operator from < to >= IIRC). Then
> everything should be ok again.
>
> Bye Borek
>
> --
>
> =====================================================================
> BOREK LUPOMESKY, network administrator University of J. E. Purkyne
> WWW: http://www.ujep.cz/~lupomesk/ Ceske mladeze 8
> IRCnet: Borek @ #usti Usti nad Labem, 40096
> talk: [EMAIL PROTECTED] The Czech Republic
> PGP keyid: 9DD1C54D ICQ: 10139578 tel: +420-602-376368
> ==========[ MIME/ISO-8859-2 & PGP encrypted mail welcome ]===========
Another change needs to be made for ppp 2.3.5 installation on RedHat 5.1.
(or at least I had to make it) . I had to add the line "#include
<asm/types.h>" to
<INSTALL_DIR>/ppp-2.3.5/pppd/sys-linux.c, newline # 43
and
<INSTALL_DIR>/ppp-2.3.5/pppstats/pppstats.c, newline # 50
otherwise I got compile errors related to undefined types (e.g. __u32 )
bye
J. Patrick Graves
-- Doug VanLeuven - [EMAIL PROTECTED] , [EMAIL PROTECTED]
707-545-6933 (voice)
707-545-6945 (fax)
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]