[mythtv-users] Compile Error Appearing on 0.20.2

Christopher Thielen chris at luethy.net
Mon Sep 10 09:06:53 UTC 2007

    I'm having difficulty switching to MythTV 0.20.2 from source:

cd libmyth && make -f Makefile
make[2]: Entering directory `/usr/local/src/mythtv-0.20.2/libs/libmyth'
rm -f libmyth-0.20.2.so.0.20.2 libmyth-0.20.2.so libmyth-0.20.2.so.0 
g++ -shared -Wl,-soname,libmyth-0.20.2.so.0 -o libmyth-0.20.2.so.0.20.2 
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.2 -L../libmythsoundtouch 
-lmythsoundtouch-0.20.2 -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
In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
first defined here
collect2: ld returned 1 exit status
make[2]: *** [libmyth-0.20.2.so.0.20.2] Error 1
make[2]: Leaving directory `/usr/local/src/mythtv-0.20.2/libs/libmyth'
make[1]: *** [sub-libmyth] Error 2
make[1]: Leaving directory `/usr/local/src/mythtv-0.20.2/libs'
make: *** [sub-libs] Error 2

MythTV 0.20 compiles fine and I've been using it for months.

I did some research and get_pc_thunk.bx is a common routine used in 
g++-generated assembly code to get teh contents of the ebx register - 
any idea why I would have this as a compile error though?

This is using kernel 2.6.13-2 with g++ 3.3.5 and glibc 2.3.6-2.

Christopher Thielen

More information about the mythtv-users mailing list