[mythtv] Newish MythMusic compile problem

Nigel Pearson nigel at ind.tansu.com.au
Wed Apr 18 00:20:30 UTC 2007


...
rm -f libmythmusic.dylib
g++ -headerpad_max_install_names -Wl,-search_paths_first - 
flat_namespace -undefined error -bundle -o libmythmusic.dylib cdrip.o  
decoder.o flacdecoder.o flacencoder.o maddecoder.o main.o  
mainvisual.o metadata.o playbackbox.o playlist.o streaminput.o  
encoder.o dbcheck.o synaesthesia.o treecheckitem.o vorbisdecoder.o  
lameencoder.o vorbisencoder.o visualize.o bumpscope.o  
globalsettings.o databasebox.o genres.o metaio.o metaiotaglib.o  
vcedit.o metaiooggvorbiscomment.o metaioflacvorbiscomment.o  
metaioavfcomment.o filters.o goom_core.o graphic.o tentacle3d.o ifs.o  
ifs_display.o lines.o surf3d.o zoom_filter_mmx.o zoom_filter_xmmx.o  
mythgoom.o avfdecoder.o editmetadata.o smartplaylist.o search.o  
treebuilders.o importmusic.o directoryfinder.o filescanner.o  
cddecoder-darwin.o moc_cdrip.o moc_databasebox.o moc_mainvisual.o  
moc_metadata.o moc_playbackbox.o moc_streaminput.o  
moc_globalsettings.o moc_editmetadata.o moc_smartplaylist.o  
moc_search.o moc_importmusic.o moc_directoryfinder.o  -L/usr/kde/3.3/ 
lib -L/Volumes/MythBuild/.osx-packager/src/qt-mac-free-3.3.6/lib -L/ 
usr/lib -L/Volumes/MythBuild/.osx-packager/build/lib -lmad -ltag - 
logg -lvorbisfile -lvorbis -lvorbisenc -lFLAC -lmp3lame -lmyth-0.20 - 
lmythui-0.20 -lmythavutil-0.20 -lmythavcodec-0.20 -lmythavformat-0.20  
-lqt-mt -framework OpenGL -framework AGL
/usr/bin/ld: warning -L: directory name (/usr/kde/3.3/lib) does not  
exist
/usr/bin/ld: Undefined symbols:
AlbumArtImages::getImageAt(unsigned int)
collect2: ld returned 1 exit status
make[2]: *** [libmythmusic.dylib] Error 1
make[1]: *** [sub-mythmusic] Error 2
make: *** [sub-mythmusic] Error 2


Is something like this missing?

Index: metadata.cpp
===================================================================
--- metadata.cpp        (revision 13268)
+++ metadata.cpp        (working copy)
@@ -1511,3 +1511,8 @@
      return type;
}
+
+AlbumArtImage AlbumArtImages::getImageAt(uint index)
+{
+    return *m_imageList.take(index);
+}


--
Nigel Pearson, nigel at ind.tansu.com.au|"I haven't tested it yet, but
Telstra Net. Eng., Sydney, Australia | it should be perfectly safe."
Office: 9202 3900    Fax:  9261 3912 |"Just a bit or harmless brain
Mobile: 0408 664435  Home: 9792 6998 | manipulation, that's all" -  
Wallace


More information about the mythtv-dev mailing list