I'm having trouble building ZoneMinder 1.19.4 on Debian with kernel 2.6.8. I've been unable to find anything to help me in the faq or in the forums. I've included the error message below. Any help would me much appreciated.
Thanks,
Roger Dahl
make all-recursive
make[1]: Entering directory `/share/zm-1.19.4'
Making all in src
make[2]: Entering directory `/share/zm-1.19.4/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/include -g -O2 -MT zm_event.o -MD -MP -MF ".deps/zm_event.Tpo" \
-c -o zm_event.o `test -f 'zm_event.cpp' || echo './'`zm_event.cpp; \
then mv ".deps/zm_event.Tpo" ".deps/zm_event.Po"; \
else rm -f ".deps/zm_event.Tpo"; exit 1; \
fi
In file included from /usr/include/linux/videodev.h:8,
from zm_camera.h:25,
from zm_monitor.h:30,
from zm_event.cpp:31:
/usr/include/linux/videodev2.h:436: error: parse error before `*' token
/usr/include/linux/videodev2.h:438: error: variable or field `__user' declared
void
/usr/include/linux/videodev2.h:438: error: declaration of `int
v4l2_window::__user'
/usr/include/linux/videodev2.h:436: error: conflicts with previous declaration
`v4l2_clip v4l2_window::__user'
/usr/include/linux/videodev2.h:438: error: parse error before `*' token
In file included from zm_camera.h:25,
from zm_monitor.h:30,
from zm_event.cpp:31:
/usr/include/linux/videodev.h:225: error: parse error before `*' token
make[2]: *** [zm_event.o] Error 1
make[2]: Leaving directory `/share/zm-1.19.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/share/zm-1.19.4'
make: *** [all] Error 2