Compile error - SVN 20798
#1
Trying to compile new version this morning, with the following config:

Code:
./configure --prefix=/usr --disable-pulse --disable-joystick --disable-vdpau

here's the last few lines reported after running 'make'

Code:
xbmc/cores/paplayer/paplayer.a(PAPlayer.o): In function `PAPlayer::OpenFile(CFileItem const&, CPlayerOptions const&)':
/home/svn-xbmc/XBMC/xbmc/cores/paplayer/PAPlayer.cpp:113: multiple definition of `PAPlayer::OpenFile(CFileItem const&, CPlayerOptions const&)'
xbmc/cores/paplayer/paplayer.a(paplayer_linux.o):/home/svn-xbmc/XBMC/xbmc/cores/paplayer/paplayer_linux.cpp:114: first defined here
collect2: ld returned 1 exit status
make: *** [xbmc.bin] Error 1

any ideas?
Reply
#2
You need to do a make distclean, you must have updated a rather old version.

Even better would be to do a complete fresh checkout.
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#3
i happened to have done a 'make clean' before your response, and it has been compiling since (hopefully almost done).

if this still fails, i'll try the 'make distclean'

and in the future, i'll be sure to do 'make distclean' every time Smile

i'll report back soon if the clean worked
Reply
#4
'make clean' worked!
Reply

Logout Mark Read Team Forum Stats Members Help
Compile error - SVN 207980