[mythtv-users] SVN - compile error - libavcodec

Michael T. Dean mtdean at thirdcontact.com
Tue Dec 23 14:27:11 UTC 2008


On 12/23/2008 06:46 AM, A JM wrote:
> Thanks for that Geoff that seems to have gotten me over the qt3 hump and its
> no compiling w/qt4.
>
> In conjunction with your suggestion I also deleted the Makefiles again like
> Mike suggested before compiling.
>
> *find . -name 'Makefile' -delete
> ./configure --enable-xvmc --enable-opengl-vsync --enable-proc-opt
> --enable-dvb --with-bindings=perl --qmake=/usr/bin/qmake-qt4
> --compile-type=release
> /usr/bin/qmake-qt4 mythtv.pro
> make*
>
> I'm seeing a different error though, any ideas guys?
>
> gcc -c -pipe -march=athlon-xp -fomit-frame-pointer -O3 -D_ISOC99_SOURCE
> -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pthread -Wall -Wno-switch
> -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign
> -Wcast-qual -funit-at-a-time -Wwrite-strings -fno-math-errno -w -D_REENTRANT
> -DPIC -fPIC -DQT_SHARED -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -DPREFIX="/usr/local" -DLIBDIR="/usr/local/lib" -DHAVE_AV_CONFIG_H
> -D_LARGEFILE_SOURCE -I/usr/share/qt4/mkspecs/linux-g++ -I. -I.. -I../.. -I.
> -o mpeg.o mpeg.c
> gcc -c -pipe -march=athlon-xp -fomit-frame-pointer -O3 -D_ISOC99_SOURCE
> -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pthread -Wall -Wno-switch
> -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign
> -Wcast-qual -funit-at-a-time -Wwrite-strings -fno-math-errno -w -D_REENTRANT
> -DPIC -fPIC -DQT_SHARED -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -DPREFIX="/usr/local" -DLIBDIR="/usr/local/lib" -DHAVE_AV_CONFIG_H
> -D_LARGEFILE_SOURCE -I/usr/share/qt4/mkspecs/linux-g++ -I. -I.. -I../.. -I.
> -o mpegts.o mpegts.c
> mpegts.c:25:30: error: libmythdb/compat.h: No such file or directory
> make[2]: *** [mpegts.o] Error 1
> make[2]: Leaving directory `/home/mythtv/mythtv/libs/libavformat'
> make[1]: *** [sub-libavformat-make_default-ordered] Error 2
> make[1]: Leaving directory `/home/mythtv/mythtv/libs'
> make: *** [sub-libs-make_default-ordered] Error 2

This time, you need to delete all the system libs and includes for mythtv.

rm -r /usr/{,local/}lib/{libmyth*,mythtv}
rm /usr/{,local/}include/mythtv

Also, do you have a /really/ good reason for moving to trunk?  There's 
/much/ to be said for running a production mythtv box on -fixes.  (IMHO, 
the completely unfinished VDPAU is /not/ a good reason to move to 
trunk.  As for HD-PVR, I'll let you decide.)  Note that when running 
trunk you should sign up for and read all the messages on the mythtv-dev 
and mythtv-commits lists.  Doing so takes quite a bit of time--I'm 
saying this from personal experience:  I keep up with those lists (since 
I have a development system that doesn't record anything that I use 
specifically for making patches for Myth) though I run 0.21-fixes on my 
5 production MythTV boxes.  My production systems just work.  I spend a 
/lot/ of time and effort keeping up with the changes in trunk.  So, are 
you looking for a DVR or for a hobby (to do instead of using the DVR)?  :)

Mike


More information about the mythtv-users mailing list