[PD-dev] readanysf~/osx: flext build errors: 'template with C linkage'

Damian Stewart damian at frey.co.nz
Fri May 9 16:54:22 CEST 2008


hey,

i have the latest flext from CVS and i'm trying to compile flext on OSX, so 
i can make readanysf~. following through the build system steps, the third 
time i run build.sh (the time when it actually tries to compile things) i 
get the following build errors:

damians-computer:~/0.inbox/externals/grill/flext damian$ bash build.sh pd gcc
make -f ./buildsys/gnumake-sub.mak PLATFORM=mac RTSYS=pd COMPILER=gcc 
BUILDPATH=./buildsys/ PKGINFO=package.txt BUILDCLASS=flext 
USRCONFIG=config.txt USRMAKE=build/gnumake-mac-gcc.inc TARGETMODE=release 
TARGETTYPE=single _build_
buildsys/mac/gnumake-gcc-targets.inc:22: warning: overriding commands for 
target `pd-darwin/release-single'
buildsys/mac/gnumake-gcc-targets.inc:18: warning: ignoring old commands for 
target `pd-darwin/release-single'
mkdir -p pd-darwin/release-single/
g++ -c -DFLEXT_USE_SIMD -DNDEBUG -DFLEXT_EXPORTS -DFLEXT_SYS=2 -DPD 
-I/Applications/Pd-0.41-4.app/Contents/Resources/src 
-I/usr/local/include/stk -I/usr/local/include/sndobj source/flext.h -o 
pd-darwin/release-single/flext.h.gch
/usr/include/c++/4.0.0/i686-apple-darwin8/bits/c++locale.h:60: error: 
template with C linkage
/usr/include/c++/4.0.0/bits/stringfwd.h:49: error: template with C linkage
/usr/include/c++/4.0.0/bits/stringfwd.h:52: error: template with C linkage
/usr/include/c++/4.0.0/bits/stringfwd.h:56: error: template with C linkage
/usr/include/c++/4.0.0/bits/postypes.h:81: error: template with C linkage
/usr/include/c++/4.0.0/iosfwd:55: error: template with C linkage
/usr/include/c++/4.0.0/iosfwd:58: error: template with C linkage
/usr/include/c++/4.0.0/iosfwd:61: error: template with C linkage
/usr/include/c++/4.0.0/iosfwd:64: error: template with C linkage
...

if i take out PRECOMPILE=flext.h from package.txt (as suggested by someone 
a year or two ago), i get 'no rule to make flext.h.gch'

can anyone shed any light on this?

thanks
d

-- 
damian stewart | +44 7500 543 766 | damian at frey.co.nz
frey | live art with machines | http://www.frey.co.nz




More information about the Pd-dev mailing list