[pptp-server] mppe patch compile error
Jay Moore
jmoore at sailnet.com
Wed Mar 14 15:50:29 CST 2001
I have linux 2.2.17 ppp-2.3.11 and the
ppp-2.3.11-openssl-norc4-mppe.patch patch
tar -zxvf ppp-2.3.11.tar.gz
cd ppp.2.3.11
patch -p1 <../ppp-2.3.11-openssl-norc4-mppe.patch
./configure
make
make kernel install
cd /usr/src/linux
make dep;
<goes ok>
make bzimage;
make[3]: Entering directory `/usr/src/linux/drivers/net'
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686
-DEXPORT_SYMTAB -c ppp.c
ppp.c:100: warning: static declaration for `ppp_unregister_compressor'
follows non-static
ppp.c:174: `PPP_VERSION' undeclared here (not in a function)
ppp.c: In function `ppp_tty_open':
ppp.c:418: `PPP_MAGIC' undeclared (first use in this function)
ppp.c:418: (Each undeclared identifier is reported only once
ppp.c:418: for each function it appears in.)
ppp.c: In function `ppp_tty_close':
ppp.c:463: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_read':
ppp.c:511: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_write':
ppp.c:600: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_ioctl':
ppp.c:659: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_poll':
ppp.c:817: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_wakeup':
ppp.c:845: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_sync_send':
ppp.c:869: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_sync_push':
ppp.c:922: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_async_send':
ppp.c:978: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_push':
ppp.c:1004: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_async_encode':
ppp.c:1073: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_tty_receive':
ppp.c:1207: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_dev_close':
ppp.c:1560: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_dev_ioctl':
ppp.c:1594: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_ioctl':
ppp.c:1642: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_receive_error':
ppp.c:2235: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_ip':
ppp.c: In function `ppp_alloc':
ppp.c:2847: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_release':
ppp.c:2933: `PPP_MAGIC' undeclared (first use in this function)
make[3]: *** [ppp.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2
what am I doing wrong.
Jay
More information about the pptp-server
mailing list