[PD-dev] devel_0_39 on OSX

IOhannes m zmoelnig zmoelnig at iem.at
Wed Oct 5 15:42:07 CEST 2005


David Plans Casal wrote:
> Hi.
> 
> devel_0_39 will not compile in OSX using scons build system, failing with:
> 
> ld: Undefined symbols:
> _lseek64
> _open64
> scons: *** [bin/pd] Error 1
> scons: building terminated because of errors.
> 
> Ideas?
> 

yes, the scons-port of my extension uses tryCompile instead of tryLink 
to test whether open64 and lseek64 exist.

try changing the line~453 in SConscript:

- if conf.TryCompile("""#define _LARGEFILE64_SOURCE
+ if conf.Link("""#define _LARGEFILE64_SOURCE

mfg.ads.r
IOhannes




More information about the Pd-dev mailing list