Compilation errors on Debian

Support and queries relating to all previous versions of ZoneMinder
Locked
HipShot
Posts: 1
Joined: Thu Mar 24, 2005 6:09 pm

Compilation errors on Debian

Post 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.
donatmote
Posts: 31
Joined: Mon Jan 24, 2005 6:06 pm
Location: Sarasota, FL US

Post 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
Don Hayward
Mote Marine Laboratory
Locked