Page 1 of 1

zoneminder fails on make!! look at 2 errors

Posted: Thu Jul 07, 2011 3:46 am
by alltech
Anyone seen anything like this? Google hardly comes up with anything for a answer.

Thanks


[root@localhost ZoneMinder-1.24.2]# make
make all-recursive
make[1]: Entering directory `/usr/src/zoneminder/ZoneMinder-1.24.2'
Making all in src
make[2]: Entering directory `/usr/src/zoneminder/ZoneMinder-1.24.2/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/local/bin/include -Wall -Wno-sign-compare -fno-inline -I/usr/local/bin/include -frepo -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
/usr/local/include/libavutil/common.h: In function âint32_t av_clipl_int32_c(int64_t)â:
/usr/local/include/libavutil/common.h:170: error: âUINT64_Câ was not declared in this scope
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/usr/src/zoneminder/ZoneMinder-1.24.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/zoneminder/ZoneMinder-1.24.2'
make: *** [all] Error 2


I am running centos 5.x

Thanks!!

Re: zoneminder fails on make!! look at 2 errors

Posted: Thu Jul 07, 2011 11:17 am
by mastertheknife
You need to add this to the end of your ./configure:

Code: Select all

CPPFLAGS="-D__STDC_CONSTANT_MACROS"
If you are installing from source, keep in mind that ZM 1.24.2 is from 2009 and might aswell install ZM 1.24.4 instead.

mastertheknife

Re: zoneminder fails on make!! look at 2 errors

Posted: Sat Jul 09, 2011 2:51 am
by alltech
Okay. Since I do use Centos, I want to make the install the easiest possible. I do not want to bump into error message saying I need this file or that file.

Thanks