[RP-PPPoE] PPPoE Plugin for PPPD

Palasamudram, Chaitra (NSN - IN/Bangalore) chaitra.palasamudram at nsn.com
Wed Jun 27 00:32:34 EDT 2012


Thanks again :(.

I checked the Makefile and trying to build rp-pppoe.so using cross
compiler. Hitting the below compilation issue. Can anyone help here
please.

make rp-pppoe.so
/build/trssdkroot/Platform/utran/fdd/nodeb/opt/i686-pc-linux-gnu/Cavium_
Networks/OCTEON-SDK/tools-gcc-4.3/bin/mips64-octeon-linux-gnu-gcc
'-DRP_VERSION="3.10"' -g -O2 -Wall -Wstrict-prototypes
'-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/usr/include -c -o plugin/plugin.o -fPIC plugin.c
/tmp/ccXwekIn.s: Assembler messages:
/tmp/ccXwekIn.s:934: Error: unrecognized opcode `rorw $8,$3'
/tmp/ccXwekIn.s:999: Error: unrecognized opcode `rorw $8,$4'
make: *** [plugin/plugin.o] Error 1


thanks
Chaitra 


-----Original Message-----
From: rp-pppoe-bounces at lists.roaringpenguin.com
[mailto:rp-pppoe-bounces at lists.roaringpenguin.com] On Behalf Of ext
Insane Laughing Clown
Sent: Wednesday, June 27, 2012 12:13 AM
To: rp-pppoe at lists.roaringpenguin.com
Subject: Re: [RP-PPPoE] PPPoE Plugin for PPPD

On 06/26/2012 10:07 AM, Palasamudram, Chaitra (NSN - IN/Bangalore)
wrote:
> Thanks again for the quick reply David.
>
> Few questions ::
> 1. Is this "rp-pppoe.so" comes as part of Kernel ?
> 2. I did not see this shared object file coming part of  this
> rp-pppoe-3.10.tar.gz (http://www.roaringpenguin.com/products/pppoe)
> 3. So.. do I need to build the kernel? My question was how can I build
> rp-pppoe.so (assuming on Linux). I would be needing the source files
for
> .so creation right.. so the question is again, from where can I get
this
> package(source code, makefile etc) that creates rp-pppoe.so. I can
then
> modify the Makefile to use the cross compiler to suit for my target.
>
> Appreciate your valuable input on this.
>

I'd just like to chime in and say that cross compilation is going to be 
a very specialized task not easily addressed here. The ppp plugin, 
rp-pppoe.so, is a little contentious since pppd ships an old outdated 
version of the plugin while rp-pppoe ships the current version, and many

build systems are ignorant of this overlap. You should take steps to 
ensure you are using the version supplied with rp-pppoe.

-ILC
_______________________________________________
RP-PPPoE mailing list
RP-PPPoE at lists.roaringpenguin.com
http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/rp-pppoe


More information about the RP-PPPoE mailing list