Hi, i have following problem by compiling my self source: " Making all in net source='InetAddress.cc' object='InetAddress.lo' libtool=yes \ depfile='.deps/InetAddress.Plo' tmpdepfile='.deps/InetAddress.TPlo' \ depmode=gcc3 /bin/sh ../../../depcomp \ /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I../../../src -I../../../src -I../ ./.. -g -O2 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -c -o InetAddress.lo `test -f 'InetAddress.cc' || echo './'`InetAddress.cc g++ -DHAVE_CONFIG_H -I../../../src -I../../../src -I../../.. -g -O2 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -c InetAddress.cc -MT InetAddress.lo -MD -MP -MF .deps/InetAddress.TPlo -o InetAddress.o In file included from ../../../src/ipp/net/socket_inc.h:4, from ../../../src/ipp/net/SocketAPI.h:44, from ../../../src/ipp/net/InetAddress.h:44, from InetAddress.cc:35: /usr/include/netinet/in.h:255: error: 'in_addr_t' is used as a type, but is not defined as a type. /usr/include/netinet/in.h:312: error: 'u_char' is used as a type, but is not defined as a type. /usr/include/netinet/in.h:313: error: 'u_char' is used as a type, but is not defined as a type. /usr/include/netinet/in.h:314: error: 'u_short' is used as a type, but is not defined as a type. In file included from /usr/include/netinet/in.h:518, from ../../../src/ipp/net/socket_inc.h:4, from ../../../src/ipp/net/SocketAPI.h:44, from ../../../src/ipp/net/InetAddress.h:44, from InetAddress.cc:35: /usr/include/netinet6/in6.h:123: error: parse error before `[' token /usr/include/netinet6/in6.h:124: error: parse error before `[' token /usr/include/netinet6/in6.h:125: error: parse error before `[' token /usr/include/netinet6/in6.h:145: error: 'u_int8_t' is used as a type, but is not defined as a type. /usr/include/netinet6/in6.h:146: error: 'u_int8_t' is used as a type, but is not defined as a type. /usr/include/netinet6/in6.h:147: error: 'u_int16_t' is used as a type, but is not defined as a type. /usr/include/netinet6/in6.h:148: error: 'u_int32_t' is used as a type, but is not defined as a type. /usr/include/netinet6/in6.h:150: error: 'u_int32_t' is used as a type, but is not defined as a type. /usr/include/netinet6/in6.h:615: error: syntax error before `;' token /usr/include/netinet6/in6.h:617: error: syntax error before `(' token /usr/include/netinet6/in6.h:618: error: syntax error before `(' token /usr/include/netinet6/in6.h:619: error: syntax error before `(' token /usr/include/netinet6/in6.h:621: error: syntax error before `*' token /usr/include/netinet6/in6.h:622: error: syntax error before `(' token /usr/include/netinet6/in6.h:623: error: syntax error before `(' token /usr/include/netinet6/in6.h:625: error: syntax error before `__P' /usr/include/netinet6/in6.h:626: error: syntax error before `(' token /usr/include/netinet6/in6.h:627: error: syntax error before `(' token /usr/include/netinet6/in6.h:629: error: syntax error before `(' token /usr/include/netinet6/in6.h:633: error: syntax error before `(' token /usr/include/netinet6/in6.h:634: error: syntax error before `(' token /usr/include/netinet6/in6.h:635: error: syntax error before `(' token /usr/include/netinet6/in6.h:637: error: syntax error before `(' token /usr/include/netinet6/in6.h:638: error: syntax error before `(' token /usr/include/netinet6/in6.h:640: error: syntax error before `(' token /usr/include/netinet6/in6.h:641: error: syntax error before `(' token /usr/include/netinet6/in6.h:643: error: syntax error before `(' token /usr/include/netinet6/in6.h:645: error: syntax error before `(' token /usr/include/netinet6/in6.h:647: error: syntax error before `(' token /usr/include/netinet6/in6.h:648: error: syntax error before `__P' /usr/include/netinet6/in6.h:649: error: syntax error before `(' token /usr/include/netinet6/in6.h:650: error: syntax error before `(' token /usr/include/netinet6/in6.h:651: error: syntax error before `(' token /usr/include/netinet6/in6.h:652: error: syntax error before `(' token /usr/include/netinet6/in6.h:653: error: syntax error before `(' token In file included from /usr/include/machine/types.h:30, from /usr/include/sys/types.h:72, from ../../../src/ipp/net/socket_inc.h:5, from ../../../src/ipp/net/SocketAPI.h:44, from ../../../src/ipp/net/InetAddress.h:44, from InetAddress.cc:35: /usr/include/ppc/types.h:69: error: syntax error before `typedef' In file included from /usr/include/mach/mach_types.h:64, from /usr/include/pthread.h:66, from ../../../src/ipp/concurrent/pthread_inc.h:4, from ../../../src/ipp/concurrent/AtomicCount.h:39, from ../../../src/ipp/Object.h:42, from ../../../src/ipp/Throwable.h:39, from ../../../src/ipp/Exception.h:39, from ../../../src/ipp/net/SocketException.h:39, from ../../../src/ipp/net/InetAddress.h:47, from InetAddress.cc:35: /usr/include/gcc/darwin/3.3/stdint.h:41: error: syntax error before `;' token /usr/include/gcc/darwin/3.3/stdint.h:52: error: syntax error before `;' token make[4]: *** [InetAddress.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2." th eproblem is the definition of types.h. when i include it in "in6.6" don't make more problem, but i know that isn't the way. i try including it in configure.in but nothing happen. what i wrong do? thx for any helps. best regeards, Damin
participants (1)
-
Damian Ibarra