[RP-PPPoE] Problem compiling kernel mode PPPoe under Gentoo linux

Bishal Pun bishalpun at gmail.com
Thu Jul 14 04:33:27 EDT 2011


hello all,

 I am trying to build kernel mode pppoe server under gentoo linux
kernel 2.6.31-gentoo-r6. However when I try make command after
configure I get following error


# make
gcc -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
'-DVERSION="3.10"' -c -o pppoe.o pppoe.c
In file included from pppoe.h:56,
                 from pppoe.c:19:
/usr/include/linux/if.h:177: error: field 'ifru_map' has incomplete type
make: *** [pppoe.o] Error 1


Any suggestion?


More information about the RP-PPPoE mailing list