Friday, May 2, 2008 - New servers are in! Click-in for more info!
VoyForums

VoyUser Login optional ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1[2]34 ]
Subject: compilation error on plugin.c


Author:
pat
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 07:28:07 2006-07-03 Mon
Author Host/IP: 196.2.124.252

Using gcc 3.2.2, Linux kernel 2.6.7 I get the following problem. I have pppoe working in user mode, but want to get the kernel version to go.
Any hints welcome ..
Thanks
=Pat

gcc '-DRP_VERSION="3.8"' -g -O2 -Wall -Wstrict-prototypes -ansi '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent -I/serv/src/ppp-2.4.1/ -c -o plugin/plugin.o -fPIC plugin.c
plugin.c: In function `PPPOEConnectDevice':
plugin.c:161: `ppp_session_number' undeclared (first use in this function)
plugin.c:161: (Each undeclared identifier is reported only once
plugin.c:161: for each function it appears in.)
plugin.c:176: `remote_number' undeclared (first use in this function)
plugin.c: At top level:
plugin.c:457: `generic_establish_ppp' undeclared here (not in a function)
plugin.c:457: initializer element is not constant
plugin.c:457: (near initialization for `pppoe_channel.establish_ppp')
plugin.c:458: `generic_disestablish_ppp' undeclared here (not in a function)
plugin.c:458: initializer element is not constant
plugin.c:458: (near initialization for `pppoe_channel.disestablish_ppp')
make: *** [plugin/plugin.o] Error 1

[ Next Thread | Previous Thread | Next Message | Previous Message ]


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 2.94, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2008 Voyager Info-Systems. All Rights Reserved.