Hi Devs,
I have a working setup for pd-extended on 10.5. Pd-extended fails to build when the mrpeach externals are set in LIB_TARGETS. Here is what I see:
cc -DPD -march=pentium4 -msse2 -mfpmath=sse -ftree-vectorize -ftree- vectorizer-verbose=2 -I/Users/bz/Downloads/puredata-extended/pd/src - Wall -W -ggdb -I/sw/include -DMACOSX -DUNIX -Dunix -o "/Users/bz/ Downloads/puredata-extended/externals/mrpeach/net/tcpserver.o" -c "/ Users/bz/Downloads/puredata-extended/externals/mrpeach/net/tcpserver.c" /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:89: error: syntax error before ‘u_long’ /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:89: warning: no semicolon at end of struct or union /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:97: error: syntax error before ‘}’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:97: warning: type defaults to ‘int’ in declaration of ‘t_tcpserver’ /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:97: warning: data definition has no type or storage class /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:104: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:105: error: syntax error before ‘t_tcpserver’ /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:106: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:107: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:108: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:109: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:110: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:111: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:112: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:113: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:115: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_socketreceiver_doread’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:152: error: ‘y’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:152: error: (Each undeclared identifier is reported only once /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:152: error: for each function it appears in.) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_socketreceiver_read’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:178: error: ‘y’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: At top level: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:245: error: syntax error before ‘t_tcpserver’ /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcp_server_send_bytes’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:259: error: ‘x’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:259: error: ‘client’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:266: error: ‘argc’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:268: error: ‘argv’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: At top level: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:369: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_send’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:374: error: ‘x’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:379: error: ‘argc’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:385: error: ‘argv’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: At top level: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:411: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_disconnect’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:416: error: ‘x’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: At top level: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:435: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_socket_disconnect’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:437: error: ‘fsocket’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:439: error: ‘x’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: At top level: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:449: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_client_disconnect’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:451: error: ‘fclient’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:453: error: ‘x’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: At top level: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:472: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_client_send’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:476: error: ‘x’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:481: error: ‘argc’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:487: error: ‘argv’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: At top level: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:504: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_broadcast’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:508: error: ‘x’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:512: error: ‘argc’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:512: error: ‘argv’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: At top level: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:519: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_notify’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:524: error: ‘x’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: At top level: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:546: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_connectpoll’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:550: error: ‘x’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:550: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: At top level: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:586: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_print’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:590: error: ‘x’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_new’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:604: error: ‘x’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:628: error: ‘u_short’ undeclared (first use in this function) /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:628: error: syntax error before ‘portno’ /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:628: error: syntax error before ‘portno’ /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:628: error: syntax error before ‘portno’ /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:628: error: syntax error before ‘portno’ /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:636: error: syntax error before ‘)’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:607: warning: unused variable ‘portno’ /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:672: warning: control reaches end of non-void function /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: At top level: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:674: error: syntax error before ‘*’ token /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c: In function ‘tcpserver_free’: /Users/bz/Downloads/puredata-extended/externals/mrpeach/net/ tcpserver.c:680: error: ‘x’ undeclared (first use in this function) make[2]: *** [/Users/bz/Downloads/puredata-extended/externals/mrpeach/ net/tcpserver.o] Error 1 make[1]: *** [externals_install] Error 2 make: *** [extended_install] Error 2 prob:darwin_app bz$