[mythtv] mythtv cblfs gcc-m64 dvdnav

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Thu Sep 23 18:06:40 UTC 2010


On Thu, Sep 23, 2010 at 06:54:32PM +0100, sibu xolo wrote:
> Greetings,
> 
> I an new to this list.  I am attemping to compile mythtv on a computer with 
> these:-
> 
> a) cpu: amd64-2cores
> b) o/s  cblfslinux 64-bit kernel-2.6.35.4
> c) compiler gcc-4.4.2
> d) gui kde-4.4.5 qt-4.6.2
> 
> 
> I tried the 0.23.1 tarball as well a stuff downloaded from svn. 
> dvdnav seems to be required though I have dvdnav installed in /opt and I 
> included
> --extra-cflags="-I/opt/include"  and --extra=ldflags="-L/opt/lib"  in the   
> configure options before running make.
>  
> the compiler output is shown below:-
> 
> 
> 
> ###################### myth TV compile build fail
> 
> make[2]: Entering directory `$SOURCES/mythtv/libs/libmythdvdnav'
> gcc -c -m64 -pipe -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -
> D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -I/opt/include -
> I/opt/dirac/include -I/opt/lirc/include -I/opt/mysql/include -
> I/usr/local/include -I/opt/ffmpeg/include -std=c99 -fomit-frame-pointer -fPIC 
> -g -Wall -Wno-parentheses -Wno-switch -Wdisabled-optimization -Wpointer-arith 
> -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits 
> -Wundef -Wmissing-prototypes -O3 -fno-math-errno -fno-signed-zeros -fno-tree-
> vectorize -Werror=implicit-function-declaration -Werror=missing-prototypes -w 
> -D_REENTRANT -DMMX -D_GNU_SOURCE -DHAVE_AV_CONFIG_H -
> I/opt/qt-4.6.2/mkspecs/linux-g++-64 -I. -I/usr/include -I/opt/mythtvSVN27810 -
> I. -I../.. -Idvdnav -I../libmythdb -I../libmythtv -o dvdnav.o dvdnav/dvdnav.c
> dvdnav/dvdnav.c: In function 'dvdnav_open':
> dvdnav/dvdnav.c:79: error: 'DVDNAV_SVN_REV' undeclared (first use in this 
> function)
> dvdnav/dvdnav.c:79: error: (Each undeclared identifier is reported only once
> dvdnav/dvdnav.c:79: error: for each function it appears in.)
> dvdnav/dvdnav.c: In function 'dvdnav_audio_stream_format':
> dvdnav/dvdnav.c:932: error: 'DVDNAV_FORMAT_AC3' undeclared (first use in this 
> function)
> dvdnav/dvdnav.c:936: error: 'DVDNAV_FORMAT_MPEGAUDIO' undeclared (first use in 
> this function)
> dvdnav/dvdnav.c:939: error: 'DVDNAV_FORMAT_LPCM' undeclared (first use in this 
> function)
> dvdnav/dvdnav.c:942: error: 'DVDNAV_FORMAT_DTS' undeclared (first use in this 
> function)
> dvdnav/dvdnav.c:945: error: 'DVDNAV_FORMAT_SDDS' undeclared (first use in this 
> function)
> make[2]: *** [dvdnav.o] Error 1
> make[2]: Leaving directory `$SOURCES/mythtv/libs/libmythdvdnav'
> make[1]: *** [sub-libmythdvdnav-make_default] Error 2
> make[1]: Leaving directory `$SOURCES/mythtv/libs'
> make: *** [sub-libs-make_default-ordered] Error 2
> 
> ########################
> 
> help would be appreciated

Do you already have mythtv installed?  It might be looking at the wrong
header files in that case.  After all /usr/include is checked before
dvdnav in the command line above.

-- 
Len Sorensen


More information about the mythtv-dev mailing list