[mythtv] Can't compile firewire support

Zach White zwhite-mythtv-dev at darkstar.frop.org
Thu Jun 22 17:31:01 UTC 2006


Hello Everyone,

I posted this to users, but didn't receive a single response there. Before
I submit this to trac I'm following the documented proceedure and posting
it here as well.

I'm trying to compile mythtv on a brand new slackware 10.2 installation. I
have one of the motorola 6200 cable boxes with an enabled firewire port 
and would like to use it. I've compiled and installed libavc1394 0.5.3,
libdc1394 1.2.1, libiec61883 1.0.0, and libraw1394 1.2.1, and configured
it with "--enable-directfb --enable-dc1394 --enable-firewire 
--disable-distcc".

My toolchain is gcc 3.3.6 with binutils 2.15.92.0.2, glibc 2.3.5 and qt 
3.3.4. If there are other versions that need to be known I can report
those as well.

I get the following linking error when compiling mythtv 0.19.

g++ -Wl,-rpath,/usr/lib/qt/lib -o mythtv main.o    -L/usr/lib/qt/lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec -L../../libs/libavformat -lmythtv-0.19 -lmythavformat-0.19 -lmythavutil-0.19 -lmythavcodec-0.19 -lmyth-0.19 -lfreetype -lmp3lame -lasound -lraw1394 -liec61883 -lavc1394 -L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lXrandr -lqt-mt -lXext -lX11 -lm -lpthread
../../libs/libavformat/libmythavformat-0.19.so: undefined reference to `dc1394_init'
../../libs/libavformat/libmythavformat-0.19.so: undefined reference to `dv1394_init'
collect2: ld returned 1 exit status

When I try svn, checked out this morning around 10am PDT, I get the 
following error.

ccache g++ -Wl,-rpath,/usr/lib/qt/lib -o mythtv main.o    -L/usr/lib/qt/lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec -L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui -L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.19 -lmythavformat-0.19 -lmythavutil-0.19 -lmythavcodec-0.19 -lmythfreemheg-0.19 -lmythupnp-0.19 -lmythlivemedia-0.19 -lmyth-0.19 -lmythui-0.19 -lfreetype -lmp3lame -lasound -lraw1394 -liec61883 -lavc1394 -L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lXrandr -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
../../libs/libavformat/libmythavformat-0.19.so: undefined reference to `dc1394_init'
collect2: ld returned 1 exit status

I get the same linking issue both with and without the use of ccache.

Can anyone suggest a reason this is happening? 

-Zach


More information about the mythtv-dev mailing list