[pptp-server] PPTP Problem

Leif Larsson leif at l3system.net
Thu Aug 3 15:24:56 CDT 2000


can wrote:

>

In your mail you are looking at /usr/bin but shouldnt you be looking in
/usr/SBIN instead ;-)
If it isnt there maybe you forgot to type "make install" ?

Leif


>   Dear,
>          I install PPTP server already and I think it works. Then for
> VPN client on linux, I download and install pptp-linux-latest.tar.gz
> into my computer. But it doesn't work. There isn't pppd in /usr/bin/
> or /bin/. I check in Makefile already, it is ok
>
>                       CFLAGS += '-DPPPD_BINARY="/usr/sbin/pppd"'
>  But when I type make, there is no pppd in that directory. I attach
> the result of "make" command below too.
>
> Thank you very much
>
> >
> ------------------------------------------------------------------------
>
> > [root at octopus02 pptp-linux-1.0.2]# make clean
> > rm -f *.o *~
> > [root at octopus02 pptp-linux-1.0.2]# make
> > gcc -Wall -O9 '-DPPTP_LINUX_VERSION="1.0.2"' -g
> '-DPPPD_BINARY="/usr/sbin/pppd"'   -c -o pptp.o pptp.c
> > pptp.c: In function `get_ip_address':
> > pptp.c:143: warning: suggest explicit braces to avoid ambiguous
> `else'
> > pptp_callmgr.c: In function `callmgr_main':
> > In file included from pptp.c:252:
> > pptp_callmgr.c:109: warning: variable `max_fd' might be clobbered by
> `longjmp' or `vfork'
> > pptp_callmgr.c:110: warning: variable `first' might be clobbered by
> `longjmp' or `vfork'
> > gcc -Wall -O9 '-DPPTP_LINUX_VERSION="1.0.2"' -g
> '-DPPPD_BINARY="/usr/sbin/pppd"'   -c -o pptp_gre.o pptp_gre.c
> > pptp_gre.c: In function `encaps_gre':
> > pptp_gre.c:261: warning: suggest explicit braces to avoid ambiguous
> `else'
> > gcc -Wall -O9 '-DPPTP_LINUX_VERSION="1.0.2"' -g
> '-DPPPD_BINARY="/usr/sbin/pppd"'   -c -o ppp_fcs.o ppp_fcs.c
> > gcc -Wall -O9 '-DPPTP_LINUX_VERSION="1.0.2"' -g
> '-DPPPD_BINARY="/usr/sbin/pppd"'   -c -o pty.o pty.c
> > gcc -Wall -O9 '-DPPTP_LINUX_VERSION="1.0.2"' -g
> '-DPPPD_BINARY="/usr/sbin/pppd"'   -c -o pptp_ctrl.o pptp_ctrl.c
> > pptp_ctrl.c: In function `pptp_dispatch_ctrl_packet':
> > pptp_ctrl.c:540: warning: unused variable `packet'
> > pptp_ctrl.c:558: warning: unused variable `packet'
> > gcc -Wall -O9 '-DPPTP_LINUX_VERSION="1.0.2"' -g
> '-DPPPD_BINARY="/usr/sbin/pppd"'   -c -o dirutil.o dirutil.c
> > gcc -Wall -O9 '-DPPTP_LINUX_VERSION="1.0.2"' -g
> '-DPPPD_BINARY="/usr/sbin/pppd"'   -c -o vector.o vector.c
> > gcc -Wall -O9 '-DPPTP_LINUX_VERSION="1.0.2"' -g
> '-DPPPD_BINARY="/usr/sbin/pppd"'   -c -o inststr.o inststr.c
> > gcc -Wall -O9 '-DPPTP_LINUX_VERSION="1.0.2"' -g
> '-DPPPD_BINARY="/usr/sbin/pppd"'   -c -o util.o util.c
> > gcc -Wall -O9 '-DPPTP_LINUX_VERSION="1.0.2"' -g
> '-DPPPD_BINARY="/usr/sbin/pppd"'   -c -o version.o version.c
> > gcc -Wall -o pptp pptp.o pptp_gre.o ppp_fcs.o pty.o pptp_ctrl.o
> dirutil.o vector.o inststr.o util.o version.o
> > gcc -Wall -O9 '-DPPTP_LINUX_VERSION="1.0.2"' -g
> '-DPPPD_BINARY="/usr/sbin/pppd"'   -c -o pptp_callmgr.o pptp_callmgr.c
>
> > pptp_callmgr.c: In function `main':
> > pptp_callmgr.c:109: warning: variable `max_fd' might be clobbered by
> `longjmp' or `vfork'
> > pptp_callmgr.c:110: warning: variable `first' might be clobbered by
> `longjmp' or `vfork'
> > gcc -Wall -o pptp_callmgr pptp_callmgr.o pptp_ctrl.o dirutil.o
> util.o vector.o version.o
> > [root at octopus02 pptp-linux-1.0.2]#




More information about the pptp-server mailing list