[mythtv-users] undefined references on 0.14 (SUSE 9.0)

Greg greg.d at cwgsy.net
Thu Feb 12 17:15:08 EST 2004


Thanks for the suggestions

Got it compiled and installed, gonna make sure I document all of this just
in case anyone else is interested.
It was partly me being a muppet - ffmpeg wasn't installed at all, but that
didn't cure the whole problem, I had to go back to a previous version of
gcc, like you suggested. The version I had installed was 3.3.2 which is a
prerelease.
Before this error I was getting something like /ld cant find -lqt-mt. solved
that by doing:
 
./configure
qmake mythtv.pro
make qmake

and then editing ALL of the makefiles with jedit replacing $(QTDIR) for
/usr/lib/qt3. Worked after that, although I don't know why I had this error
because my QTDIR was set????
Oh and I didn't have to remove -fpic either.

Thanks,
Greg

> 
> Couple 'o steps:
> 
> 1. delete any libmyth* files you may have laying around your 
> system (shouldn't affect anything anyway, but just in case) 
> 2. check your compiler.. a quick google search showed that 
> gcc 3.4 may be buggy -- do a search for "undefined reference 
> to 'bone'" 
> 3. this may be a symbol exported from libavcodec, provided 
> with ffmpeg..
> Try (re)installing ffmpeg first.
> 
> Good luck.
> 
> On Wed, 2004-02-11 at 16:20, Greg wrote:
> > Hi all,
> > 
> > Trying to build 0.14 on SUSE 9.0, had to edit all of the 
> makefiles to 
> > get it this far, now I'm stuck. Does anyone have any idea 
> what's the 
> > matter here, and any tips on how to fix it?
> > 
> > TIA,
> > Greg
> > 
> > 
> > 
> > make[2]: Entering directory
> > `/home/greg/downloads/mythtv/mythtv-0.14/programs/mythepg'
> > g++  -o mythepg main.o   -L/usr/lib/ -L/usr/lib/qt3/lib/
> > -L/usr/X11R6/lib/ -L../../libs/libmyth -L../../libs/libmythtv 
> > -L../../libs/libavcodec -L../../libs/libavformat -lmythtv-0.14
> > -lmythavformat-0.14 -lmythavcodec-0.14 -lmyth-0.14 -lfreetype 
> > -lmp3lame -L/usr/X11R6/lib -lXinerama -lXv -lX11 -lXext -lXxf86vm 
> > -lqt-mt -lXext
> > -lX11 -lm -lpthread
> > ../../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to 
> > `bone'
> > ../../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to 
> > `w05'
> > ../../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to 
> > `wm0101'
> > ../../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to 
> > `wm1010'
> > ../../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to 
> > `wm1100'
> > ../../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to 
> > `ff_pw_3'
> > ../../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to 
> > `ff_pw_20'
> > ../../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to 
> > `d40000'
> > ../../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to 
> > `magicF2W'
> > ../../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to 
> > `w20'
> > collect2: ld returned 1 exit status
> > make[2]: *** [mythepg] Error 1
> > make[2]: Leaving directory
> > `/home/greg/downloads/mythtv/mythtv-0.14/programs/mythepg'
> > make[1]: *** [sub-mythepg] Error 2
> > make[1]: Leaving directory
> > `/home/greg/downloads/mythtv/mythtv-0.14/programs'
> > make: *** [sub-programs] Error 2
> > make: *** Waiting for unfinished jobs....
> > ../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to `bone'
> > ../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to `w05'
> > ../libs/libavcodec/libmythavcodec-0.14.so: undefined reference to 
> > `wm0101'
> > ../libs/libavcodec/libmythavcodec-0.14.so: undefined reference to 
> > `wm1010'
> > ../libs/libavcodec/libmythavcodec-0.14.so: undefined reference to 
> > `wm1100'
> > ../libs/libavcodec/libmythavcodec-0.14.so: undefined reference to 
> > `ff_pw_3'
> > ../libs/libavcodec/libmythavcodec-0.14.so: undefined reference to 
> > `ff_pw_20'
> > ../libs/libavcodec/libmythavcodec-0.14.so: undefined reference to 
> > `d40000'
> > ../libs/libavcodec/libmythavcodec-0.14.so: undefined reference to 
> > `magicF2W'
> > ../libs/libavcodec/libmythavcodec-0.14.so: undefined 
> reference to `w20'
> > collect2: ld returned 1 exit status
> > make[1]: *** [setup] Error 1
> > make[1]: Leaving directory
> > `/home/greg/downloads/mythtv/mythtv-0.14/setup'
> > make: *** [sub-setup] Error 2
> > 
> > 
> > 
> > 
> ______________________________________________________________________
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 



More information about the mythtv-users mailing list