[CM] problem compiling cm-3.8.0

Bill Sack bsack23 at gmail.com
Mon May 21 17:03:03 PDT 2012

hi all,
compiling cm-3.8 in linux (fedora 16) and all goes well until down at this
/usr/bin/ld: obj/juce/libjuce.a(juce_amalgamated.o): undefined reference to
symbol 'dladdr@@GLIBC_2.0'
/usr/bin/ld: note: 'dladdr@@GLIBC_2.0' is defined in DSO /lib/libdl.so.2 so
try adding it to the linker command line
/lib/libdl.so.2: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

i added "-ldl -lXext" to all 3 makefiles and got a little farther, but ran
into this:

"WITH_FOMUS=1" -D "FOMUSLIBPATH=\"/usr/local/lib\"" -D
"SVNVERSION=\"`/usr/bin/svnversion`\"" -D "LINUX=1" -D "NDEBUG=1" -I "src"
-I "../sndlib/" -I "/usr/local/include"  -O2 -o
"obj/grace/Release/AudioFilePlayer.o" -c "src/AudioFilePlayer.cpp"
src/AudioFilePlayer.cpp: In constructor
src/AudioFilePlayer.cpp:20:36: error: cannot call constructor
‘juce::Font::Font’ directly [-fpermissive]
src/AudioFilePlayer.cpp:20:36: error:   for a function-style cast, remove
the redundant ‘::Font’ [-fpermissive]
make[1]: *** [obj/grace/Release/AudioFilePlayer.o] Error 1
make: *** [grace] Error 2

my g++ is version 4.6.3

i think everything else is up-to-date - fresh check-out of sndlib, fomus,
can anyone help?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/cmdist/attachments/20120521/4f7ed197/attachment.html 

More information about the Cmdist mailing list