ОС: сусе 10.2
Код:
tulik:/usr/local/src/rp-pppoe-3.8/src # make
gcc '-DRP_VERSION="3.8"' -g -O2 -Wall -Wstrict-prototypes -ansi '-DPPPOE_PATH
="/usr/local/ppp/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/et
c/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-optio
ns"' -Ilibevent -I/usr/local/src/ppp-2.4.3 -c -o plugin/plugin.o -fPIC plugin.c
In file included from /usr/include/asm/byteorder.h:59,
from /usr/include/linux/if_pppox.h:21,
from plugin.c:56:
/usr/include/linux/byteorder/little_endian.h:43: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__le64'
/usr/include/linux/byteorder/little_endian.h:47: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__u64'
/usr/include/linux/byteorder/little_endian.h:51: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__le32'
/usr/include/linux/byteorder/little_endian.h:55: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__u32'
/usr/include/linux/byteorder/little_endian.h:59: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__le16'
/usr/include/linux/byteorder/little_endian.h:63: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__u16'
/usr/include/linux/byteorder/little_endian.h:67: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__be64'
/usr/include/linux/byteorder/little_endian.h:71: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__u64'
/usr/include/linux/byteorder/little_endian.h:75: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__be32'
/usr/include/linux/byteorder/little_endian.h:79: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__u32'
/usr/include/linux/byteorder/little_endian.h:83: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__be16'
/usr/include/linux/byteorder/little_endian.h:87: error: expected '=', ',', ';',
'asm' or '__attribute__' before '__u16'
make: *** [plugin/plugin.o] Ошибка 1