[mythtv-users] please help to resolve such problem about compiling mythtv

Xi Jiarong XiJiarong at sp.edu.sg
Tue Mar 6 09:29:10 UTC 2007

I have installed those dependecies and package through yum install ...;
Moreove, when I tried to compile myth, there were always the same errors:
but I am sure that I have installed libdvdnav.

(the following contents are from terminal:)
[root at localhost mythtv]# make
g++ -c -pipe -pthread -I/usr/include/kde/artsc -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Wall -W -O3 -fomit-frame-pointer -Wall
-Wno-switch -Wno-non-virtual-dtor -fomit-frame-pointer -pthread
-DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt- 3.3/mkspecs/freebsd-g++ -I.
-I/usr/local/include -I../.. -I../../libs -I../../libs/libmyth
-I../../libs/libmythtv -I../../libs/libavutil -I../../libs/libavformat
-I../../libs/libavcodec -I../../libs/libmythupnp -I../../libs/libmythui
-I../../libs/libmythlivemedia -I/usr/local/include -I/usr/lib/qt- 3.3
/include -o main.o main.cpp
g++ -pthread -o mythtv main.o    -L/usr/local/lib -L/usr/lib/qt-3.3/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.20
-lmythavformat-0.20 -lmythavutil-0.20 -lmythavcodec-0.20
-lmythfreemheg-0.20 -lmythupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20
-lmythui-0.20 -lfreetype -lmp3lame -lasound -L/lib -lartsc -lpthread
-lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0 -lraw1394 -liec61883
-lavc1394 -lrom1394 -lXinerama -lXv -lXxf86vm -lXrandr -lqt-mt -lGLU -lGL
-lXmu -lXext -lX11 -lm

/usr/local/lib/libmythtv-0.20.so : undefined reference to
/usr/local/lib/libmythtv-0.20.so: undefined reference to
collect2: ld returned 1 exit status
make[2]: *** [mythtv] Error 1
make[2]: Leaving directory `/home/mythtv/trunk/mythtv/programs/mythtv'
make[1]: *** [sub-mythtv] Error 2
make[1]: Leaving directory `/home/mythtv/trunk/mythtv/programs'
make: *** [sub-programs] Error 2
[root at localhost mythtv]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070306/8171be93/attachment.htm 

More information about the mythtv-users mailing list