make error

Support and queries relating to all previous versions of ZoneMinder
Locked
amosf
Posts: 1
Joined: Thu Jun 24, 2004 5:55 pm

make error

Post by amosf »

Hi all,

I'm trying to install ZoneMinder on my Gentoo. I get the following when trying to run make. ffmpeg is installed through the ebuild in /usr/bin:

bash-2.05b$ make
make all-recursive
make[1]: Entering directory `/home/amosf/zm-1.19.4'
Making all in src
make[2]: Entering directory `/home/amosf/zm-1.19.4/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/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 ".deps/zm_mpeg.Tpo" ".deps/zm_mpeg.Po"; \
else rm -f ".deps/zm_mpeg.Tpo"; exit 1; \
fi
zm_mpeg.cpp: In member function `void VideoStream::SetupCodec(int, int, int,
int, int)':
zm_mpeg.cpp:95: error: `CODEC_ID_MPEG2VIDEO' undeclared (first use this
function)
zm_mpeg.cpp:95: error: (Each undeclared identifier is reported only once for
each function it appears in.)
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/home/amosf/zm-1.19.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amosf/zm-1.19.4'
make: *** [all] Error 2


Any thoughts ??

Thanks,
Amos
Locked