gcc rp-pppoe-3.8
Hello
On Debian lenny/testing i get Error while i compile rp-pppoe-3.8
I have the same Problem with Debian source paket and with orig paket from
www.roaringpenguin.com
Configure end with no error
Make end with error
etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"'
-Ilibevent -I/usr/local/src/ppp-2.4.4 -c -o plugin/plugin.o -fPIC plugin.c
In file included from /usr/include/asm/byteorder.h:7,
from /usr/include/linux/if_pppox.h:21,
from plugin.c:56:
/usr/include/asm-i386/byteorder.h:24: Fehler: expected >=<, >,<, >;<, >asm< or
>__attribute__< before >___arch__swab64<
In file included from /usr/include/linux/byteorder/little_endian.h:12,
from /usr/include/asm-i386/byteorder.h:53,
from /usr/include/asm/byteorder.h:7,
from /usr/include/linux/if_pppox.h:21,
from plugin.c:56:
/usr/include/linux/byteorder/swab.h:73: Fehler: expected >=<, >,<, >;<, >asm< or
>__attribute__< before >___swab64<
/usr/include/linux/byteorder/swab.h:189: Fehler: expected >=<, >,<, >;<, >asm< or
>__attribute__< before >__fswab64<
/usr/include/linux/byteorder/swab.h:199: Fehler: expected >=<, >,<, >;<, >asm< or
>__attribute__< before >__swab64p<
/usr/include/linux/byteorder/swab.h:203: Fehler: expected >)< before >*< token
In file included from /usr/include/asm-i386/byteorder.h:53,
from /usr/include/asm/byteorder.h:7,
from /usr/include/linux/if_pppox.h:21,
from plugin.c:56:
/usr/include/linux/byteorder/little_endian.h:43: Fehler: expected >=<, >,<, >;<, >asm< or
>__attribute__< before >__cpu_to_le64p<
/usr/include/linux/byteorder/little_endian.h:47: Fehler: expected >=<, >,<, >;<, >asm< or
>__attribute__< before >__le64_to_cpup<
/usr/include/linux/byteorder/little_endian.h:67: Fehler: expected >=<, >,<, >;<, >asm< or
>__attribute__< before >__cpu_to_be64p<
/usr/include/linux/byteorder/little_endian.h:71: Fehler: expected >=<, >,<, >;<, >asm< or
>__attribute__< before >__be64_to_cpup<
make: *** [plugin/plugin.o] Fehler 1
under debian stable release it's compile ok
I have done it with gcc 4.0 4.1 4.2 all over the same problem under testing
I compilesd it with following : PATH=$PATH:/usr/local/ppp/sbin ./configure
--prefix=/usr/local/ppp --enable-plugin=/usr/local/src/ppp-2.4.4
Then I have done make
I have then there is a bugrecord off this but I not found what I can do
Bug#433572: asm/byteorder.h broken for gcc -ansi
Mit freundlichen Grüßen
Drießen
--
Software & Computer
Uwe Drießen
Lembergstraße 33
67824 Feilbingert
Tel.: 06708 / 660045 Fax: 06708 / 661397
Reply to: