[mythtv] Problem compiling SVN
William Munson
wmunson at rochester.rr.com
Sun Sep 24 21:02:11 UTC 2006
Tom Lichti wrote:
> Not sure when this started happening, I sometime after revision 11178,
> when I try to compile current SVN 11285, I get the error below. This is
> with a fresh checkout of SVN into a new directory.
>
> My configure options are as follows:
>
> ./configure --arch=pentium3 --enable-proc-opt --compile-type=debug
>
> And it always fails here:
>
> distcc -c -pipe -march=pentium3 -I/usr/include/kde/artsc -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -g
> -D_REENTRANT -DPIC -fPIC -DMMX -Di386 -DUSING_FREEBOX -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
> -DLIBDIR=\"/usr/local/lib\" -DUSING_OSS -DUSE_ALSA -DUSE_JOYSTICK_MENU
> -DUSE_LIRC -DUSE_ARTS -DUSE_JACK -DUSING_XRANDR -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_NO_DEBUG -I/usr/share/qt3/mkspecs/default -I.
> -I../../../../include -I../../../../../X11R6/include
> -I../libmythsamplerate -I../libmythsoundtouch -I../.. -I..
> -I../../../../../include/qt3 -o moc_screensaver-x11.o
> moc_screensaver-x11.cpp
> rm -f libmyth-0.20.so.0.20.0 libmyth-0.20.so libmyth-0.20.so.0
> libmyth-0.20.so.0.20
> distcc g++ -shared -Wl,-soname,libmyth-0.20.so.0 -o
> libmyth-0.20.so.0.20.0 dialogbox.o lcddevice.o mythcontext.o
> mythwidgets.o oldsettings.o remotefile.o settings.o util.o mythwizard.o
> uitypes.o xmlparse.o mythplugin.o mythdialogs.o audiooutput.o
> httpcomms.o mythmedia.o uilistbtntype.o generictree.o managedlist.o
> DisplayRes.o volumecontrol.o volumebase.o audiooutputbase.o dbsettings.o
> screensaver.o screensaver-null.o output.o langsettings.o mythdbcon.o
> audiooutputnull.o DisplayResScreen.o util-x11.o qmdcodec.o
> virtualkeyboard.o mythobservable.o mythsocket.o audiooutputoss.o
> mythhdd.o mythcdrom.o mythmediamonitor.o mythcdrom-linux.o
> audiooutputalsa.o jsmenu.o jsmenuevent.o lirc.o lircevent.o
> audiooutputarts.o bio2jack.o audiooutputjack.o screensaver-x11.o
> DisplayResX.o moc_dialogbox.o moc_lcddevice.o moc_mythcontext.o
> moc_mythwidgets.o moc_settings.o moc_mythwizard.o moc_uitypes.o
> moc_mythdialogs.o moc_httpcomms.o moc_mythmedia.o moc_uilistbtntype.o
> moc_managedlist.o moc_virtualkeyboard.o moc_mythcdrom.o
> moc_mythmediamonitor.o moc_jsmenu.o moc_lirc.o moc_screensaver-x11.o
> -L/usr/share/qt3/lib -L../libmythsamplerate -lmythsamplerate-0.20
> -L../libmythsoundtouch -lmythsoundtouch-0.20 -llirc_client -lfreetype
> -lmp3lame -lasound -L/usr/lib -lartsc -lgmodule-2.0 -ldl -lgthread-2.0
> -lglib-2.0 -ljack -L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lXrandr
> -lqt-mt -lXext -lX11 -lm -lpthread
> /usr/lib/libc_nonshared.a(atexit.oS)(.text.__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[11169] ERROR: compile (null) on localhost failed
> make[2]: *** [libmyth-0.20.so.0.20.0] Error 1
> make[2]: Leaving directory `/usr/local/src/mythtv/libs/libmyth'
> make[1]: *** [sub-libmyth] Error 2
> make[1]: Leaving directory `/usr/local/src/mythtv/libs'
> make: *** [sub-libs] Error 2
>
> I've tried everything I can think of, not sure where to go from here.
> I'm going to try reverting back a few revisions and see if I can narrow
> it down, but any advice would be great.
>
>
I see the same problem when attempting to compile on the xbox and using
distcc. No problems compiling the same code with only ccache and not
trying to distribute. I attributed it to incompatible gcc version
between my debian (xebian) frontend and my FC4 main system. If you can
figure it out, I would be able to shrink the compile time down from the
16 hours it takes now.
By the way devs, great work here!
Bill
More information about the mythtv-dev
mailing list