pppd - need help compiling pppd 2.2.0f

pppd - need help compiling pppd 2.2.0f

Post by Alex.Kouznetso » Tue, 23 Jul 1996 04:00:00



I've got pppd 2.2.0f and I can't compile it. So the question is what
version of gcc/cpp should I use? Maybe I have an old one (2.7.0). Kernel
2.0.3. Following is what I usually get compiling pppd:

In file included from main.c:43:
pppd.h:69: parse error before `netmask'
pppd.h:114: parse error before `GetMask'
In file included from main.c:44:
magic.h:23: parse error before `magic'
In file included from main.c:46:
lcp.h:58: parse error before `u_int32_t'
lcp.h:61: parse error before `lqr_period'
lcp.h:65: parse error before `lcp_wantoptions'
lcp.h:66: parse error before `lcp_gotoptions'
lcp.h:67: parse error before `lcp_allowoptions'
lcp.h:68: parse error before `lcp_hisoptions'
lcp.h:69: parse error before `xmit_accm'
In file included from main.c:47:
ipcp.h:55: parse error before `u_int32_t'
ipcp.h:62: parse error before `ipcp_wantoptions'
ipcp.h:63: parse error before `ipcp_gotoptions'
ipcp.h:64: parse error before `ipcp_allowoptions'
ipcp.h:65: parse error before `ipcp_hisoptions'
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/alex/ppp/pppd/ppp-2.2.0f/pppd'
make: *** [all] Error 2

Any help would be _very_ appreciated.

Alex

 
 
 

1. Need help making pppd 2.2.0f

Hi,

I've just spent an entire day trying to 'make' the ppp deamon (pppd2.2.0f),
but I keep getting errors like :

--- cut ---
In file included from sys-linux.c:71:
/usr/include/net/if_ppp.h:84: warning: no semicolon at end of struct or
union
/usr/include/net/if_ppp.h:84: parse error before '.'
/usr/include/net/if_ppp.h:86: parse error before '{'
/usr/include/net/if_ppp.h:89: warning: no semicolon at end of struct or
union
/usr/include/net/if_ppp.h:89: parse error before '.'
/usr/include/net/if_ppp.h:90: conflicting types for 'stats'
/usr/include/net/if_ppp.h:85: previous declaration of 'stats'
/usr/include/net/if_ppp.h:91: parse error before '}'
sys-linux.c: In function 'set_kdebugflag':
sys-linux.c:190: 'PPPIOCGDEBUG' undeclared (first use of this function)
sys-linux.c:198: 'PPPIOCSDEBUG' undeclared (first use of this function)
--- cut ---

I'm running linux kernel ver 2.0.12 with PPP and Network support installed.
what am I doing wrong?

TIA

2. routing question

3. pppd 2.2.0f won't compile under Kernel 2.0.20

4. Solaris 2 -- When is a 'struct file' a socket?

5. Help with PPPD 2.2.0f installation

6. Stale NFS file handles?

7. pppd 2.2.0f hangs my system

8. ANSWER TO SHARE VIOLATION

9. PPPD 2.2.0f / CHAT doesn't work

10. pppd 2.2.0f and kernel 2.0.1

11. pppd 2.2.0f 'make kernel' won't copy files

12. Kernel 2.0.22 and pppd 2.2.0f

13. Problems with pppd 2.2.0f with 2.0.0 kernel