[pptp-server] More PPP Compiling Errors

Kris Haight khaight at firespout.com
Wed Feb 14 10:14:28 CST 2001


Hello-

I'm having severe diffulties trying to compile the modules for PPP. I've
tried all the patches and all the suggetions given on this mailing list, but
none seem to work.

I am running RedHat 6.2, with kernel 2.2.17 (was at 2.2.16, but changed
thinking it would help). I've tried all the patches and what not and nothing
seems to work.

Anyone with any ideas or help would be greatly appreciated. Here is what I
get when I try to compile the modules:

make[2]: Entering directory `/usr/src/linux-2.2.17/drivers/net'
cc -D__KERNEL__ -I/usr/src/linux-2.2.17/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 -DC
PU=686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.2.17/include/linux/modversions.h   -DEXPORT_SYMT
AB -c ppp.c
ppp.c:174: `PPP_VERSION' undeclared here (not in a function)
ppp.c: In function `xmit_trylock':
ppp.c:189: structure has no member named `state'
ppp.c: In function `xmit_unlock':
ppp.c:197: structure has no member named `state'
ppp.c: In function `ppp_async_init':
ppp.c:356: structure has no member named `state'
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:871: structure has no member named `state'
ppp.c: In function `ppp_tty_sync_push':
ppp.c:922: `PPP_MAGIC' undeclared (first use in this function)
ppp.c:924: structure has no member named `state'
ppp.c:929: structure has no member named `state'
ppp.c:935: structure has no member named `state'
ppp.c:935: structure has no member named `state'
ppp.c:952: structure has no member named `state'
ppp.c:957: structure has no member named `state'
ppp.c:960: structure has no member named `state'
ppp.c: In function `ppp_async_send':
ppp.c:978: `PPP_MAGIC' undeclared (first use in this function)
ppp.c:982: structure has no member named `state'
ppp.c: In function `ppp_tty_push':
ppp.c:1004: `PPP_MAGIC' undeclared (first use in this function)
ppp.c:1006: structure has no member named `state'
ppp.c:1011: structure has no member named `state'
ppp.c:1017: structure has no member named `state'
ppp.c:1017: structure has no member named `state'
ppp.c:1031: structure has no member named `state'
ppp.c:1046: structure has no member named `state'
ppp.c:1051: structure has no member named `state'
ppp.c: In function `ppp_async_encode':
ppp.c:1073: `PPP_MAGIC' undeclared (first use in this function)
ppp.c:1156: structure has no member named `state'
ppp.c: In function `ppp_tty_flush_output':
ppp.c:1178: structure has no member named `state'
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:2266: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_ipv6':
ppp.c:2279: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_ipx':
ppp.c:2292: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_at':
ppp.c:2305: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_vjc_comp':
ppp.c:2320: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_vjc_uncomp':
ppp.c:2345: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_ccp':
ppp.c:2360: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `rcv_proto_unknown':
ppp.c:2371: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_send_frame':
ppp.c:2418: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_output_wakeup':
ppp.c:2592: `PPP_MAGIC' undeclared (first use in this function)
ppp.c: In function `ppp_send_ctrl':
ppp.c:2608: `PPP_MAGIC' undeclared (first use in this function)
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)
ppp.c: In function `cleanup_module':
ppp.c:3140: `PPP_MAGIC' undeclared (first use in this function)
make[2]: *** [ppp.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.17/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.17/drivers'
make: *** [_mod_drivers] Error 2

Thanks

-- Kris



More information about the pptp-server mailing list