Hi,
Trying to build GNUnet on an OpenBSD 3.9 Sparc64 and it fails.
When compiling src/util/checksum.c , it gives this error message :
In file included from ../../src/include/platform.h:70,
from checksum.c:31:
/usr/include/netinet/tcp.h:50: error: syntax error before "u_int"
In file included from ../../src/include/platform.h:124,
from checksum.c:31:
/usr/include/net/if.h:113: error: syntax error before "u_char"
/usr/include/net/if.h:193: error: syntax error before "u_short"
/usr/include/net/if.h:207: error: syntax error before "u_long"
/usr/include/net/if.h:375: error: syntax error before "u_int"
/usr/include/net/if.h:386: error: syntax error before "u_short"
/usr/include/net/if.h:391: error: syntax error before "u_short"
/usr/include/net/if.h:400: error: syntax error before "u_short"
/usr/include/net/if.h:405: error: syntax error before "u_short"
/usr/include/net/if.h:414: error: syntax error before "u_short"
/usr/include/net/if.h:419: error: syntax error before "u_short"
/usr/include/net/if.h:434: error: syntax error before "u_int"
/usr/include/net/if.h:464: error: syntax error before "u_int"
checksum.c: In function `convertToUtf8':
checksum.c:165: warning: passing arg 2 of `libiconv' from incompatible
pointer type
gmake[4]: *** [checksum.lo] Error 1
gmake[4]: Leaving directory `/root/GNUnet-0.7.0e/src/util'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/root/GNUnet-0.7.0e/src/util'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/root/GNUnet-0.7.0e/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/GNUnet-0.7.0e'
gmake: *** [all] Error 2
By looking at the sources of tcp.h, there is a test before line 50 about
determining if the system is a big endian or a little endian.
Does this syntax error comes because the variables about system
endianess are not initialised?
Thanks,
Stephane.
_______________________________________________
GNUnet-developers mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnunet-developers