can't compile pppd-2.2.0f

can't compile pppd-2.2.0f

Post by Lester R. Saucer S » Wed, 31 Jul 1996 04:00:00



I am a newbie to linux

Can someome help me will the following error. I am trying to compile
pppd

cd chat; make HAS_SHADOW=1 all
make[1]: Entering directory `/usr/src/ppp-2.2.0f/chat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/ppp-2.2.0f/chat'
cd pppd; make HAS_SHADOW=1 all
make[1]: Entering directory `/usr/src/ppp-2.2.0f/pppd'
cc -w -O2   -D_linux_=1 -DHAVE_PATHS_H -DHAS_SHADOW -o main.o -c
main.c
In file included from pppd.h:31,
                 from main.c:43:
/usr/include/net/ppp_defs.h:1: linux/ppp_defs.h: No such file or
directory
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/usr/src/ppp-2.2.0f/pppd'
make: *** [all] Error 2

                Lester R. Saucer Sr.

 
 
 

can't compile pppd-2.2.0f

Post by M.A. » Fri, 02 Aug 1996 04:00:00



> I am a newbie to linux

> Can someome help me will the following error. I am trying to compile
> pppd

> cd chat; make HAS_SHADOW=1 all
> make[1]: Entering directory `/usr/src/ppp-2.2.0f/chat'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/usr/src/ppp-2.2.0f/chat'
> cd pppd; make HAS_SHADOW=1 all
> make[1]: Entering directory `/usr/src/ppp-2.2.0f/pppd'
> cc -w -O2   -D_linux_=1 -DHAVE_PATHS_H -DHAS_SHADOW -o main.o -c
> main.c
> In file included from pppd.h:31,
>                  from main.c:43:
> /usr/include/net/ppp_defs.h:1: linux/ppp_defs.h: No such file or
> directory
> make[1]: *** [main.o] Error 1
> make[1]: Leaving directory `/usr/src/ppp-2.2.0f/pppd'
> make: *** [all] Error 2

>                 Lester R. Saucer Sr.


I had the same problem with an old Kernel(1.23),you need a "new Kernel
2.0.0+.

M.A.
--

_
_____________

 
 
 

can't compile pppd-2.2.0f

Post by Mike Clarks » Mon, 05 Aug 1996 04:00:00



   Path: newshub.ccs.yorku.ca!torn!newsfeed.internetmci.com!news.mathworks.com!news.kei.com!news-in.tiac.net!news-old.tiac.net!usenet

   Newsgroups: comp.os.linux.networking
   Date: Tue, 30 Jul 1996 23:35:57 GMT
   Organization: The Internet Access Company
   Lines: 25
   NNTP-Posting-Host: egallin.tiac.net
   X-Newsreader: Forte Free Agent 1.0.82

   I am a newbie to linux

   Can someome help me will the following error. I am trying to compile
   pppd

   cd chat; make HAS_SHADOW=1 all
   make[1]: Entering directory `/usr/src/ppp-2.2.0f/chat'
   make[1]: Nothing to be done for `all'.
   make[1]: Leaving directory `/usr/src/ppp-2.2.0f/chat'
   cd pppd; make HAS_SHADOW=1 all
   make[1]: Entering directory `/usr/src/ppp-2.2.0f/pppd'
   cc -w -O2   -D_linux_=1 -DHAVE_PATHS_H -DHAS_SHADOW -o main.o -c
   main.c
   In file included from pppd.h:31,
                    from main.c:43:
   /usr/include/net/ppp_defs.h:1: linux/ppp_defs.h: No such file or
   directory
   make[1]: *** [main.o] Error 1
   make[1]: Leaving directory `/usr/src/ppp-2.2.0f/pppd'
   make: *** [all] Error 2

I assume you are running a 2.0.x kernel.

Look at the kinstall.sh script.  Cut out the definition of the bombiffailed
function, and the two sections that add header files to the /usr/include
directories.  Run the script to install the include files. Then make.

The ppp-2.2.0f distribution needs bringing up to date to not try to
patch the kernel, and/or the kernel Documentation/networking/ppp.txt
should flag this problem.

Mike.
--


York University/CRESS   Ecole des Mines        
North York, Ontario,    3 rue Marcel Sembat    
Canada M3J 1P3          44049 Nantes France     +1 416 560-3365

 
 
 

1. pppd - need help compiling pppd 2.2.0f

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

2. Acessing the system remotely

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

4. RPC: Port mapper failure at startup on a laptop

5. Can't build pppd-2.2.0f

6. RH 5.0 + STB Velocity 128 AGP video card

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

8. Linux and Packard Bell install problem

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

10. HEAVY HDD IO with pppd-2.2.0f ?

11. pppd-2.2.0f & PortMaster

12. pppd 2-2-0f doesn't found pap-secrets

13. PPPD 2.2.0f / CHAT doesn't work