All pastes #250244 Raw Edit

Anonymous

public text v1 · immutable
#250244 ·published 2006-11-16 19:47 UTC
rendered paste body
ar -rc plugin/libplugin.a plugin/discovery.o plugin/if.o plugin/common.o plugin/debug.o
gcc '-DRP_VERSION="3.8"' -O2 -march=i686 -g -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 -Irp-pppoe-3.8/ppp -c -o plugin/plugin.o -fPIC plugin.c
In file included from /usr/include/linux/if_pppox.h:22,
                 from plugin.c:57:
/usr/include/asm/byteorder.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘___arch__swab64’
In file included from /usr/include/linux/byteorder/little_endian.h:13,
                 from /usr/include/asm/byteorder.h:54,
                 from /usr/include/linux/if_pppox.h:22,
                 from plugin.c:57:
/usr/include/linux/byteorder/swab.h:159: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__fswab64’
/usr/include/linux/byteorder/swab.h:169: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__swab64p’
/usr/include/linux/byteorder/swab.h:173: error: expected ‘)’ before ‘*’ token
In file included from /usr/include/asm/byteorder.h:54,
                 from /usr/include/linux/if_pppox.h:22,
                 from plugin.c:57:
/usr/include/linux/byteorder/little_endian.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__cpu_to_le64p’
/usr/include/linux/byteorder/little_endian.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le64_to_cpup’
/usr/include/linux/byteorder/little_endian.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__cpu_to_be64p’
/usr/include/linux/byteorder/little_endian.h:71: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be64_to_cpup’
make: *** [plugin/plugin.o] Error 1
error: Shell command "cd /export/build/rp-pppoe/rp-pppoe-3.8/src; CFLAGS="-O2 -march=i686 -g" CXXFLAGS="-O2 -march=i686 -g " CPPFLAGS="" CLASSPATH=""  LDFLAGS="-g" CC=gcc CXX=g++  make    " exited with exit code 2
/home/smithj/rp-pppoe/rp-pppoe.recipe:25: RuntimeError: Shell command "cd /export/build/rp-pppoe/rp-pppoe-3.8/src; CFLAGS="-O2 -march=i686 -g" CXXFLAGS="-O2 -march=i686 -g " CPPFLAGS="" CLASSPATH=""  LDFLAGS="-g" CC=gcc CXX=g++  make    " exited with exit code 2