2008-11-07, 08:19
Trying to build latest svn (16114) I get the following errors:
I've read someplace that these are common errors, but I can't find any applicable answers using the site search (every 20 seconds? wtf?) OR with google search on site:xbmc.org. I DID try 'make distclean' which did not help. I got the same error before and after. Can someone help me out here?
Code:
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::GetSources()':
/usr/include/c++/4.1.3/new:94: multiple definition of `CGUIViewStateWindowPictures::GetSources()'
xbmc/GUIViewStatePictures.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePictures.cpp:86: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::GetLockType()':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:63: multiple definition of `CGUIViewStateWindowPictures::GetLockType()'
xbmc/GUIViewStatePictures.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePictures.cpp:71: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::GetExtensions()':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:73: multiple definition of `CGUIViewStateWindowPictures::GetExtensions()'
xbmc/GUIViewStatePictures.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePictures.cpp:81: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::SaveViewState()':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:58: multiple definition of `CGUIViewStateWindowPictures::SaveViewState()'
xbmc/GUIViewStatePictures.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePictures.cpp:60: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::UnrollArchives()':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:68: multiple definition of `CGUIViewStateWindowPictures::UnrollArchives()'
xbmc/GUIViewStatePictures.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePictures.cpp:76: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:32: multiple definition of `CGUIViewStateWindowPictures::CGUIViewStateWindowPictures(CFileItemList const&)'
xbmc/GUIViewStatePictures.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePictures.cpp:34: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:32: multiple definition of `CGUIViewStateWindowPictures::CGUIViewStateWindowPictures(CFileItemList const&)'
xbmc/GUIViewStatePictures.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePictures.cpp:34: first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::GetExtensions()':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePrograms.cpp:68: multiple definition of `CGUIViewStateWindowPrograms::GetExtensions()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:111: first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::GetLockType()':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePrograms.cpp:63: multiple definition of `CGUIViewStateWindowPrograms::GetLockType()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:106: first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::GetSources()':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePrograms.cpp:73: multiple definition of `CGUIViewStateWindowPrograms::GetSources()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:116: first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms::SaveViewState()':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePrograms.cpp:52: multiple definition of `CGUIViewStateWindowPrograms::SaveViewState()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:101: first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePrograms.cpp:34: multiple definition of `CGUIViewStateWindowPrograms::CGUIViewStateWindowPrograms(CFileItemList const&)'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:83: first defined here
xbmc/GUIViewStatePrograms.o: In function `CGUIViewStateWindowPrograms':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePrograms.cpp:34: multiple definition of `CGUIViewStateWindowPrograms::CGUIViewStateWindowPrograms(CFileItemList const&)'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:83: first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts::SaveViewState()':
/usr/include/c++/4.2/new:105: multiple definition of `CGUIViewStateWindowScripts::SaveViewState()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:135: first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts::GetExtensions()':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStateScripts.cpp:52: multiple definition of `CGUIViewStateWindowScripts::GetExtensions()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:140: first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts::GetSources()':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStateScripts.cpp:57: multiple definition of `CGUIViewStateWindowScripts::GetSources()'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:145: first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStateScripts.cpp:33: multiple definition of `CGUIViewStateWindowScripts::CGUIViewStateWindowScripts(CFileItemList const&)'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:121: first defined here
xbmc/GUIViewStateScripts.o: In function `CGUIViewStateWindowScripts':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStateScripts.cpp:33: multiple definition of `CGUIViewStateWindowScripts::CGUIViewStateWindowScripts(CFileItemList const&)'
xbmc/GUIViewStatePicturesProgramsScripts.o:/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIViewStatePicturesProgramsScripts.cpp:121: first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowGameSaves::SaveViewState()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x210): undefined reference to `CGUIViewState::SaveViewToDb(CStdStr<char> const&, int)'
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowScripts::SaveViewState()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x238): undefined reference to `CGUIViewState::SaveViewToDb(CStdStr<char> const&, int)'
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPrograms::SaveViewState()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x260): undefined reference to `CGUIViewState::SaveViewToDb(CStdStr<char> const&, int)'
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::SaveViewState()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x288): undefined reference to `CGUIViewState::SaveViewToDb(CStdStr<char> const&, int)'
xbmc/GUIWindowGameSaves.o: In function `CGUIWindowGameSaves::GetDirectory(CStdStr<char> const&, CFileItemList&)':
/home/drink/Software/src/xbmc-linux/XBMC/xbmc/GUIWindowGameSaves.cpp:257: undefined reference to `CUtil::MakeLegalFileName(CStdStr<char> const&, bool)'
xbmc/GUIWindowGameSaves.o:(.rodata._ZTV19CGUIWindowGameSaves[vtable for CGUIWindowGameSaves]+0x14): undefined reference to `CGUIWindow::Load(TiXmlElement*)'
collect2: ld returned 1 exit status
make: *** [xbmc.bin] Error 1
I've read someplace that these are common errors, but I can't find any applicable answers using the site search (every 20 seconds? wtf?) OR with google search on site:xbmc.org. I DID try 'make distclean' which did not help. I got the same error before and after. Can someone help me out here?