Kodi Community Forum
Problems compiling latest svn - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Problems compiling latest svn (/showthread.php?tid=34183)



Problems compiling latest svn - Trois Six - 2008-06-20

Hi,

Trying to compile the latest svn (rev 13635) I have the following errors :

Code:
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+0x80): multiple definition of `CGUIViewStateWindowPictures::GetExtensions()'
xbmc/GUIViewStatePictures.o:GUIViewStatePictures.cpp:(.text+0x70): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowGameSaves::SaveViewState()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0xa0): multiple definition of `CGUIViewStateWindowGameSaves::SaveViewState()'
xbmc/GUIViewStateGameSaves.o:GUIViewStateGameSaves.cpp:(.text+0x60): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::SaveViewState()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x100): multiple definition of `CGUIViewStateWindowPictures::SaveViewState()'
xbmc/GUIViewStatePictures.o:GUIViewStatePictures.cpp:(.text+0xb0): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::UnrollArchives()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x120): multiple definition of `CGUIViewStateWindowPictures::UnrollArchives()'
xbmc/GUIViewStatePictures.o:GUIViewStatePictures.cpp:(.text+0x90): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::GetLockType()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x1a0): multiple definition of `CGUIViewStateWindowPictures::GetLockType()'
xbmc/GUIViewStatePictures.o:GUIViewStatePictures.cpp:(.text+0x1a50): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowGameSaves::GetSources()':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x1c0): multiple definition of `CGUIViewStateWindowGameSaves::GetSources()'
xbmc/GUIViewStateGameSaves.o:GUIViewStateGameSaves.cpp:(.text+0x80): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::CGUIViewStateWindowPictures(CFileItemList const&)':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0xe80): multiple definition of `CGUIViewStateWindowPictures::CGUIViewStateWindowPictures(CFileItemList const&)'
xbmc/GUIViewStatePictures.o:GUIViewStatePictures.cpp:(.text+0x1be0): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowGameSaves::CGUIViewStateWindowGameSaves(CFileItemList const&)':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x2910): multiple definition of `CGUIViewStateWindowGameSaves::CGUIViewStateWindowGameSaves(CFileItemList const&)'
xbmc/GUIViewStateGameSaves.o:GUIViewStateGameSaves.cpp:(.text+0x3e0): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowGameSaves::CGUIViewStateWindowGameSaves(CFileItemList const&)':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x4db0): multiple definition of `CGUIViewStateWindowGameSaves::CGUIViewStateWindowGameSaves(CFileItemList const&)'
xbmc/GUIViewStateGameSaves.o:GUIViewStateGameSaves.cpp:(.text+0x13b0): first defined here
xbmc/GUIViewStatePicturesProgramsScripts.o: In function `CGUIViewStateWindowPictures::CGUIViewStateWindowPictures(CFileItemList const&)':
GUIViewStatePicturesProgramsScripts.cpp:(.text+0x5950): multiple definition of `CGUIViewStateWindowPictures::CGUIViewStateWindowPictures(CFileItemList const&)'
...

I had no problems compiling rev 13561. I don't know when it broke.

Regards

Trois Six


- vulkanr - 2008-06-20

find . -name \*.o -exec rm {} \;

should do the trick (recompiles it all).

becareful with that command though. only run from where your sources are.


- spiff - 2008-06-20

which is the same as 'make distclean'.

please please please people, check that before reporting.


- Trois Six - 2008-06-20

ok thank's it did the trick.

As I am using build.sh I supposed build.sh did the make distclean but it doesn't, it does a make clean and not a make distclean... In my case, make clean wasn't sufficient.

Thank's for your help.

Trois Six


- BLKMGK - 2008-06-21

ah, distclean! I had the same error and was trying make clean the other day. Finally deleted and redownloaded the entire SVN, brought userdata from backup, and all was fine using build.sh Distclean would've been WAY better! Have to remember that one, was drawing a complete blank at the time.