hy. seems that sys/types.h needs to be included for osx.
[ben@ekran.org]->[[PD-dev] OSCx for OS X]->[04-01-19 08:25]
|Hello All, | |I'm trying to get OSCx to work on OSX (10.3) but I can't get past compile |errors from libOSC (following message). | |Any help would be appreciated. Does anyone have OSCx working, a pd binary |perhaps? | |Thanks |Ben | |cc -c -O2 -Wall -fPIC -Dunix OSC-client.c |In file included from OSC-client.c:68: |/usr/include/netinet/in.h:255: error: parse error before "in_addr_t" |/usr/include/netinet/in.h:312: error: parse error before "u_char" |/usr/include/netinet/in.h:314: error: parse error before "sin_port" |/usr/include/netinet/in.h:317: error: parse error before '}' token |/usr/include/netinet/in.h:329: error: field `ip_dst' has incomplete type |/usr/include/netinet/in.h:398: error: field `imr_multiaddr' has incomplete |type |/usr/include/netinet/in.h:399: error: field `imr_interface' has incomplete |type |In file included from /usr/include/netinet/in.h:518, | from OSC-client.c:68: |/usr/include/netinet6/in6.h:123: error: parse error before "u_int8_t" |/usr/include/netinet6/in6.h:125: error: parse error before "__u6_addr32" |/usr/include/netinet6/in6.h:126: error: parse error before '}' token |/usr/include/netinet6/in6.h:127: error: parse error before '}' token |/usr/include/netinet6/in6.h:145: error: parse error before "u_int8_t" |/usr/include/netinet6/in6.h:147: error: parse error before "sin6_port" |/usr/include/netinet6/in6.h:148: error: parse error before "sin6_flowinfo" |/usr/include/netinet6/in6.h:150: error: parse error before "sin6_scope_id" |/usr/include/netinet6/in6.h:384: error: field `ro_dst' has incomplete type |/usr/include/netinet6/in6.h:455: error: field `ipv6mr_multiaddr' has |incomplete type |/usr/include/netinet6/in6.h:463: error: field `ipi6_addr' has incomplete type |/usr/include/netinet6/in6.h:615: error: syntax error before "struct" |/usr/include/netinet6/in6.h:617: error: parse error before "__P" |/usr/include/netinet6/in6.h:618: error: parse error before "__P" |/usr/include/netinet6/in6.h:619: error: parse error before "__P" |/usr/include/netinet6/in6.h:621: error: parse error before '*' token |/usr/include/netinet6/in6.h:622: error: parse error before "__P" |/usr/include/netinet6/in6.h:623: error: parse error before "__P" |/usr/include/netinet6/in6.h:625: error: parse error before |"inet6_rthdr_space" |/usr/include/netinet6/in6.h:626: error: parse error before "__P" |/usr/include/netinet6/in6.h:627: error: parse error before "__P" |/usr/include/netinet6/in6.h:629: error: parse error before "__P" |/usr/include/netinet6/in6.h:633: error: parse error before "__P" |/usr/include/netinet6/in6.h:634: error: parse error before "__P" |/usr/include/netinet6/in6.h:635: error: parse error before "__P" |/usr/include/netinet6/in6.h:637: error: parse error before "__P" |/usr/include/netinet6/in6.h:638: error: parse error before "__P" |/usr/include/netinet6/in6.h:640: error: parse error before "__P" |/usr/include/netinet6/in6.h:641: error: parse error before "__P" |/usr/include/netinet6/in6.h:643: error: parse error before "__P" |/usr/include/netinet6/in6.h:645: error: parse error before "__P" |/usr/include/netinet6/in6.h:647: error: parse error before "__P" |/usr/include/netinet6/in6.h:648: error: parse error before "inet6_rth_space" |/usr/include/netinet6/in6.h:649: error: parse error before "__P" |/usr/include/netinet6/in6.h:650: error: parse error before "__P" |/usr/include/netinet6/in6.h:651: error: parse error before "__P" |/usr/include/netinet6/in6.h:652: error: parse error before "__P" |/usr/include/netinet6/in6.h:653: error: parse error before "__P" |In file included from /usr/include/machine/types.h:30, | from /usr/include/sys/types.h:72, | from /usr/include/stdio.h:65, | from OSC-client.c:69: |/usr/include/ppc/types.h:69: error: syntax error before "typedef" |/usr/include/netinet/in.h:315: error: storage size of `sin_addr' isn't known |/usr/include/netinet6/in6.h:149: error: storage size of `sin6_addr' isn't |known |make: *** [libOSC.a(OSC-client.o)] Error 1 | | | | |_______________________________________________ |PD-dev mailing list |PD-dev@iem.at |http://iem.at/cgi-bin/mailman/listinfo/pd-dev |