[Linux] Unable to compile revision 23987
#1
I'm working on a python script, and running the XBMC Ubuntu version 9.04, but have been having problems with what appear to be bugs in XBMC, so I decided to try getting the latest source from SVN, and compiling it.

I have revision 23987, and after running bootstrap and configure, make fails with the following
Code:
make -C ffmpeg
make[2]: Entering directory `/home/brian/xbmc-source/trunk/xbmc/cores/dvdplayer/Codecs/ffmpeg'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/brian/xbmc-source/trunk/xbmc/cores/dvdplayer/Codecs/ffmpeg'
gcc -o ../../../../system/players/dvdplayer/avcodec-52-x86_64-linux.so -shared -fPIC -rdynamic --soname,../../../../system/players/dvdplayer/avcodec-52-x86_64-linux.so ffmpeg/libavcodec/*.o \
        ffmpeg/libavcodec/x86/*.o `cat ../../DllLoader/exports/wrapper.def` ../../DllLoader/exports/wrapper.o
ffmpeg/libavcodec/vc1.o:(.data.rel+0x0): multiple definition of `vc1_decoder'
ffmpeg/libavcodec/vc1dec.o:(.data.rel+0x0): first defined here
ffmpeg/libavcodec/vc1.o:(.data.rel+0x80): multiple definition of `wmv3_decoder'
ffmpeg/libavcodec/vc1dec.o:(.data.rel+0x80): first defined here
collect2: ld returned 1 exit status
make[1]: *** [../../../../system/players/dvdplayer/avcodec-52-x86_64-linux.so] Error 1
make[1]: Leaving directory `/home/brian/xbmc-source/trunk/xbmc/cores/dvdplayer/Codecs'
make: *** [dvdpcodecs] Error 2

Any ideas?

Thanks, Brian
Reply
#2
I've been unable to compile Linux for about 4 days now. 23842 was the last Linux branch that I have been able to build and offer.

oSupport.cpp -o IoSupport.o
In file included from IoSupport.cpp:56:
../FileSystem/iso9660.h:35:26: error: cdio/iso9660.h: No such file or directory
In file included from IoSupport.cpp:56:
../FileSystem/iso9660.h:54: error: âiso723_tâ does not name a type
../FileSystem/iso9660.h:102: error: âiso733_tâ does not name a type
../FileSystem/iso9660.h:103: error: âiso733_tâ does not name a type
make[1]: *** [IoSupport.o] Error 1
make[1]: Leaving directory `/devel/XBMC/xbmc/utils'
make: *** [xbmc/utils/utils.a] Error 2

And I have made sure all my deps are updated Sad
Main Rig [Scorpius] - Core i7 2600k @ 5Ghz. 16 Gig DDR3 1600. 1x HD 6990 1x HD 4870 Hackintosh [Chiana] - Core i5 @ 3.8Ghz. 12 Gig DDR3 Linux [Moya] - Core2 Duo E8200 - 2 Gigs DDR2 800 WHS [Zhaan] - DualCore [email protected] - 4 Gigs DDR2 800 VMC [Jothee] Core2 Quad @ 2.8Ghz 4 Gigs DDR2 800 VMC [Aeryn] Core2 E8400 @ 3.0Ghz 2 Gigs DDR2 800 2TB Server [Talyn] Core2 Quad Q6600 @ 3.0Ghz - 8 Gigs DDR2 1066 FileServer [Crichton] P4 650 3.4GHz - 2 Gigs DDR
Reply
#3
I downgraded to R23842, and still get the same error while building.

At least I know I'm not the only one having problems...

Brian
Reply
#4
TheQuestor Wrote:I've been unable to compile Linux for about 4 days now. 23842 was the last Linux branch that I have been able to build and offer.

oSupport.cpp -o IoSupport.o
In file included from IoSupport.cpp:56:
../FileSystem/iso9660.h:35:26: error: cdio/iso9660.h: No such file or directory
In file included from IoSupport.cpp:56:
../FileSystem/iso9660.h:54: error: âiso723_tâ does not name a type
../FileSystem/iso9660.h:102: error: âiso733_tâ does not name a type
../FileSystem/iso9660.h:103: error: âiso733_tâ does not name a type
make[1]: *** [IoSupport.o] Error 1
make[1]: Leaving directory `/devel/XBMC/xbmc/utils'
make: *** [xbmc/utils/utils.a] Error 2

And I have made sure all my deps are updated Sad

sudo apt-get install libiso9660-dev
Reply
#5
bmillham Wrote:I'm working on a python script, and running the XBMC Ubuntu version 9.04, but have been having problems with what appear to be bugs in XBMC, so I decided to try getting the latest source from SVN, and compiling it.

I have revision 23987, and after running bootstrap and configure, make fails with the following
Code:
make -C ffmpeg
make[2]: Entering directory `/home/brian/xbmc-source/trunk/xbmc/cores/dvdplayer/Codecs/ffmpeg'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/brian/xbmc-source/trunk/xbmc/cores/dvdplayer/Codecs/ffmpeg'
gcc -o ../../../../system/players/dvdplayer/avcodec-52-x86_64-linux.so -shared -fPIC -rdynamic --soname,../../../../system/players/dvdplayer/avcodec-52-x86_64-linux.so ffmpeg/libavcodec/*.o \
        ffmpeg/libavcodec/x86/*.o `cat ../../DllLoader/exports/wrapper.def` ../../DllLoader/exports/wrapper.o
ffmpeg/libavcodec/vc1.o:(.data.rel+0x0): multiple definition of `vc1_decoder'
ffmpeg/libavcodec/vc1dec.o:(.data.rel+0x0): first defined here
ffmpeg/libavcodec/vc1.o:(.data.rel+0x80): multiple definition of `wmv3_decoder'
ffmpeg/libavcodec/vc1dec.o:(.data.rel+0x80): first defined here
collect2: ld returned 1 exit status
make[1]: *** [../../../../system/players/dvdplayer/avcodec-52-x86_64-linux.so] Error 1
make[1]: Leaving directory `/home/brian/xbmc-source/trunk/xbmc/cores/dvdplayer/Codecs'
make: *** [dvdpcodecs] Error 2

Any ideas?

Thanks, Brian

make clean; make; make install
Reply
#6
davilla Wrote:sudo apt-get install libiso9660-dev

Thank you.
Main Rig [Scorpius] - Core i7 2600k @ 5Ghz. 16 Gig DDR3 1600. 1x HD 6990 1x HD 4870 Hackintosh [Chiana] - Core i5 @ 3.8Ghz. 12 Gig DDR3 Linux [Moya] - Core2 Duo E8200 - 2 Gigs DDR2 800 WHS [Zhaan] - DualCore [email protected] - 4 Gigs DDR2 800 VMC [Jothee] Core2 Quad @ 2.8Ghz 4 Gigs DDR2 800 VMC [Aeryn] Core2 E8400 @ 3.0Ghz 2 Gigs DDR2 800 2TB Server [Talyn] Core2 Quad Q6600 @ 3.0Ghz - 8 Gigs DDR2 1066 FileServer [Crichton] P4 650 3.4GHz - 2 Gigs DDR
Reply
#7
After doing

Code:
sudo apt-get install libiso9660-dev
make clean
make

I'm up and running.

Thanks much!!!

BTW, do I have to do a make clean each time I update from SVN, or only when I have a problem?

Brian
Reply
#8
bmillham Wrote:After doing

Code:
sudo apt-get install libiso9660-dev
make clean
make

I'm up and running.

Thanks much!!!

BTW, do I have to do a make clean each time I update from SVN, or only when I have a problem?

Brian

It's a crap shoot and will depends on what changed. Most of the time a make clean is not require but it's the first thing I do when the build barfs and I know it should work. In your case "ffmpeg/libavcodec/vc1" was the give away. vc1 codec was reverted and ffmpeg's build system did not catch the change as we altered it's Makefile.
Reply

Logout Mark Read Team Forum Stats Members Help
[Linux] Unable to compile revision 239870