[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rp-pppoe compile problems



In the past few days (weeks?) I tried to get my DSL connection working
with ppp, referring to the howtos, using the configs from the howtos, but
it didn't work (I'll send the logs on request), so I decided to use rp-pppoe
(the latest version is 3.4).

I downloaded the source from roaringpenguin.com, extracted it, ran
./configure :
On this platform, the following targets will be built:
        pppoe pppoe-server
then make, but it stopped with :
make -C libevent
make: illegal option -- C
*** Error code 2
Stop in /root/rp-pppoe-3.4/src (line 104 of Makefile).

Referring to linux's man make, I changed in Makefile:
libevent/libevent.a:
        $(MAKE) -C libevent

into this:
libevent/libevent.a:
        cd libevent
        $(MAKE) libevent
        cd ..

After running make with the modified Makefile, it stops with:
cd libevent
make libevent
`libevent' is up to date.
cd ..
gcc -o pppoe-server  pppoe-server.o if.o debug.o common.o md5.o
-Llibevent -levent
ld: -levent: no match
collect2: ld returned 1 exit status
*** Error code 1
Stop in /root/rp-pppoe-3.4/src (line 74 of Makefile).

Anyone got an idea on how to compile this?

Thanks in advance,
Wigyori
Zoltan HERPAI