Page 1 of 1

Compilation errors on Debian

Posted: Thu Mar 24, 2005 6:14 pm
by HipShot
First, thank you for the promising software. This looks to be exactly what I need.

On to the problem:

I'm attempting to compile on Debian unstable. This problem occurs with both 1.20 and 1.21.

Here's a partial of the attempt:

/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libavcodec.a(dtsdec.o)(.text+0x33d): In function `dts_decode_frame':
: undefined reference to `dts_frame'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libavcodec.a(dtsdec.o)(.text+0x395): In function `dts_decode_frame':
: undefined reference to `dts_blocks_num'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libavcodec.a(dtsdec.o)(.text+0x3bf): In function `dts_decode_frame':
: undefined reference to `dts_block'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libavcodec.a(dtsdec.o)(.text+0x3fd): In function `dts_decode_frame':
: undefined reference to `dts_samples'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libavcodec.a(dtsdec.o)(.text+0x485): In function `dts_decode_frame':
: undefined reference to `dts_syncinfo'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libavcodec.a(dtsdec.o)(.text+0x51e): In function `dts_decode_init':
: undefined reference to `dts_init'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1

Please tell me that I'm doing something embarassing.

Posted: Thu Mar 24, 2005 9:23 pm
by donatmote
I am also using Debian Sid -- I had to add libdts to the liib line of the Makefile -- both at the top and src/ levels... i.e.

-lavformat -lavcodec -lpcre -lcrypto -lmysqlclient -ldl -lz -ljpeg -\ldts

Regards.

Don