[ug-bosug] Connecting to the net through rp-pppoe
G N S
shivakumar.gn at gmail.com
Tue Jan 16 22:42:32 PST 2007
On 1/17/07, G N S <shivakumar.gn at gmail.com> wrote:
>
>
>
> On 1/14/07, nikhil v <nvyakaranam at gmail.com> wrote:
> >
> > Hi
> >
> > I was trying to get internet running in Solaris express build 52. I use
> > rp-pppoe for connecting to the net in linux.
> > I tried compiling the same thing in solaris but it gives me the
> > following errors during make.
> > The libraries and the path are set to
> >
> > LD_LIBRARY_PATH=:/usr/local /lib:/usr/local/ssl/lib:/etc/lib
> >
> > PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/bin:/usr/local/bin:/usr/ucb:/etc:/usr/sbin:/usr/openwin/bin:/usr/dt/bin:/starbin:/starscripts:/usr/local/lib:/usr/local/sbin:/usr/ccs/bin:.
> >
> >
> > The error i get during make is
> >
> > Running make...
> > gcc -o pppoe-sniff pppoe-sniff.o if.o common.o debug.o
> > Undefined first referenced
> > symbol in file
> > dlpromisconreq pppoe-sniff.o
> > ld: fatal: Symbol referencing errors. No output written to pppoe-sniff
> > collect2: ld returned 1 exit status
> > *** Error code 1
> > make: Fatal error: Command failed for target `pppoe-sniff'
> > Oops! It looks like make failed.
> >
>
>
> "dlpromisconreq" is part of the OpenSolaris libraries. I checked rp-pppoe
> from http://www.roaringpenguin.com/penguin/openSourceProducts/rpPppoe and
> I see that the function is available in if.c
> The function is defined as static meaning it is available only for the
> same compilation unit. Remove the static keyword from declaration and
> definition of the function in if.c and try to rebuild. This should solve
> the build error.
>
> Configuring for the net will get covered in this weekends bosug meeting.
>
My first line was intended to be "dlpromisconreq" is NOT part of the
OpenSolaris libraries.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20070117/5a64dc2c/attachment.html
More information about the ug-bosug
mailing list