Francesco Romani wrote:
On Mon, 2007-12-31 at 17:31 -0800, David Liontooth wrote:
make[3]: Entering directory
`/share/software/cvs/transcode/transcode-cvs20071231-01/encode'
if /bin/sh ../libtool --tag=CC --mode=compile x86_64-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
-DMOD_PATH=\"/usr/local/lib/transcode\" -I.. -I../src -MT
encode_copy.lo -MD -MP -MF ".deps/encode_copy.Tpo" -c -o encode_copy.lo
encode_copy.c; \
then mv -f ".deps/encode_copy.Tpo" ".deps/encode_copy.Plo"; else
rm -f ".deps/encode_copy.Tpo"; exit 1; fi
mkdir .libs
x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT
-DMOD_PATH=\"/usr/local/lib/transcode\" -I.. -I../src -MT encode_copy.lo
-MD -MP -MF .deps/encode_copy.Tpo -c encode_copy.c -fPIC -DPIC -o
.libs/encode_copy.o
/bin/sh ../libtool --tag=CC --mode=link x86_64-linux-gnu-gcc
-Wl,-z,defs -o encode_copy.la -rpath /usr/local/lib/transcode -module
-avoid-version encode_copy.lo -lm -lz -ldl
x86_64-linux-gnu-gcc -shared .libs/encode_copy.o -lm -lz -ldl -Wl,-z
-Wl,defs -Wl,-soname -Wl,encode_copy.so -o .libs/encode_copy.so
.libs/encode_copy.o: In function `tc_video_frame_size':
encode_copy.c:(.text+0x37): undefined reference to `tc_video_planes_size'
.libs/encode_copy.o: In function `copy_init':
encode_copy.c:(.text+0x13c): undefined reference to `tc_log'
encode_copy.c:(.text+0x174): undefined reference to `tc_log'
encode_copy.c:(.text+0x1c2): undefined reference to `tc_log'
encode_copy.c:(.text+0x1e8): undefined reference to `tc_log'
encode_copy.c:(.text+0x1f8): undefined reference to `verbose'
encode_copy.c:(.text+0x229): undefined reference to `tc_log'
.libs/encode_copy.o: In function `copy_fini':
encode_copy.c:(.text+0x271): undefined reference to `tc_log'
.libs/encode_copy.o: In function `copy_inspect':
encode_copy.c:(.text+0x2be): undefined reference to `tc_log'
encode_copy.c:(.text+0x2d7): undefined reference to `optstr_lookup'
.libs/encode_copy.o: In function `copy_configure':
encode_copy.c:(.text+0x32e): undefined reference to `tc_log'
.libs/encode_copy.o: In function `copy_stop':
encode_copy.c:(.text+0x373): undefined reference to `tc_log'
.libs/encode_copy.o: In function `copy_encode_video':
encode_copy.c:(.text+0x3c0): undefined reference to `tc_log'
encode_copy.c:(.text+0x3ef): undefined reference to `vframe_copy'
.libs/encode_copy.o: In function `copy_encode_audio':
encode_copy.c:(.text+0x441): undefined reference to `tc_log'
encode_copy.c:(.text+0x470): undefined reference to `aframe_copy'
collect2: ld returned 1 exit status
This also happens after a clean build?
Do you redo autoreconf -f -v -i into transcode source root?
I tried again with a straight make and it compiled fine; sorry about the
noise. I was trying to create a debian package using dh_make -s and
fakeroot dpkg-buildpackage, which ended up in this error. Is there a
better way to build a .deb from transcode?
The HEAD cvs probes flv correctly:
$ /opt/bin/tcprobe -i *flv
[tcprobe] FLV stream
[tcprobe] summary for file.flv, (*) = not default, 0 = not detected
import frame size: -g 320x240 [720x576] (*)
frame rate: -f 29.917 [25.000] frc=0 (*)
audio track: -a 0 [0] -e 44100,16,2 [48000,16,2] -n 0x1 [0x2000] (*)
bitrate=96 kbps
Cheers,
Dave