[mythtv] Can't compile (dvdnav problems)

Oscar Curero oscar-listas at naiandei.net
Tue May 1 19:38:01 UTC 2007

Anduin Withers wrote:
> > ../../libs/libmythtv/libmythtv-0.20.so: undefined reference to
> > `dvdnav_time_search_within_cell'
> > ../../libs/libmythtv/libmythtv-0.20.so: undefined reference to
> > `dvdnav_menu_supported'
> [...]
> > I uninstalled all dvdnav references and nothing changed. Am I missing
> > something?
> Those should be resolved by libmythdvdnav, which is a static lib and so
> shouldn't be creating external dependencies for those functions (it is
> linked in to libmythtv). In other words look at when libmythtv is being
> built.
When building mythfilldatabase I have the same problem:

ccache g++  -o mythfilldatabase filldata.o channeldata.o icondata.o 
xmltvparser.o fillutil.o 
main.o    -L/usr/lib/ -L/usr/lib/qt3/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 -lz -lmp3lame -lasound -L/opt/kde3/lib -lartsc -L/opt/gnome/lib -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -ljack -lraw1394 -liec61883 -lavc1394 -lrom1394 -L/usr/lib/ -L/usr/X11R6/lib/ -lXinerama -lXv -lXxf86vm -lXrandr -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
../../libs/libmythtv/libmythtv-0.20.so: undefined reference to 
../../libs/libmythtv/libmythtv-0.20.so: undefined reference to 
collect2: ld returned 1 exit status
make: *** [mythfilldatabase] Error 1

Both libmythdvdnav and libmythtv seems to compile without problems. I even 
tried in another computer running suse 10.2 and it gives me the same error.

I'm going to open a new bug, as when I try 0.20 there are not any problems.

Oscar Curero - Linux user: 306877
--    GPG keyID: 0xE0EA0B24    -- 

More information about the mythtv-dev mailing list