Compiling on Mac OS X 10.4.5 (gcc 4.0):
cc -bundle -bundle_loader /Users/hans/cvs/pure-data/externals/../pd/ bin/pd -L/sw/lib -o "/Users/hans/cvs/pure-data/externals/../externals/ build/src/shell.pd_darwin" "/Users/hans/cvs/pure-data/externals/../ externals/build/src/shell.o" -lm -lc \ `test -f /Users/hans/cvs/pure-data/externals/../externals/ build/src/shell.libs && cat /Users/hans/cvs/pure-data/externals/../ externals/build/src/shell.libs` \ `test -f /Users/hans/cvs/pure-data/externals/../externals/ build/src/../darwin/shell.libs && \ cat /Users/hans/cvs/pure-data/externals/../externals/ build/src/../darwin/shell.libs` /usr/bin/ld: Undefined symbols: _sched_setscheduler collect2: ld returned 1 exit status make: *** [/Users/hans/cvs/pure-data/externals/../externals/build/src/ shell.pd_darwin] Error 1
.hc
________________________________________________________________________ ____
News is what people want to keep hidden and everything else is publicity.
- Bill Moyers
cc -bundle -bundle_loader /Users/hans/cvs/pure-data/externals/../pd/ bin/pd -L/sw/lib -o "/Users/hans/cvs/pure-data/externals/../externals/ build/src/shell.pd_darwin" "/Users/hans/cvs/pure-data/externals/../ externals/build/src/shell.o" -lm -lc \ `test -f /Users/hans/cvs/pure-data/externals/../externals/ build/src/shell.libs && cat /Users/hans/cvs/pure-data/externals/../ externals/build/src/shell.libs` \ `test -f /Users/hans/cvs/pure-data/externals/../externals/ build/src/../darwin/shell.libs && \ cat /Users/hans/cvs/pure-data/externals/../externals/ build/src/../darwin/shell.libs` /usr/bin/ld: Undefined symbols: _sched_setscheduler
guess 1: link with appropriate pthread library guess 2: osx != posix
t
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Feb 27, 2006, at 4:58 AM, Tim Blechmann wrote:
cc -bundle -bundle_loader /Users/hans/cvs/pure-data/externals/../pd/ bin/pd -L/sw/lib -o "/Users/hans/cvs/pure-data/externals/../externals/ build/src/shell.pd_darwin" "/Users/hans/cvs/pure-data/externals/../ externals/build/src/shell.o" -lm -lc \ `test -f /Users/hans/cvs/pure-data/externals/../externals/ build/src/shell.libs && cat /Users/hans/cvs/pure-data/externals/../ externals/build/src/shell.libs` \ `test -f /Users/hans/cvs/pure-data/externals/../externals/ build/src/../darwin/shell.libs && \ cat /Users/hans/cvs/pure-data/externals/../externals/ build/src/../darwin/shell.libs` /usr/bin/ld: Undefined symbols: _sched_setscheduler
guess 1: link with appropriate pthread library guess 2: osx != posix
Or fix to work on regular Mac OS X/Darwin. It used to...
.hc
________________________________________________________________________ ____
I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers. - General Smedley Butler
On Feb 27, 2006, at 4:58 AM, Tim Blechmann wrote:
build/src/../darwin/shell.libs` /usr/bin/ld: Undefined symbols: _sched_setscheduler
guess 1: link with appropriate pthread library guess 2: osx != posix
...maybe I can remind tim that we went thru this with pd-devel last july, and it's not an issue of osx not being posix compliant, but rather what version of the POSIX standard you are coding to (tim seems stuck in 1003.1-2001, apple is using 1003.1-2003), and what is actually portable:
http://lists.puredata.info/pipermail/pd-dev/2005-07/004390.html
jamie
On Mon, 27 Feb 2006, james tittle wrote:
http://lists.puredata.info/pipermail/pd-dev/2005-07/004390.html
thanks for the info, fixed in CVS. In general though, I can not check if shell is working correctly in OSX, only use it if there is no other solution and probably not in critical applications.
Günter
jamie
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
On 2/28/06, geiger geiger@xdv.org wrote:
On Mon, 27 Feb 2006, james tittle wrote:
http://lists.puredata.info/pipermail/pd-dev/2005-07/004390.html
thanks for the info, fixed in CVS. In general though, I can not check if shell is working correctly in OSX, only use it if there is no other solution and probably not in critical applications.
I have a bunch of Mac installations around the world running 24/7 that rely on shell. So far, so good...
cgc