[pptp-server] error compiling ppp kernel-module

gustav.jansen at lincom.no gustav.jansen at lincom.no
Tue Nov 14 14:59:29 CST 2000


Hi!
I saw the same posted on the list-archive, but I couldn't find a reply. 

I'm trying to compile the following on linux-2.2.17.
ppp-2.3.11
ppp-2.3.11-openssl-0.9.5-mppe.patch
SSLeay-0.9.0b
I followed the instuctions on 
http://www.moretonbay.com/vpn/releases/HOWTO-PoPToP.txt
just with the different versions.

I've compiled ppp as a kernel-module, and into the kernel, but I get these
error messages either way.
Please help..

--begin_transcript--

make[3]: Entering directory `/usr/src/linux-2.2.17/drivers/net'
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-fr
ame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-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: 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)
make[3]: *** [ppp.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.2.17/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.17/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.17/drivers'
make: *** [_dir_drivers] Error 2
--end_transcript--
--
regards
Gustav Jansen

1AB5 1DD3 4412 9F03 1A4D  9C64 4763 DD26 62DA 54BF





More information about the pptp-server mailing list