hey,
...thought I'd start using this devel version, but can't compile it using gcc 4.0 on osx 10.4.1...I've heard about a scons version of the build system, but know even less about that than configure/make, so I went that route...
...right off the bat, I couldn't do "./bootstrap.sh", because I have newer versions of some of the called programs (both aclocal and automake are 1.9.5 here): perhaps we should just change the script to "aclocal" and "automake", rather than expect specific versions?
...anyway, here's what I used to configure, based on some email suggestion of tim's:
./configure --enable-lockfree --enable-newhash --enable-jack --enable- fftw --enable-simd --enable-optimize=G4 --enable-atomic --enable- debug --prefix=/Users/tigital/devel_0_38 --libdir=/Users/tigital/dev/ libs --enable-fftw
...sidenote: is this the correct way to tell configure where my fftw3f is? I have it in a non-standard place...
...and here's where the compile dies:
if gcc -DPACKAGE_NAME="PureData" -DPACKAGE_TARNAME="pd" - DPACKAGE_VERSION="0.38-4-devel-2" -DPACKAGE_STRING="PureData\ 0.38-4-devel-2" -DPACKAGE_BUGREPORT="pd-list@iem.at" -DPACKAGE="pd " -DVERSION="0.38-4-devel-2" -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 - DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 - DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 - DHAVE_LIMITS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 - DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 - DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 - DHAVE_STRERROR=1 -DDL_OPEN=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 - DHAVE_LIBX11=1 -DHAVE_LIBTK8_4=1 -DUSEAPI_JACK=1 -DUSEAPI_ALSA=1 - DATOMIC=1 -DNEWHASH=1 -DLOCKFREE=1 -DUSEAPI_PORTAUDIO=1 - DPA_BIG_ENDIAN=1 -DMACOSX=1 -I. -I. -DINSTALL_PREFIX="/Users/ tigital/devel_0_38" -fno-strict-aliasing -g -DJACK_XRUN -O2 -MT pd- m_obj.o -MD -MP -MF ".deps/pd-m_obj.Tpo" -c -o pd-m_obj.o `test -f 'm_obj.c' || echo './'`m_obj.c; \ then mv -f ".deps/pd-m_obj.Tpo" ".deps/pd-m_obj.Po"; else rm -f ".deps/pd-m_obj.Tpo"; exit 1; fi m_obj.c: In function 'outlet_bang': m_obj.c:384: error: redeclaration of 'scp_i' with no linkage m_obj.c:373: error: previous declaration of 'scp_i' was here m_obj.c:384: error: 'i' undeclared (first use in this function) m_obj.c:384: error: (Each undeclared identifier is reported only once m_obj.c:384: error: for each function it appears in.) m_obj.c:384: error: 'scp_' undeclared (first use in this function) m_obj.c:384: error: invalid lvalue in asm output 0 m_obj.c: In function 'outlet_pointer': m_obj.c:414: error: redeclaration of 'scp_i' with no linkage m_obj.c:393: error: previous declaration of 'scp_i' was here m_obj.c:414: error: 'i' undeclared (first use in this function) m_obj.c:414: error: 'scp_' undeclared (first use in this function) m_obj.c:414: error: invalid lvalue in asm output 0 m_obj.c: In function 'outlet_float': m_obj.c:433: error: redeclaration of 'scp_i' with no linkage m_obj.c:422: error: previous declaration of 'scp_i' was here m_obj.c:433: error: 'i' undeclared (first use in this function) m_obj.c:433: error: 'scp_' undeclared (first use in this function) m_obj.c:433: error: invalid lvalue in asm output 0 m_obj.c: In function 'outlet_symbol': m_obj.c:452: error: redeclaration of 'scp_i' with no linkage m_obj.c:441: error: previous declaration of 'scp_i' was here m_obj.c:452: error: 'i' undeclared (first use in this function) m_obj.c:452: error: 'scp_' undeclared (first use in this function) m_obj.c:452: error: invalid lvalue in asm output 0 m_obj.c: In function 'outlet_list': m_obj.c:471: error: redeclaration of 'scp_i' with no linkage m_obj.c:460: error: previous declaration of 'scp_i' was here m_obj.c:471: error: 'i' undeclared (first use in this function) m_obj.c:471: error: 'scp_' undeclared (first use in this function) m_obj.c:471: error: invalid lvalue in asm output 0 m_obj.c: In function 'outlet_anything': m_obj.c:490: error: redeclaration of 'scp_i' with no linkage m_obj.c:479: error: previous declaration of 'scp_i' was here m_obj.c:490: error: 'i' undeclared (first use in this function) m_obj.c:490: error: 'scp_' undeclared (first use in this function) m_obj.c:490: error: invalid lvalue in asm output 0 make[1]: *** [pd-m_obj.o] Error 1 make: *** [all-recursive] Error 1
...so, I've looked at the source here, but I don't understand the macro's being used...
l8r, jamie