make error in videodev.h and videodev2.h, ALT Linux Sisiphus
Posted: Mon Oct 04, 2004 9:48 am
Hi, All!
I'm trying to build ZoneMinder on ALT Linux Sisyphus system and got the following errors. May be someone can tell, how this can be fixed?
[root@ghost zm-1.19.5]# make
make all-recursive
make[1]: Entering directory `/var/BUILD/zm-1.19.5'
Making all in src
make[2]: Entering directory `/var/BUILD/zm-1.19.5/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/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 -f ".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: syntax 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_windo
w::__user'
/usr/include/linux/videodev2.h:438: error: syntax 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: syntax error before `*' token
make[2]: *** [zm_event.o] Error 1
make[2]: Leaving directory `/var/BUILD/zm-1.19.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/BUILD/zm-1.19.5'
make: *** [all] Error 2
[root@ghost zm-1.19.5]#
I'm trying to build ZoneMinder on ALT Linux Sisyphus system and got the following errors. May be someone can tell, how this can be fixed?
[root@ghost zm-1.19.5]# make
make all-recursive
make[1]: Entering directory `/var/BUILD/zm-1.19.5'
Making all in src
make[2]: Entering directory `/var/BUILD/zm-1.19.5/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/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 -f ".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: syntax 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_windo
w::__user'
/usr/include/linux/videodev2.h:438: error: syntax 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: syntax error before `*' token
make[2]: *** [zm_event.o] Error 1
make[2]: Leaving directory `/var/BUILD/zm-1.19.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/BUILD/zm-1.19.5'
make: *** [all] Error 2
[root@ghost zm-1.19.5]#