When I try to compile Ntop (3.1 or cvs) I get these errors:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -Imyrrd -DLINUX
-I/usr/include/libxml2/libxml -I/usr/i ude
-I/usr/local/include -g -O2 -I/usr/local/include -Wshadow -Wpointer-arith
-Wmissing-pr sted-externs -fPIC -g -O2
-I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototyp
xterns -fPIC -MT pbuf.lo -MD -MP -MF .deps/pbuf.Tpo -c
pbuf.c -fPIC -DPIC -o .libs/pbuf.l
In file included from /usr/include/asm/byteorder.h:57,
from /usr/include/linux/if_pppox.h:21,
from pbuf.c:36:
/usr/include/linux/byteorder/little_endian.h:43: error: parse error before
"__cpu_to_le64p
/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le64p':
/usr/include/linux/byteorder/little_endian.h:45: error: `__le64' undeclared
(first use in
/usr/include/linux/byteorder/little_endian.h:45: error: (Each undeclared
identifier is rep
/usr/include/linux/byteorder/little_endian.h:45: error: for each function it
appears in.)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:47: error: parse error before '*'
token
/usr/include/linux/byteorder/little_endian.h: In function `__le64_to_cpup':
/usr/include/linux/byteorder/little_endian.h:49: error: `p' undeclared (first
use in this
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:51: error: parse error before
"__cpu_to_le32p
/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le32p':
/usr/include/linux/byteorder/little_endian.h:53: error: `__le32' undeclared
(first use in
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:55: error: parse error before '*'
token
/usr/include/linux/byteorder/little_endian.h: In function `__le32_to_cpup':
/usr/include/linux/byteorder/little_endian.h:57: error: `p' undeclared (first
use in this
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:59: error: parse error before
"__cpu_to_le16p
/usr/include/linux/byteorder/little_endian.h: In function `__cpu_to_le16p':
/usr/include/linux/byteorder/little_endian.h:61: error: `__le16' undeclared
(first use in
It's obviously having issues with lines 43-89 in little_endian.h ... did
something change in the recent kernel? (I left off some of the output, I can
paste the rest if necessary).
I'm really eager to start using Ntop, heard great things about it! Any help
would be greatly appreciated.
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev