Strange 'make' vorbis related errors..please help!! :(

Support and queries relating to all previous versions of ZoneMinder
Locked
jordan
Posts: 1
Joined: Mon Jan 10, 2005 8:26 am

Strange 'make' vorbis related errors..please help!! :(

Post by jordan »

(warning, lots of info!)
Hi everyone,

First let's get the necessary out of the way:

---------------------------
zm-1.19.5
Debian (testing) Linux with custom kernel (v2.4.9)
ffmpeg-0.4.9-pre1 (built from source with "./configure --enable-mp3lame --enable-vorbis" - and also tried as debian package)
---------------------------
# dpkg -l | grep mysql
ii libdbd-mysql-p 2.9003-3 A Perl5 database interface to the MySQL data
ii libmysqlclient 3.23.56-2 LGPL-licensed client library for MySQL datab
ii libmysqlclient 4.0.23-1 mysql database client library
ii libmysqlclient 4.0.23-1 mysql database development files
ii mysql-client 4.0.23-1 mysql database client binaries
ii mysql-common 4.0.23-1 mysql database common files (e.g. /etc/mysql
ii mysql-server 4.0.23-1 mysql database server binaries
---------------------------
# dpkg -l | grep lame
ii lame 3.96-1 LAME Ain't an MP3 Encoder
ii lame-extras 3.96-1 LAME Ain't an MP3 Encoder
ii liblame-dev 3.96-1 LAME Ain't an MP3 Encoder
ii liblame0 3.96-1 LAME Ain't an MP3 Encoder
ii toolame 02i-2 MPEG-1 layer 2 audio encoder
---------------------------

Basically, at this point I've installed everything vorbis/lame related, and I *still* get the following errors from the 'make' procedure:

----------------------------
# ./configure --with-ffmpeg=/usr/lib --with-lame=/usr/lib --with-mysql=/usr --with-webdir=/var/www --with-cgidir=/var/www/cgi-bin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
configure: WARNING: You can call configure with the --with-webuser option.
This tells configure what the user name of the web user is if it is not the default of 'apache'.
e.g. --with-webuser=apache or --with-webuser=web
configure: WARNING: You can call configure with the --with-webgroup option.
This tells configure what the group name of the web group is if it is not the default of 'apache'.
e.g. --with-webgroup=apache or --with-webgroup=web
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking how to run the C++ preprocessor... g++ -E
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking whether round is declared... yes
checking whether strsignal is declared... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for compress in -lz... yes
checking for dlsym in -ldl... yes
checking for mysql_init in -lmysqlclient... yes
checking for pcre_compile in -lpcre... yes
checking for avcodec_init in -lavcodec... yes
checking for av_new_stream in -lavformat... yes
checking for lame_init in -lmp3lame... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating web/Makefile
config.status: creating scripts/Makefile
config.status: creating db/Makefile
config.status: creating zmconfig.pl
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
checking for zmconfig.txt... yes
td-linux:/usr/src/zm-1.19.5# make
make all-recursive
make[1]: Entering directory `/usr/src/zm-1.19.5'
Making all in src
make[2]: Entering directory `/usr/src/zm-1.19.5/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" \
-c -o zmc.o `test -f 'zmc.cpp' || echo './'`zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; \
else rm -f ".deps/zmc.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm.o -MD -MP -MF ".deps/zm.Tpo" \
-c -o zm.o `test -f 'zm.cpp' || echo './'`zm.cpp; \
then mv -f ".deps/zm.Tpo" ".deps/zm.Po"; \
else rm -f ".deps/zm.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_db.o -MD -MP -MF ".deps/zm_db.Tpo" \
-c -o zm_db.o `test -f 'zm_db.cpp' || echo './'`zm_db.cpp; \
then mv -f ".deps/zm_db.Tpo" ".deps/zm_db.Po"; \
else rm -f ".deps/zm_db.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_config.o -MD -MP -MF ".deps/zm_config.Tpo" \
-c -o zm_config.o `test -f 'zm_config.cpp' || echo './'`zm_config.cpp; \
then mv -f ".deps/zm_config.Tpo" ".deps/zm_config.Po"; \
else rm -f ".deps/zm_config.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_coord.o -MD -MP -MF ".deps/zm_coord.Tpo" \
-c -o zm_coord.o `test -f 'zm_coord.cpp' || echo './'`zm_coord.cpp; \
then mv -f ".deps/zm_coord.Tpo" ".deps/zm_coord.Po"; \
else rm -f ".deps/zm_coord.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_box.o -MD -MP -MF ".deps/zm_box.Tpo" \
-c -o zm_box.o `test -f 'zm_box.cpp' || echo './'`zm_box.cpp; \
then mv -f ".deps/zm_box.Tpo" ".deps/zm_box.Po"; \
else rm -f ".deps/zm_box.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_image.o -MD -MP -MF ".deps/zm_image.Tpo" \
-c -o zm_image.o `test -f 'zm_image.cpp' || echo './'`zm_image.cpp; \
then mv -f ".deps/zm_image.Tpo" ".deps/zm_image.Po"; \
else rm -f ".deps/zm_image.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_eve -c -o zm_event.o `test -f 'zm_event.cpp' || echo './'`zm_event.cpp; \
then mv -f ".deps/zm_event.Tpo" ".deps/zm_event.Po"; \
else rm -f ".deps/zm_event.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_zone.o -MD -MP -MF ".deps/zm_zone.Tpo" \
-c -o zm_zone.o `test -f 'zm_zone.cpp' || echo './'`zm_zone.cpp; \
then mv -f ".deps/zm_zone.Tpo" ".deps/zm_zone.Po"; \
else rm -f ".deps/zm_zone.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_camera.o -MD -MP -MF ".deps/zm_camera.Tpo" \
-c -o zm_camera.o `test -f 'zm_camera.cpp' || echo './'`zm_camera.cpp; \
then mv -f ".deps/zm_camera.Tpo" ".deps/zm_camera.Po"; \
else rm -f ".deps/zm_camera.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_local_camera.o -MD -MP -MF ".deps/zm_local_camera.Tpo" \
-c -o zm_local_camera.o `test -f 'zm_local_camera.cpp' || echo './'`zm_local_camera.cpp; \
then mv -f ".deps/zm_local_camera.Tpo" ".deps/zm_local_camera.Po"; \
else rm -f ".deps/zm_local_camera.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_remote_camera.o -MD -MP -MF ".deps/zm_remote_camera.Tpo" \
-c -o zm_remote_camera.o `test -f 'zm_remote_camera.cpp' || echo './'`zm_remote_camera.cpp; \
then mv -f ".deps/zm_remote_camera.Tpo" ".deps/zm_remote_camera.Po"; \
else rm -f ".deps/zm_remote_camera.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_monitor.o -MD -MP -MF ".deps/zm_monitor.Tpo" \
-c -o zm_monitor.o `test -f 'zm_monitor.cpp' || echo './'`zm_monitor.cpp; \
then mv -f ".deps/zm_monitor.Tpo" ".deps/zm_monitor.Po"; \
else rm -f ".deps/zm_monitor.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_mpeg.o -MD -MP -MF ".deps/zm_mpeg.Tpo" \
-c -o zm_mpeg.o `test -f 'zm_mpeg.cpp' || echo './'`zm_mpeg.cpp; \
then mv -f ".deps/zm_mpeg.Tpo" ".deps/zm_mpeg.Po"; \
else rm -f ".deps/zm_mpeg.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_regexp.o -MD -MP -MF ".deps/zm_regexp.Tpo" \
-c -o zm_regexp.o `test -f 'zm_regexp.cpp' || echo './'`zm_regexp.cpp; \
then mv -f ".deps/zm_regexp.Tpo" ".deps/zm_regexp.Po"; \
else rm -f ".deps/zm_regexp.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_buffer.o -MD -MP -MF ".deps/zm_buffer.Tpo" \
-c -o zm_buffer.o `test -f 'zm_buffer.cpp' || echo './'`zm_buffer.cpp; \
then mv -f ".deps/zm_buffer.Tpo" ".deps/zm_buffer.Po"; \
else rm -f ".deps/zm_buffer.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_debug.o -MD -MP -MF ".deps/zm_debug.Tpo" \
-c -o zm_debug.o `test -f 'zm_debug.c' || echo './'`zm_debug.c; \
then mv -f ".deps/zm_debug.Tpo" ".deps/zm_debug.Po"; \
else rm -f ".deps/zm_debug.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/include -g -O2 -MT zm_jpeg.o -MD -MP -MF ".deps/zm_jpeg.Tpo" \
-c -o zm_jpeg.o `test -f 'zm_jpeg.c' || echo './'`zm_jpeg.c; \
then mv -f ".deps/zm_jpeg.Tpo" ".deps/zm_jpeg.Po"; \
else rm -f ".deps/zm_jpeg.Tpo"; exit 1; \
nt.o -MD -MP -MF ".deps/zm_event.Tpo" \
fi
g++ -g -O2 -L/usr/lib -L/usr/lib/lib -L/usr/lib/mysql -o zmc zmc.o zm.o zm_db.o zm_config.o zm_coord.o zm_box.o zm_image.o zm_event.o zm_zone.o zm_camera.o zm_local_camera.o zm_remote_camera.o zm_monitor.o zm_mpeg.o zm_regexp.o zm_buffer.o zm_debug.o zm_jpeg.o -L/usr/lib/mysql -lmp3lame -lavformat -lavcodec -lpcre -lmysqlclient -ldl -lz -ljpeg
/usr/lib/libavformat.a(ogg.o)(.text+0x57): In function `ogg_write_header':
: undefined reference to `ogg_stream_init'
/usr/lib/libavformat.a(ogg.o)(.text+0x109): In function `ogg_write_header':
: undefined reference to `ogg_stream_packetin'
/usr/lib/libavformat.a(ogg.o)(.text+0x1ab): In function `ogg_write_packet':
: undefined reference to `ogg_stream_flush'
/usr/lib/libavformat.a(ogg.o)(.text+0x22b): In function `ogg_write_packet':
: undefined reference to `ogg_stream_packetin'
/usr/lib/libavformat.a(ogg.o)(.text+0x24b): In function `ogg_write_packet':
: undefined reference to `ogg_stream_pageout'
/usr/lib/libavformat.a(ogg.o)(.text+0x2c8): In function `ogg_write_trailer':
: undefined reference to `ogg_stream_flush'
/usr/lib/libavformat.a(ogg.o)(.text+0x30a): In function `ogg_write_trailer':
: undefined reference to `ogg_stream_clear'
/usr/lib/libavformat.a(ogg.o)(.text+0x339): In function `ogg_read_header':
: undefined reference to `ogg_sync_init'
/usr/lib/libavformat.a(ogg.o)(.text+0x34a): In function `ogg_read_header':
: undefined reference to `ogg_sync_buffer'
/usr/lib/libavformat.a(ogg.o)(.text+0x389): In function `ogg_read_header':
: undefined reference to `ogg_sync_wrote'
/usr/lib/libavformat.a(ogg.o)(.text+0x397): In function `ogg_read_header':
: undefined reference to `ogg_sync_pageout'
/usr/lib/libavformat.a(ogg.o)(.text+0x39f): In function `ogg_read_header':
: undefined reference to `ogg_page_serialno'
/usr/lib/libavformat.a(ogg.o)(.text+0x3ab): In function `ogg_read_header':
: undefined reference to `ogg_stream_init'
/usr/lib/libavformat.a(ogg.o)(.text+0x3b7): In function `ogg_read_header':
: undefined reference to `ogg_stream_pagein'
/usr/lib/libavformat.a(ogg.o)(.text+0x430): In function `ogg_read_header':
: undefined reference to `ogg_stream_packetout'
/usr/lib/libavformat.a(ogg.o)(.text+0x458): In function `ogg_read_header':
: undefined reference to `ogg_sync_pageout'
/usr/lib/libavformat.a(ogg.o)(.text+0x46c): In function `ogg_read_header':
: undefined reference to `ogg_sync_buffer'
/usr/lib/libavformat.a(ogg.o)(.text+0x499): In function `ogg_read_header':
: undefined reference to `ogg_sync_wrote'
/usr/lib/libavformat.a(ogg.o)(.text+0x4b6): In function `ogg_read_header':
: undefined reference to `ogg_stream_pagein'
/usr/lib/libavformat.a(ogg.o)(.text+0x560): In function `ogg_read_packet':
: undefined reference to `ogg_stream_packetout'
/usr/lib/libavformat.a(ogg.o)(.text+0x588): In function `ogg_read_packet':
: undefined reference to `ogg_sync_pageout'
/usr/lib/libavformat.a(ogg.o)(.text+0x59c): In function `ogg_read_packet':
: undefined reference to `ogg_sync_buffer'
/usr/lib/libavformat.a(ogg.o)(.text+0x5c9): In function `ogg_read_packet':
: undefined reference to `ogg_sync_wrote'
/usr/lib/libavformat.a(ogg.o)(.text+0x5e9): In function `ogg_read_packet':
: undefined reference to `ogg_stream_pagein'
/usr/lib/libavformat.a(ogg.o)(.text+0x6ac): In function `ogg_read_close':
: undefined reference to `ogg_stream_clear'
/usr/lib/libavformat.a(ogg.o)(.text+0x6b4): In function `ogg_read_close':
: undefined reference to `ogg_sync_clear'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x33d): In function `dts_decode_frame':
: undefined reference to `dts_frame'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x395): In function `dts_decode_frame':
: undefined reference to `dts_blocks_num'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x3bf): In function `dts_decode_frame':
: undefined reference to `dts_block'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x3fd): In function `dts_decode_frame':
: undefined reference to `dts_samples'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x485): In function `dts_decode_frame':
: undefined reference to `dts_syncinfo'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x51e): In function `dts_decode_init':
: undefined reference to `dts_init'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x19): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_info_init'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x48): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_encode_init'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x5f): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_analysis_init'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x77): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_block_init'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x7f): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_comment_init'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x99): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_comment_add_tag'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0xba): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_analysis_headerout'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x15e): In function `oggvorbis_encode_init':
: undefined reference to `vorbis_comment_clear'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x1e0): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_buffer'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x233): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_wrote'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x248): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis_blockout'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x260): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_analysis'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x268): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_bitrate_addblock'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x274): In function `oggvorbis_encode_frame':
: undefined reference to `vorbis_bitrate_flushpacket'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x435): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_analysis_wrote'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x443): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_block_clear'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x44b): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_dsp_clear'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x453): In function `oggvorbis_encode_close':
: undefined reference to `vorbis_info_clear'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x49b): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_info_init'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x4ac): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_comment_init'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x4f9): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_synthesis_headerin'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x521): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_synthesis_init'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x533): In function `oggvorbis_decode_init':
: undefined reference to `vorbis_block_init'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x5c0): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x5ea): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_pcmout'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x6bc): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_read'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x6dd): In function `oggvorbis_decode_frame':
: undefined reference to `vorbis_synthesis_blockin'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x70c): In function `oggvorbis_decode_close':
: undefined reference to `vorbis_info_clear'
/usr/lib/libavcodec.a(oggvorbis.o)(.text+0x714): In function `oggvorbis_decode_close':
: undefined reference to `vorbis_comment_clear'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/usr/src/zm-1.19.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/zm-1.19.5'
make: *** [all] Error 2
#
---------------------------

I've tried everything my experience has taught me, with no avail... can anyone see any blatant misconfigurations? My MySQL db seems to be set up fine, I followed the instructions... I'd really love to set this up and check it out!! Any response would be greately appreciated.

Sincerely,
Jordan :(
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I think you're getting this because ZM doesn't know about any extra Ogg libraries that ffmpeg may need to build. If you can figure out what they are (it should be obvious if you rebuild ffmpeg) then you can probably add them to the src/Makefile in ZM. If you look for the lame library in there you should find the right place to put them.

Phil
drdebian
Posts: 4
Joined: Sat Jan 08, 2005 5:22 am
Contact:

Post by drdebian »

I have the same problem. I'm using the lame and ffmpeg packages from marillat.
stackbit
Posts: 18
Joined: Fri Feb 04, 2005 1:03 am

Post by stackbit »

zoneminder wrote:I think you're getting this because ZM doesn't know about any extra Ogg libraries that ffmpeg may need to build. If you can figure out what they are (it should be obvious if you rebuild ffmpeg) then you can probably add them to the src/Makefile in ZM. If you look for the lame library in there you should find the right place to put them.

Phil
I have the same problem.. Maybe something with this in /usr/share/doc/ffmpeg/README.Debian.
Linking code against ffmpeg
===========================

To compile code against the ffmpeg libraries, use `ffmpeg-config --cflags`:

gcc `ffmpeg-config --cflags` -c code.c -o code.o

To link it afterwards, use `ffmpeg-config --libs avcodec`:

gcc code.o -o code `ffmpeg-config --libs avcodec` -lotherlibs

Accepted arguments for --libs are "avcodec", "avformat" and "postproc". If
you are linking a plugin for an application with one of these libraries, use
the --plugin-libs flag instead of --libs.
Debian has its ways...
themutt
Posts: 20
Joined: Sat Jan 08, 2005 9:09 pm

Post by themutt »

Try removing libavcodec-dev and libavformat-dev if installed. Had same issue with my new Debian Sarge install, removing the above files got past this point.
User avatar
tek
Posts: 16
Joined: Sat Jan 22, 2005 7:59 pm
Location: Hayward CA
Contact:

That did it, Thanks

Post by tek »

I am wandering if that is going to prevent us from being able to render mpg's if it does oh well. More important to be able to install it and get it running than to get it to kick out little video's of the events.
Thanks
Tnt
Locked