pppd 2.3.4 compile error

pppd 2.3.4 compile error

Post by Tom Perkin » Thu, 11 Jun 1998 04:00:00



On step 3 of the README.linux for pppd 2.3.4 (build kernel) I recv'd
these errors:

gcc -D__KERNEL__ -I/usr/src/linux-2.0.30/include ...
ppp.c: In function
`ppp_dev_xmit':                                                                                                  
ppp.c:3104: too few arguments to function
`dev_kfree_skb'                                                                          
ppp.c:3115: too few arguments to function
`dev_kfree_skb'                                                                          
ppp.c:3128: too few arguments to function
`dev_kfree_skb'                                                                          
ppp.c:3169: too few arguments to function
`dev_kfree_skb'                                                                          
ppp.c:3177: too few arguments to function
`dev_kfree_skb'                                                                          
ppp.c:3182: too few arguments to function
`dev_kfree_skb'                                                                          
make[3]: *** [ppp.o] Error
1                                                                                                        
...

Any fixes, clues or suggestions?

Thanks

Tom

 
 
 

pppd 2.3.4 compile error

Post by Kenneth Mai » Sun, 14 Jun 1998 04:00:00



> On step 3 of the README.linux for pppd 2.3.4 (build kernel) I recv'd
> these errors:

> gcc -D__KERNEL__ -I/usr/src/linux-2.0.30/include ...
> ppp.c: In function
> `ppp_dev_xmit':                                                                                                  
> ppp.c:3104: too few arguments to function
> `dev_kfree_skb'                                                                          
> ppp.c:3115: too few arguments to function
> `dev_kfree_skb'                                                                          
> ppp.c:3128: too few arguments to function
> `dev_kfree_skb'                                                                          
> ppp.c:3169: too few arguments to function
> `dev_kfree_skb'                                                                          
> ppp.c:3177: too few arguments to function
> `dev_kfree_skb'                                                                          
> ppp.c:3182: too few arguments to function
> `dev_kfree_skb'                                                                          
> make[3]: *** [ppp.o] Error
> 1                                                                                                        
> ...

> Any fixes, clues or suggestions?

> Thanks

> Tom

In ppp-2.3.4/linux/ppp.c change line 3079 from

#if LINUX_VERSION_CODE < VERSION(2,1,86)

to

#if LINUX_VERSION_CODE > VERSION(2,1,86)

--
 #_#   -------------------------------------------------

 \ /   -------------------------------------------------
 -*-   'Do what thou wilt shall be the whole of the Law'

 
 
 

pppd 2.3.4 compile error

Post by John Bud » Tue, 16 Jun 1998 04:00:00


Quote:

> In ppp-2.3.4/linux/ppp.c change line 3079 from

> #if LINUX_VERSION_CODE < VERSION(2,1,86)

> to

> #if LINUX_VERSION_CODE > VERSION(2,1,86)

> --

I have followed these recommendations and the kernel compiles
successfully however pppd 2.3.*  does not function.  It will sigin on to
the ISP but no data will  transfer and no remote message comes thru with
the dynamic ip, the script then dies.  If I use pppd 2.2 at least I can
successfully establish the link only no demand dialling which is what I
am seeking.  Any ideas or suggestions?  JJB
 
 
 

pppd 2.3.4 compile error

Post by Tom Perkin » Tue, 16 Jun 1998 04:00:00


I changed it this way:

if LINUX_VERSION_CODE < VERSION(2,1,86)

to

#if LINUX_VERSION_CODE < VERSION(2,1,86)
if LINUX_VERSION_CODE < VERSION(2,0,30)

NOTE: No # on the modified line.

Tom


> > In ppp-2.3.4/linux/ppp.c change line 3079 from

> > #if LINUX_VERSION_CODE < VERSION(2,1,86)

> > to

> > #if LINUX_VERSION_CODE > VERSION(2,1,86)

> > --

> I have followed these recommendations and the kernel compiles
> successfully however pppd 2.3.*  does not function.  It will sigin on to
> the ISP but no data will  transfer and no remote message comes thru with
> the dynamic ip, the script then dies.  If I use pppd 2.2 at least I can
> successfully establish the link only no demand dialling which is what I
> am seeking.  Any ideas or suggestions?  JJB

 
 
 

pppd 2.3.4 compile error

Post by Kevin Mart » Tue, 16 Jun 1998 04:00:00



Quote:

>> In ppp-2.3.4/linux/ppp.c change line 3079 from

>> #if LINUX_VERSION_CODE < VERSION(2,1,86)
>> to
>> #if LINUX_VERSION_CODE > VERSION(2,1,86)
>> --

>I have followed these recommendations and the kernel compiles
>successfully however pppd 2.3.*  does not function.

It does here, after patching that broken bit above.  Some of the setup files
may not be in the same place (do you have a "peers" directory under
/etc/ppp, for example?).

Quote:>the ISP but no data will  transfer and no remote message comes thru with
>the dynamic ip, the script then dies.  If I use pppd 2.2 at least I can
>successfully establish the link only no demand dialling which is what I
>am seeking.  Any ideas or suggestions?

Well, I wouldn't assume that 2.3.x is a drop-in replacement for 2.2.x.  Look
at your 2.2.x script, of course, but try writing a new one *based* on the
old one, but following the current docs, and be sure it's installed where
the new pppd expects to find it.
 
 
 

1. pppd 2.3.3 compile error using HAS_SHADOW=1

I am tring to compile pppd 2.3.3 using shadow passwords but it aborts
with an error message. I am not an expert so could someone help me
with my problem?

I am running Slackware 3.4 and a kernel of 2.0.33

Thanks

Dan

If you decide to emal me, remove the X in front of starboard.

# make HAS_SHADOW=1 USE_MS_DNS=1

cd chat; make  all
make[1]: Entering directory `/usr/src/ppp-2.3.3/chat'
cc -c -O2 -pipe -DTERMIOS                        -DSIGTYPE=void
-UNO_SLEEP                     -DFNDELAY=O_NDELAY               -o
chat.o chat.c
cc -s -O2 -o chat chat.o
make[1]: Leaving directory `/usr/src/ppp-2.3.3/chat'
cd pppd; make  all
make[1]: Entering directory `/usr/src/ppp-2.3.3/pppd'
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
main.c -o main.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
magic.c -o magic.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
fsm.c -o fsm.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
lcp.c -o lcp.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
ipcp.c -o ipcp.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
upap.c -o upap.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
chap.c -o chap.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
md5.c -o md5.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
ccp.c -o ccp.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
auth.c -o auth.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
options.c -o options.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
demand.c -o demand.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
sys-linux.c -o sys-linux.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW   -c
ipxcp.c -o ipxcp.o
cc -O2  -D_linux_=1 -DHAVE_PATHS_H -DIPX_CHANGE  -DHAS_SHADOW -o pppd
main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o auth.o
options.o demand.o sys-linux.o ipxcp.o -lshadow
auth.o: In function `plogin':
auth.o(.text+0xb89): undefined reference to `isexpired'
make[1]: *** [pppd] Error 1
make[1]: Leaving directory `/usr/src/ppp-2.3.3/pppd'
make: *** [all] Error 2
Dan
--

Dan
--

2. sendmail (smtp) problem

3. pppd 2.3.5 compile error under RH5.1

4. The Key To Organizing Your Health Records

5. pppd 2.3.3 compile error using HAS_SHADOW=1

6. password length, forcing change, crackability

7. Compiling pppd with cbcp (was Re: can't compile pppd)

8. libc5 with Red Hat 5.1?

9. OpenSuse 11.1 Kinternet error: "pppd[0] died: pppd options error (exit code 2)

10. strange compile error with pppd

11. PPPD Compile errors

12. pppd - need help compiling pppd 2.2.0f

13. Pppd compile errors