[mythtv] lame_decode_init and lame_decode unresolved symbols
Arthur Baum
arhbaum at fas.harvard.edu
Fri Jul 9 19:46:24 EDT 2004
I'm trying to compile MythTV on a Linux from Scratch box. I get the
following error during make:
cd programs && make -f Makefile
make[1]: Entering directory `/usr/src/mythtv-0.15.1/programs'
cd mythepg && make -f Makefile
make[2]: Entering directory `/usr/src/mythtv-0.15.1/programs/mythepg'
g++ -Wl,-rpath,/opt/qt/lib -o mythepg main.o -L/opt/qt/lib -L/usr/X11R6/
lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavcodec
-L../../libs/libavformat -lmythtv-0.15 -lmythavformat-0.15
-lmythavcodec-0.15 -lmyth-0.15 -lfreetype -lmp3lame -L/usr/X11R6/lib
-lXinerama -lXv -lXxf86vm -lqt-mt -lXext -lX11 -lm -lpthread
../../libs/libmythtv/libmythtv-0.15.so: undefined reference to
`lame_decode_init'
../../libs/libmythtv/libmythtv-0.15.so: undefined reference to `lame_decode'
collect2: ld returned 1 exit status
make[2]: *** [mythepg] Error 1
make[2]: Leaving directory `/usr/src/mythtv-0.15.1/programs/mythepg'
make[1]: *** [sub-mythepg] Error 2
make[1]: Leaving directory `/usr/src/mythtv-0.15.1/programs'
make: *** [sub-programs] Error 2
I have libmp3lame and lame.h installed from version 3.93 of lame:
$ ls -l /usr/lib/libmp3lame*
-rw-r--r-- 1 root root 206150 2003-09-30 22:36 /usr/lib/libmp3lame.a
-rwxr-xr-x 1 root root 668 2003-09-30 22:36 /usr/lib/libmp3lame.la
lrwxrwxrwx 1 root root 19 2003-09-30 22:36 /usr/lib/libmp3lame.so ->
libmp3lame.so.0.0.0
lrwxrwxrwx 1 root root 19 2003-09-30 22:36 /usr/lib/libmp3lame.so.0 ->
libmp3lame.so.0.0.0
-rwxr-xr-x 1 root root 196380 2003-09-30 22:36 /usr/lib/libmp3lame.so.0.0.0
$ ls -l /usr/include/lame/*
-rw-r--r-- 1 root root 36579 2003-09-30 22:36 /usr/include/lame/lame.h
I don't understand why there are undefined references to lame_decode_init
and lame_decode during the compile. Any help would be appreciated.
Art =op
More information about the mythtv-dev
mailing list