"Make" error
#1
Hi

I've looked over all currently existing help, but haven't found a solution to this problem.

The final error I'm getting is this:

Code:
collect2: ld returned 1 exit status
make[1]: *** [xbmc.bin] Error 1
make[1]: Leaving directory `/home/gausie/XBMC'
make: *** [all] Error 2

And (if it helps) here is a suitable chunk of the code beforehand

Code:
make xbmc.bin
make[1]: Entering directory `/home/gausie/XBMC'
g++ -O2 -o xbmc.bin 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/screensavers/*.o xbmc/cores/*.o xbmc/cores/paplayer/*.o xbmc/linux/*.o xbmc/lib/sqLite/*.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/cores/VideoRenderers/VideoShaders/*.o xbmc/lib/libcmyth/*.o xbmc/lib/libRTMP/*.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 xbmc/lib/libcdio/libcdio-i486-linux.a xbmc/lib/libsmb/libsmbclient-i486-linux.a -lhal-storage -ldbus-1 -lpcre -lmms -lXrandr -ljpeg -lpng12 -lresolv -lrt -lasound -lmysqlclient -lsqlite3 -llzo -lfribidi -lbz2 -lfontconfig -lfreetype -ldl -lSDL_mixer -lSDL_image -lSDL -lvorbis -logg -ltre -lmad -lXinerama -lGLU -lGLEW -lGL  -rdynamic
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::GetSources()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x0): multiple definition of `CGUIViewStateWindowPictures::GetSources()'
xbmc/GUIViewStatePictures.o:GUIViewStatePictures.cpp:(.text+0x0): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::GetExtensions()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x90): multiple definition of `CGUIViewStateWindowPictures::GetExtensions()'
xbmc/GUIViewStatePictures.o:GUIViewStatePictures.cpp:(.text+0x80): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::SaveViewState()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x150): multiple definition of `CGUIViewStateWindowPictures::SaveViewState()'
xbmc/GUIViewStatePictures.o:GUIViewStatePictures.cpp:(.text+0xd0): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::UnrollArchives()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x180): multiple definition of `CGUIViewStateWindowPictures::UnrollArchives()'
xbmc/GUIViewStatePictures.o:GUIViewStatePictures.cpp:(.text+0xb0): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::GetLockType()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x230): multiple definition of `CGUIViewStateWindowPictures::GetLockType()'
xbmc/GUIViewStatePictures.o:GUIViewStatePictures.cpp:(.text+0x1990): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::CGUIViewStateWindowPictures(CFileItemList const&)':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x45f0): multiple definition of `CGUIViewStateWindowPictures::CGUIViewStateWindowPictures(CFileItemList const&)'
xbmc/GUIViewStatePictures.o:GUIViewStatePictures.cpp:(.text+0x100): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::CGUIViewStateWindowPictures(CFileItemList const&)':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x6270): multiple definition of `CGUIViewStateWindowPictures::CGUIViewStateWindowPictures(CFileItemList const&)'
xbmc/GUIViewStatePictures.o:GUIViewStatePictures.cpp:(.text+0x1b10): first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::GetSources()':
GUIViewStatePrograms.cpp:(.text+0x0): multiple definition of `CGUIViewStateWindowPrograms::GetSources()'
xbmc/GUIViewStatePicturesProgramsScripts.o:GUIViewStatePicturesProgramsScripts.cpp:(.text+0x10): first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::SaveViewState()':
GUIViewStatePrograms.cpp:(.text+0x80): multiple definition of `CGUIViewStateWindowPrograms::SaveViewState()'
xbmc/GUIViewStatePicturesProgramsScripts.o:GUIViewStatePicturesProgramsScripts.cpp:(.text+0x120): first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::GetExtensions()':
GUIViewStatePrograms.cpp:(.text+0xb0): multiple definition of `CGUIViewStateWindowPrograms::GetExtensions()'
xbmc/GUIViewStatePicturesProgramsScripts.o:GUIViewStatePicturesProgramsScripts.cpp:(.text+0x1d0): first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::CGUIViewStateWindowPrograms(CFileItemList const&)':
GUIViewStatePrograms.cpp:(.text+0x230): multiple definition of `CGUIViewStateWindowPrograms::CGUIViewStateWindowPrograms(CFileItemList const&)'
xbmc/GUIViewStatePicturesProgramsScripts.o:GUIViewStatePicturesProgramsScripts.cpp:(.text+0x2fb0): first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::GetLockType()':
GUIViewStatePrograms.cpp:(.text+0x1ac0): multiple definition of `CGUIViewStateWindowPrograms::GetLockType()'
xbmc/GUIViewStatePicturesProgramsScripts.o:GUIViewStatePicturesProgramsScripts.cpp:(.text+0x200): first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::CGUIViewStateWindowPrograms(CFileItemList const&)':
GUIViewStatePrograms.cpp:(.text+0x1c40): multiple definition of `CGUIViewStateWindowPrograms::CGUIViewStateWindowPrograms(CFileItemList const&)'
xbmc/GUIViewStatePicturesProgramsScripts.o:GUIViewStatePicturesProgramsScripts.cpp:(.text+0xdd0): first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts::SaveViewState()':
GUIViewStateScripts.cpp:(.text+0x70): multiple definition of `CGUIViewStateWindowScripts::SaveViewState()'
xbmc/GUIViewStatePicturesProgramsScripts.o:GUIViewStatePicturesProgramsScripts.cpp:(.text+0xf0): first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts::GetSources()':
GUIViewStateScripts.cpp:(.text+0xa0): multiple definition of `CGUIViewStateWindowScripts::GetSources()'
xbmc/GUIViewStatePicturesProgramsScripts.o:GUIViewStatePicturesProgramsScripts.cpp:(.text+0x580): first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts::CGUIViewStateWindowScripts(CFileItemList const&)':
GUIViewStateScripts.cpp:(.text+0xbf0): multiple definition of `CGUIViewStateWindowScripts::CGUIViewStateWindowScripts(CFileItemList const&)'
xbmc/GUIViewStatePicturesProgramsScripts.o:GUIViewStatePicturesProgramsScripts.cpp:(.text+0x3b40): first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts::CGUIViewStateWindowScripts(CFileItemList const&)':
GUIViewStateScripts.cpp:(.text+0x1b50): multiple definition of `CGUIViewStateWindowScripts::CGUIViewStateWindowScripts(CFileItemList const&)'
xbmc/GUIViewStatePicturesProgramsScripts.o:GUIViewStatePicturesProgramsScripts.cpp:(.text+0x19f0): first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts::GetExtensions()':
GUIViewStateScripts.cpp:(.text+0x2b00): multiple definition of `CGUIViewStateWindowScripts::GetExtensions()'
xbmc/GUIViewStatePicturesProgramsScripts.o:GUIViewStatePicturesProgramsScripts.cpp:(.text+0x1a0): first defined here
collect2: ld returned 1 exit status
make[1]: *** [xbmc.bin] Error 1
make[1]: Leaving directory `/home/gausie/XBMC'
make: *** [all] Error 2

Running Ubuntu 8.04, newest SVN release

Cheers

Gausie
Reply
#2
Wow, haven't seen this on at least 3 times... "make distclean"
Reply

Logout Mark Read Team Forum Stats Members Help
"Make" error0