[pptp-server] Compiling PPP with the MPPE patches

Dwight Lee dwight at fontanus.com
Fri Jan 12 13:15:32 CST 2001


Hi everyone,

I was wondering if any of you could shed some light on a problem I'm having.
I'm running RedHat 6.2, with kernel 2.2.16-3, ppp 2.3.11-4, PoPToP 1.0.1.
I've managed to get it working without encryption, but trying to follow the
steps outlined in http://poptop.lineo.com/releases/PoPToP-RedHat-HOWTO.txt
leads me to an error when trying to "make modules SUBDIRS=drivers/net"

The following is the output from the make.  If anyone is familiar with this
problem and has an answer, please let me know what I'm doing wrong.

Thanks in advance for any help.


Dwight Lee
Fontanus, Inc.
http://www.fontanus.com

Phone: 201-239-7770 ext. 101
  Fax: 201-239-7771


-----------------------------------------
make[2]: Entering directory `/usr/src/linux-2.2.16/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux-2.2.16/include -Wall -Wstrict-prototypes -
O2 -fomit-fram
e-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loop
s=2 -malign-ju
mps=2 -malign-functions=2 -DCPU=686 -DMODULE   -DEXPORT_SYMTAB -c ppp.c
ppp.c:188: warning: static declaration for `ppp_register_compressor' follows
non-static
ppp.c:189: warning: static declaration for `ppp_unregister_compressor'
follows non-static
ppp.c: In function `ppp_async_init':
ppp.c:443: structure has no member named `tty_pushing'
ppp.c: In function `ppp_tty_open':
ppp.c:502: `PPP_MAGIC' undeclared (first use in this function)
ppp.c:502: (Each undeclared identifier is reported only once
ppp.c:502: for each function it appears in.)
ppp.c: In function `ppp_tty_close':
ppp.c:547: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_read':
ppp.c:595: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_write':
ppp.c:684: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_ioctl':
ppp.c:744: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_poll':
ppp.c:947: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_wakeup':
ppp.c:976: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_sync_send':
ppp.c:1000: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_sync_push':
ppp.c:1054: `PPP_MAGIC' undeclared (first use in this function)
ppp.c:1062: structure has no member named `tty_pushing'
ppp.c:1065: structure has no member named `woke_up'
ppp.c:1069: structure has no member named `tty_pushing'
ppp.c:1076: structure has no member named `woke_up'
ppp.c:1092: structure has no member named `woke_up'
ppp.c:1099: structure has no member named `tty_pushing'
ppp.c:1109: structure has no member named `tty_pushing'
ppp.c: In function `ppp_async_send':
ppp.c:1124: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_push':
ppp.c:1149: `PPP_MAGIC' undeclared (first use in this function)
ppp.c:1150: structure has no member named `tty_pushing'
ppp.c:1151: structure has no member named `woke_up'
ppp.c:1157: structure has no member named `tty_pushing'
ppp.c:1159: structure has no member named `woke_up'
ppp.c:1170: structure has no member named `tty_pushing'
ppp.c:1172: structure has no member named `woke_up'
ppp.c:1180: structure has no member named `tty_pushing'
ppp.c:1185: structure has no member named `tty_pushing'
ppp.c:1195: structure has no member named `tty_pushing'
ppp.c: In function `ppp_async_encode':
ppp.c:1214: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_flush_output':
ppp.c:1320: structure has no member named `tty_pushing'
ppp.c:1329: structure has no member named `tty_pushing'
ppp.c: In function `ppp_tty_receive':
ppp.c:1358: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_dev_close':
ppp.c:1733: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_dev_ioctl':
ppp.c:1767: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_ioctl':
ppp.c:1815: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_receive_error':
ppp.c:2413: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_ip':
ppp.c:2444: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_ipv6':
ppp.c:2457: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_ipx':
ppp.c:2470: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_at':
ppp.c:2483: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_vjc_comp':
ppp.c:2498: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_vjc_uncomp':
ppp.c:2523: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_ccp':
ppp.c:2538: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_unknown':
ppp.c:2549: `PPP_MAGIC' undeclared (first use in this function)
ppp.c:2563: too few arguments to function `kill_fasync'
ppp.c: In function `ppp_send_frame':
ppp.c:2596: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_output_wakeup':
ppp.c:2772: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_send_ctrl':
ppp.c:2788: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_alloc':
ppp.c:3048: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_release':
ppp.c:3139: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `cleanup_module':
ppp.c:3345: `PPP_MAGIC' undeclared (first use in this function)
make[2]: *** [ppp.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.16/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.16/drivers'
make: *** [_mod_drivers] Error 2




More information about the pptp-server mailing list