[mythtv-users] Error when compiling SVN on XBOX?? any ideas?

Chad masterclc at gmail.com
Mon Jan 30 03:08:09 UTC 2006


On 1/29/06, A JM <vbtalent at gmail.com> wrote:
> Well I finally got over the hump of the build-deep problem with my XBOX as
> it turns out I just had to use a more recent version of Xebian, I was using
> 1.1.2 and didn't realize 1.1.4 was available. I ran 'apt-get build-dep
> mythtv' and all appeared to be fine and I was able to still boot Xebian.
>
> So, I've finally gotten to the point where I can try and compile Myth and I
> get the follwoing error, hopefully someone can help me out.
>
>
> xbox:/usr/src/mythtv# make
> cd libs && make -f Makefile
> make[1]: Entering directory `/usr/src/mythtv/libs'
> cd libavutil && make -f Makefile
> make[2]: Entering directory
> `/usr/src/mythtv/libs/libavutil'
> distcc gcc -c -pipe -march=pentium3 -w -O3 -Wall -Wno-switch
> -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -DUSING_DBOX2
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
> -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE
> -I/usr/share/qt3/mkspecs/default -I. -I.. -I../.. -o
> mathematics.o mathematics.c
> distcc gcc -c -pipe -march=pentium3 -w -O3 -Wall -Wno-switch
> -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -DUSING_DBOX2
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
> -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE
> -I/usr/share/qt3/mkspecs/default -I. -I.. -I../.. -o
> integer.o integer.c
> distcc gcc -c -pipe -march=pentium3 -w -O3 -Wall -Wno-switch
> -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -DUSING_DBOX2
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
> -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE
> -I/usr/share/qt3/mkspecs/default -I. -I.. -I../.. -o
> rational.o rational.c
> distcc gcc -c -pipe -march=pentium3 -w -O3 -Wall -Wno-switch
> -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -DUSING_DBOX2
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
> -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE
> -I/usr/share/qt3/mkspecs/default -I. -I.. -I../.. -o
> intfloat_readwrite.o intfloat_readwrite.c
> rm -f libmythavutil-0.18.so.0.18.0 libmythavutil-0.18.so
> libmythavutil-0.18.so.0 libmythavutil-0.18.so.0.18
> distcc g++ -shared -Wl,-soname,libmythavutil-0.18.so.0 -o
> libmythavutil-0.18.so.0.18.0 mathematics.o integer.o rational.o
> intfloat_readwrite.o    -lpthread
> mathematics.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):
> In function `__i686.get_pc_thunk.bx':
> : multiple definition of `__i686.get_pc_thunk.bx'
> /usr/lib/gcc-lib/i486-linux/3.3.5/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):
> first defined here
> collect2: ld returned 1 exit status
> distcc[11058] ERROR: compile (null) on localhost failed
> make[2]: *** [libmythavutil-0.18.so.0.18.0] Error 1
> make[2]: Leaving directory `/usr/src/mythtv/libs/libavutil'
> make[1]: *** [sub-libavutil] Error 2
> make[1]: Leaving directory `/usr/src/mythtv/libs'
> make: *** [sub-libs] Error 2
>
>
> _______________________________________________

Looks to me to be a GCC failure, I tend to get these when things get
"hot".  I see distcc is at work, what about ccache?  Might save you
some heat if you can get past those early compiles faster.  Another
option might be to completely remove your xbox from the build process
via DISTCC_HOSTS, just don't list localhost

Chad


More information about the mythtv-users mailing list