[PD-dev] OSCx compile issues on OSX

ben at ekran.org ben at ekran.org
Fri Nov 28 17:48:24 CET 2003


Hey all,

I can't compile OSCx for darwin because:

[g4:~/OSCx/OSC] synthops% make pd_darwin
cc -DPD -DUNIX -DMACOSX -O2 -Wall -W -Wshadow -Wstrict-prototypes
-Wno-unused -Wno-parentheses -Wno-switch -I../../build/include -I../../obj
-c *.c
sendOSC.c: In function `sendOSC_sendtyped':
sendOSC.c:300: warning: ordered comparison of pointer with integer zero
sendOSC.c: In function `CommandLineMode':
sendOSC.c:410: warning: `numArgs' might be used uninitialized in this
function
sendOSC.c: In function `ParseTimeTag':
sendOSC.c:570: warning: long long unsigned int format, OSCTimeTag arg (arg 3)
cc -bundle -undefined suppress -flat_namespace -o OSC.pd_darwin OSC.o
htmsocket.o OSC-pattern-match.o sendOSC.o dumpOSC.o routeOSC.o -lm -lc
../libOSC/libOSC.a
ld: archive: ../libOSC/libOSC.a has no table of contents, add one with
ranlib(1) (can't load from it)
make: *** [OSC.pd_darwin] Error 1

so I tried to add a table of contents:

[g4:~/OSCx/OSC] synthops% ranlib ../libOSC/libOSC.a
ranlib: warning for library: ../libOSC/libOSC.a the table of contents is
empty (no object file members in the library define global symbols)


Seems like libOSC.a is not built properly?

since there is a pd_linux file included, why not a pd_darwin?

Thanks
Ben







More information about the Pd-dev mailing list