[LAU] Problem building CAPS 0.4.3

Ken Restivo ken at restivo.org
Mon Aug 17 16:26:45 EDT 2009


In my sudden flurry of rebuilding/optimizing/updating, I decided to also upgrade to the latest TAP and CAPS plugins.

TAP went well.

CAPS is dying thusly
g++  -o caps.so Amp.o Cabinet.o Chorus.o Click.o Clip.o Compress.o Eq.o HRTF.o Lorenz.o Pan.o Phaser.o Preamp.o Reverb.o Roessler.o Scape.o Sin.o SweepVF.o ToneControls.o ToneStack.o VCO.o White.o interface.o 
/usr/scratch/backports/caps/caps-0.4.3/interface.cc:124: multiple definition of `_fini'
/usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/crti.o:/build/buildd/glibc-2.7/build-tree/glibc-2.7/csu/../sysdeps/generic/initfini.c:109: first defined here
interface.o: In function `_init':
/usr/scratch/backports/caps/caps-0.4.3/interface.cc:69: multiple definition of `_init'
/usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/crti.o:/build/buildd/glibc-2.7/build-tree/i386-libc/csu/crti.S:15: first defined here
/usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [caps.so] Error 1


This looks like a very familiar error, I remember before from my development days. IIRC it has something to do with not specifying linker options correctly, or forgetting to include proper libraries when linking. But for the life of me I can't remember what the solution was.

Any ideas?

Thanks again to everyone for all your help!

-ken



More information about the Linux-audio-user mailing list