[mythtv] mythepg doesn't link properly in cvs ...

Joel Brauer jbrauer at lasierra.edu
Tue Sep 30 18:25:17 EDT 2003


I am having a problem compiling mythtv from cvs

Here is the output:
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/libvbitext -L../../libs/libavformat 
-lmythtv  -lavcodec -lavformat -lvbitext -lmyth-0.12 -L/usr/X11R6/lib 
-lXinerama -lXv -lX11 -lXext -lXxf86vm -lfreetype -lmp3lame -lqt-mt 
-lXext -lX11 -lm -lpthread
../../libs/libavformat/libavformat.a(asf.o)(.text+0x141b): In function 
`asf_write_packet':
: undefined reference to `av_rescale'
../../libs/libavformat/libavformat.a(avidec.o)(.text+0xb42): In function 
`avi_read_packet':
: undefined reference to `av_realloc'
../../libs/libavformat/libavformat.a(avienc.o)(.text+0x1978): In 
function `avi_write_packet':
: undefined reference to `av_realloc'
../../libs/libavformat/libavformat.a(aviobuf.o)(.text+0x10b3): In 
function `dyn_buf_write':
: undefined reference to `av_realloc'
../../libs/libavformat/libavformat.a(cutils.o)(.text+0x1a2): In function 
`__dynarray_add':
: undefined reference to `av_realloc'
../../libs/libavformat/libavformat.a(mov.o)(.text+0x348): In function 
`mov_read_ctab':
: undefined reference to `av_realloc'
../../libs/libavformat/libavformat.a(mpegts.o)(.text+0x8e9): In function 
`pat_scan_cb':
: undefined reference to `av_strdup'
../../libs/libavformat/libavformat.a(mpegts.o)(.text+0x8fd): In function 
`pat_scan_cb':
: undefined reference to `av_strdup'
../../libs/libavformat/libavformat.a(mpegtsenc.o)(.text+0x748): In 
function `mpegts_add_service':
: undefined reference to `av_strdup'
../../libs/libavformat/libavformat.a(mpegtsenc.o)(.text+0x756): In 
function `mpegts_add_service':
: undefined reference to `av_strdup'
../../libs/libavformat/libavformat.a(utils.o)(.text+0xf59): In function 
`av_find_stream_info':
: undefined reference to `av_reduce'
../../libs/libavformat/libavformat.a(4xm.o)(.text+0x371): In function 
`fourxm_read_header':
: undefined reference to `av_realloc'
collect2: ld returned 1 exit status
make: *** [mythepg] Error 1

This is on SuSE 8.2 on a athlon 1.4Ghz machine.
/etc/ld.so.conf:
/usr/X11R6/lib/Xaw95
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/i486-linux/lib
/usr/i486-linux-libc5/lib=libc5
/usr/i486-linux-libc6/lib=libc6
/usr/i486-linuxaout/lib
/usr/i386-suse-linux/lib
/usr/local/lib
/usr/openwin/lib
/opt/kde/lib
/opt/kde2/lib
/opt/kde3/lib
/opt/gnome/lib
/opt/gnome2/lib

I currently have 0.11 compiled/running perfectly, but want to upgrade so 
I can get nuvexport to work.  any ideas are appreciated.

Thanx,

-- 
Joel Brauer
Programmer/Analyst
La Sierra University
(909) 785-2308




More information about the mythtv-dev mailing list