Greetings,

I'm not sure my previous post made it in. let me try again.

I am have two issues which I cannot seem to resolve. I downloaded,
configure --enable-shared/make/make installed libmp3lame. all fine.

After ensuring the path for the headers, libs, etc. are configured
correctly,
for transcode, configure indicated that a 'test program could not be
compiled'
and was 'missing lame.h' . Again, I checked the path and couldn't find any
problems with this.

No matter as I then dissabled its use with the config option at which the
configure
worked just fine. However, make produced this error:

.
.
.
<snip>
gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-g -O2 -o tcdecode tcdecode-tcdecode.o tcdecode-decode_ac3.o
tcdecode-decode_mpeg2.otcdecode-decode_yuv.o tcdecode-fileinfo.o
tcdecode-ioaux.o tcdecode-decode_dv.otcdecode-decode_mp3.o tcdecode-mpg123.o
tcdecode-decode_a52.o tcdecode-decode_af6.o tcdecode-scan_dv.o
tcdecode-decode_lavc.o tcdecode-decode_xvid.o tcdecode-decode_ogg.o
tcdecode-decode_mov.o tcdecode-decode_lzo.o  -L/usr/local/lib -lavcodec
-L/usr/lib /usr/local/lib/libmpeg2.so ../libac3/.libs/libac3_tc.a
../libvo/.libs/libvout.a ../aclib/.libs/libac.a ../libtc/.libs/libtc.a -lm
-lz -ldl   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
tcdecode-decode_mpeg2.o: In function `decode_mpeg2':
/home/itslab/transcode-1.0.7/import/decode_mpeg2.c:142: undefined reference
to ` mpeg2convert_rgb24'
collect2: ld returned 1 exit status
make[3]: *** [tcdecode] Error 1
make[3]: Leaving directory `/home/itslab/transcode-1.0.7/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/itslab/transcode-1.0.7/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/itslab/transcode-1.0.7'
make: *** [all] Error 2
<snip>

I noticed that this only included: -L/usr/lib /usr/local/lib/libmpeg2.so
but NOT libmpeg2convert.so, which is where the
function, mpeg2convert_rgb24,  is located, e.g.:

<snip>
roadstripe:/usr/local/lib# nm -a libmpeg2convert.so | grep mpeg2convert
00004f90 T mpeg2convert_bgr15
00004ff0 T mpeg2convert_bgr16
00005050 T mpeg2convert_bgr24
000050b0 T mpeg2convert_bgr32
00004f30 T mpeg2convert_bgr8
000046b0 T mpeg2convert_rgb
00005170 T mpeg2convert_rgb15
000051d0 T mpeg2convert_rgb16
00005230 T mpeg2convert_rgb24
00005290 T mpeg2convert_rgb32
00005110 T mpeg2convert_rgb8
00005b20 T mpeg2convert_rgb_mmx
00005ad0 T mpeg2convert_rgb_mmxext
00005570 T mpeg2convert_uyvy
<snip>

thanks!
Ted

Reply via email to