[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
linker:
/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:
g++ -MMD -D "JUCE_IOS=0" -D "JUCE_QUICKTIME=0" -D "JUCE_OPENGL=0" -D
"JUCE_USE_FLAC=0" -D "JUCE_USE_OGGVORBIS=0" -D "JUCE_USE_CDBURNER=0" -D
"JUCE_USE_CDREADER=0" -D "JUCE_WEBBROWSER=0" -D "JUCE_CHECK_MEMORY_LEAKS=0"
-D "JUCE_JACK=1" -D "COMMONMUSIC=1" -D "GRACE=1" -D "WITH_SNDLIB=1" -D
"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
‘AudioFilePlayer::AudioFilePlayer(juce::AudioDeviceManager&)’:
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,
etc.
can anyone help?
thanks!
bill
-------------- 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