Alexander Hansen | 1 May 22:05
Picon
Gravatar

ptlib2.60-2.60-3 build problem on 10.5.6

Xcode 3.1.2.  The issue looks like something is expecting a different
argument list than Leopard provides:

...
g++ -I/sw/src/fink.build/ptlib2.6.0-2.6.0-3/ptlib-2.6.0/include 
-Wno-long-double -DPTRACING=1 -D_REENTRANT  -I/sw/include   
-I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE   -fno-exceptions
-I/sw/include -Wall  -D__MACOSX__ -m486 -DNDEBUG -O2
-I/sw/src/fink.build/ptlib2.6.0-2.6.0-3/ptlib-2.6.0/include -fno-common
-dynamic -felide-constructors -Wreorder -I/sw/include -c
ptlib/unix/pipechan.cxx -o
/sw/src/fink.build/ptlib2.6.0-2.6.0-3/ptlib-2.6.0/lib_Darwin_x86/obj/pipechan.o
ptlib/unix/pipechan.cxx: In member function 'PBoolean
PPipeChannel::PlatformOpen(const PString&, const PStringArray&,
PPipeChannel::OpenMode, PBoolean, PBoolean, const PStringToString*)':
/usr/include/unistd.h:481: error: too many arguments to function 'pid_t
setpgrp()'
ptlib/unix/pipechan.cxx:190: error: at this point in file
ptlib/unix/pipechan.cxx:203: warning: unused variable 'environ'
make[2]: ***
[/sw/src/fink.build/ptlib2.6.0-2.6.0-3/ptlib-2.6.0/lib_Darwin_x86/obj/pipechan.o]
Error 1

--

-- 
Alexander Hansen
Fink User Liaison

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf

Gmane