PDA

View Full Version : Link fails...


trojanfoe
2007-09-07, 12:38
Hi everyone; I want to contribute some effort to the XBMC linux port so have set-up an old PC with ubuntu and have followed the instructions in README.linux. I had the executable compiling and linking 2 days ago, but an "svn up" yesterday introduced link failures which are still there is revision 10170. However I have seen posts here which imply that revision will at least build.

I cannot find the source of the methods referred to.

Here are the link failures; any help would be appreciated:

g++ -g -D_DEBUG -o XboxMediaCenter xbmc/*.o xbmc/settings/*.o xbmc/cdrip/*.o guilib/*.o guilib/tinyXML/*.o guilib/common/*.o xbmc/FileSystem/*.o xbmc/FileSystem/VideoDatabaseDirectory/*.o xbmc/FileSystem/MusicDatabaseDirectory/*.o xbmc/visualizations/*.o xbmc/cores/*.o xbmc/cores/paplayer/*.o xbmc/linux/*.o xbmc/lib/sqlLite/*.o xbmc/lib/libscrobbler/*.o xbmc/lib/libPython/*.o xbmc/lib/libPython/xbmcmodule/*.o xbmc/xbox/*.o xbmc/cores/DllLoader/*.o xbmc/cores/DllLoader/exports/*.o xbmc/cores/DllLoader/exports/util/*.o xbmc/utils/*.o xbmc/lib/UnrarXLib/*.o xbmc/lib/libGoAhead/*.o xbmc/cores/dvdplayer/*.o xbmc/cores/dvdplayer/DVDSubtitles/*.o xbmc/cores/dvdplayer/DVDInputStreams/*.o xbmc/cores/dvdplayer/DVDCodecs/*.o xbmc/cores/dvdplayer/DVDCodecs/Audio/*.o xbmc/cores/dvdplayer/DVDCodecs/Video/*.o xbmc/cores/dvdplayer/DVDCodecs/Overlay/*.o xbmc/cores/dvdplayer/DVDDemuxers/*.o xbmc/cores/dvdplayer/DVDCodecs/Overlay/libspucc/*.o xbmc/cores/VideoRenderers/*.o xbmc/lib/libGoAhead/libGoAheadD-i486-linux.a xbmc/lib/libXBMS/libxbms-i486-linux.a xbmc/lib/libUPnP/libupnp-i486-linux.a xbmc/lib/libshout/libshout-i486-linux.a xbmc/lib/libRTV/librtv-i486-linux.a xbmc/lib/libXDAAP/libxdaap-i486-linux.a -lasound -lsqlite3 -lsmbclient -llzo -lfribidi -lfreetype -ldl -lcdio -lSDL_mixer -lSDL_image -lSDL -lXinerama -lGLU -lGLEW -lGL -rdynamic
xbmc/cores/VideoRenderers/LinuxRendererGL.o: In function `CLinuxRendererGL::UpdateVideoFilter()':
/opt/home/andy/src/XBMC/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp:1075: undefined reference to `Shaders::BicubicFilterShader::BicubicFilterShader (float, float)'
xbmc/cores/VideoRenderers/LinuxRendererGL.o: In function `CLinuxRendererGL::LoadShaders(int)':
/opt/home/andy/src/XBMC/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp:1119: undefined reference to `Shaders::YUV2RGBBobShader::YUV2RGBBobShader()'
/opt/home/andy/src/XBMC/xbmc/cores/VideoRenderers/LinuxRendererGL.cpp:1121: undefined reference to `Shaders::YUV2RGBProgressiveShader::YUV2RGBProgres siveShader()'
collect2: ld returned 1 exit status
make[1]: *** [XboxMediaCenter] Error 1
make[1]: Leaving directory `/opt/home/andy/src/XBMC'
make: *** [all] Error 2
make: Leaving directory `/opt/home/andy/src/XBMC'

d4rk
2007-09-07, 12:47
Make sure to re-run configure and try building again.

trojanfoe
2007-09-07, 14:15
that worked! thanks d4rk

Skindred
2007-09-07, 21:54
or use the script
the build script is there for a reason ;)