[Ardour-Users] Compiling Various LADSPA Plugins on OS X

Ben Powers bennyp at out-of-order.ca
Tue Dec 2 04:21:24 PST 2008


Hello, I'm trying to compile calf on OS X but experiencing some  
difficulties.

I ran
> ./configure --without-lv2 && make

this was returned:

> make  all-recursive
> Making all in src
> Making all in calf
> make[3]: Nothing to be done for `all'.
> if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H - 
> I. -I. -I.. -I.. -I.   -ffast-math -finline-limit=80    -I/usr/local/ 
> include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -g -O2 -O3 - 
> finline-functions -finline-functions-called-once -Wall -MT  
> modules.lo -MD -MP -MF ".deps/modules.Tpo" -c -o modules.lo  
> modules.cpp; \
> 	then mv -f ".deps/modules.Tpo" ".deps/modules.Plo"; else rm -f  
> ".deps/modules.Tpo"; exit 1; fi
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -ffast-math -finline- 
> limit=80 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/ 
> include -g -O2 -O3 -finline-functions -finline-functions-called-once  
> -Wall -MT modules.lo -MD -MP -MF .deps/modules.Tpo -c modules.cpp  - 
> fno-common -DPIC -o .libs/modules.o
> cc1plus: error: unrecognized command line option "-finline-functions- 
> called-once"
> make[3]: *** [modules.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive]

Next I removed all instances of -finline-functions-called-once from  
the various build scripts and tried again. This time I was met with  
the following

> make[3]: Nothing to be done for `all'.
> if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H - 
> I. -I. -I.. -I.. -I.   -ffast-math -finline-limit=80    -I/usr/local/ 
> include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -g -O2 -O3 - 
> finline-functions  -Wall -MT modules.lo -MD -MP -MF ".deps/ 
> modules.Tpo" -c -o modules.lo modules.cpp; \
> 	then mv -f ".deps/modules.Tpo" ".deps/modules.Plo"; else rm -f  
> ".deps/modules.Tpo"; exit 1; fi
> mkdir .libs
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -ffast-math -finline- 
> limit=80 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/ 
> include -g -O2 -O3 -finline-functions -Wall -MT modules.lo -MD -MP - 
> MF .deps/modules.Tpo -c modules.cpp  -fno-common -DPIC -o .libs/ 
> modules.o
> ./calf/giface.h:185: warning: ‘struct  
> calf_plugins::send_configure_iface’ has virtual functions but non- 
> virtual destructor
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -ffast-math -finline- 
> limit=80 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/ 
> include -g -O2 -O3 -finline-functions -Wall -MT modules.lo -MD -MP - 
> MF .deps/modules.Tpo -c modules.cpp -o modules.o >/dev/null 2>&1
> if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H - 
> I. -I. -I.. -I.. -I.   -ffast-math -finline-limit=80    -I/usr/local/ 
> include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -g -O2 -O3 - 
> finline-functions  -Wall -MT modules_dsp.lo -MD -MP -MF ".deps/ 
> modules_dsp.Tpo" -c -o modules_dsp.lo modules_dsp.cpp; \
> 	then mv -f ".deps/modules_dsp.Tpo" ".deps/modules_dsp.Plo"; else rm  
> -f ".deps/modules_dsp.Tpo"; exit 1; fi
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -ffast-math -finline- 
> limit=80 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/ 
> include -g -O2 -O3 -finline-functions -Wall -MT modules_dsp.lo -MD - 
> MP -MF .deps/modules_dsp.Tpo -c modules_dsp.cpp  -fno-common -DPIC - 
> o .libs/modules_dsp.o
> ./calf/giface.h:185: warning: ‘struct  
> calf_plugins::send_configure_iface’ has virtual functions but non- 
> virtual destructor
> ./calf/osc.h: In member function ‘void  
> dsp::bandlimiter<SIZE_BITS>::make_waveform(float*, int, bool)’:
> ./calf/osc.h:149: error: ‘class std::vector<std::complex<float>,  
> std::allocator<std::complex<float> > >’ has no member named ‘data’
> ./calf/osc.h:149: error: ‘class std::vector<std::complex<float>,  
> std::allocator<std::complex<float> > >’ has no member named ‘data’
> make[3]: *** [modules_dsp.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
at which point my understanding breaks down.

Next I tried REV and MCP plugins:

> bennyp at Macintosh-6 REV-plugins-0.3.1 $ make
> g++  -I. -fPIC -D_REENTRANT -Wall -O2  -c -o greverb.o greverb.cc
> g++  -I. -fPIC -D_REENTRANT -Wall -O2  -c -o g2reverb.o g2reverb.cc
> g++  -I. -fPIC -D_REENTRANT -Wall -O2  -c -o g2reverb_if.o  
> g2reverb_if.cc
> g++  -I. -fPIC -D_REENTRANT -Wall -O2  -c -o exp2ap.o exp2ap.cc
> g++ -shared greverb.o g2reverb.o g2reverb_if.o exp2ap.o -o g2reverb.so
> Undefined symbols:
> "_main", referenced from:
>    start in crt1.10.5.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [g2reverb.so] Error 1

same error by MCP and LEET
I suppose my build system is out of date? I have xcode version 3.0
Component versions
Xcode IDE: 921.0
Xcode Core: 921.0
ToolSupport: 893.0


-B



More information about the Ardour-Users mailing list