Page 1 of 1

Compile problems

Posted: Tue Jul 27, 2004 10:21 am
by gargoyle
Hi,

Just trying to install Zoneminder for the first time on a Debian/Sid box, and have struck a few problems...

When typing 'make', i get the following:

/usr/local/src/zm-1.19.4# make
make all-recursive
make[1]: Entering directory `/usr/local/src/zm-1.19.4'
Making all in src
make[2]: Entering directory `/usr/local/src/zm-1.19.4/src'
source='zmc.cpp' object='zmc.o' libtool=no \
depfile='.deps/zmc.Po' tmpdepfile='.deps/zmc.TPo' \
depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -Iyes/include -g -O2 -c -o zmc.o `test -f 'zmc.cpp' || echo './'`zmc.cpp
In file included from /usr/include/asm/sigcontext.h:4,
from /usr/include/bits/sigcontext.h:28,
from /usr/include/signal.h:326,
from zmc.cpp:21:
/usr/include/linux/compiler.h:17: warning: `__attribute_used__' redefined
/usr/include/sys/cdefs.h:195: warning: this is the location of the previous definition
In file included from /usr/include/linux/videodev2.h:16,
from /usr/include/linux/videodev.h:8,
from zm_camera.h:25,
from zm_monitor.h:30,
from zmc.cpp:26:
/usr/include/linux/time.h:341: warning: `FD_SET' redefined
/usr/include/sys/select.h:93: warning: this is the location of the previous definition
/usr/include/linux/time.h:342: warning: `FD_CLR' redefined
/usr/include/sys/select.h:94: warning: this is the location of the previous definition
/usr/include/linux/time.h:343: warning: `FD_ISSET' redefined
/usr/include/sys/select.h:95: warning: this is the location of the previous definition
/usr/include/linux/time.h:344: warning: `FD_ZERO' redefined
/usr/include/sys/select.h:96: warning: this is the location of the previous definition
/usr/include/linux/time.h:350: warning: `ITIMER_REAL' redefined
/usr/include/sys/time.h:95: warning: this is the location of the previous definition
/usr/include/linux/time.h:351: warning: `ITIMER_VIRTUAL' redefined
/usr/include/sys/time.h:98: warning: this is the location of the previous definition
/usr/include/linux/time.h:352: warning: `ITIMER_PROF' redefined
/usr/include/sys/time.h:102: warning: this is the location of the previous definition
/usr/include/linux/time.h:384: warning: `TIMER_ABSTIME' redefined
/usr/include/bits/time.h:55: warning: this is the location of the previous definition
In file included from /usr/include/linux/videodev2.h:16,
from /usr/include/linux/videodev.h:8,
from zm_camera.h:25,
from zm_monitor.h:30,
from zmc.cpp:26:
/usr/include/linux/time.h:9: redefinition of `struct timespec'
/usr/include/time.h:122: previous definition here
/usr/include/linux/time.h:15: redefinition of `struct timeval'
/usr/include/bits/time.h:73: previous definition here
/usr/include/linux/time.h:20: redefinition of `struct timezone'
/usr/include/sys/time.h:60: previous definition here
/usr/include/linux/time.h:354: redefinition of `struct itimerspec'
/usr/include/time.h:163: previous definition here
/usr/include/linux/time.h:359: redefinition of `struct itimerval'
/usr/include/sys/time.h:113: previous definition here
zmc.cpp: In function `int main(int, char **)':
zmc.cpp:197: no matching function for call to `timeval::timeval ()'
/usr/include/linux/time.h:18: candidates are: timeval::timeval(const timeval &)
zmc.cpp:204: no matching function for call to `timeval::timeval ()'
/usr/include/linux/time.h:18: candidates are: timeval::timeval(const timeval &)
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/usr/local/src/zm-1.19.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/zm-1.19.4'
make: *** [all] Error 2



I'm not much of a wizz when it comes to debuging compile errors... anyone know whats going on here?