[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#252651: linux-kernel-headers: syntax errors in file "/usr/include/linux/videodev2.h"



Package: linux-kernel-headers
Version: 2.5.999-test7-bk-16
Severity: normal



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8

-- no debconf information

When building kde 3.3 alpha1 with Konstruct I get the following error
message about videodev2.h:

make[7]: Entering directory
`/home/test/konstruct/kde/kdeedu/work/kdeedu-3.2.90/kstars/kstars/indi/webcam'
if /bin/sh ../../../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../../../..   -DQT_THREAD_SUPPORT
-I/home/test/kde3.3-alpha1/include -I/usr/X11R6/include
-I/home/test/kde3.3-alpha1/include -I/usr/X11R6/include -D_REENTRANT
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -O2 -I/home/test/kde3.3-alpha1/include
-I/usr/X11R6/include -L/home/test/kde3.3-alpha1/lib -L/usr/X11R6/lib -O2
-pipe -I/home/test/kde3.3-alpha1/include -I/usr/X11R6/include
-L/home/test/kde3.3-alpha1/lib -L/usr/X11R6/lib -O2 -pipe
-Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT
libwebcam_linux_la.all_cpp.lo -MD -MP -MF
".deps/libwebcam_linux_la.all_cpp.Tpo" -c -o
libwebcam_linux_la.all_cpp.lo libwebcam_linux_la.all_cpp.cpp; \
then mv -f ".deps/libwebcam_linux_la.all_cpp.Tpo"
".deps/libwebcam_linux_la.all_cpp.Plo"; else rm -f
".deps/libwebcam_linux_la.all_cpp.Tpo"; exit 1; fi
In file included from /usr/include/linux/videodev.h:8,
                 from QCamV4L.h:7,
		 from QCamV4L.cpp:14,
		 from libwebcam_linux_la.all_cpp.cpp:4
/usr/include/linux/videodev2.h:432: error: syntax error before `;' token
/usr/include/linux/videodev2.h:500: error: 'v4l2_std_id' is used as a type, but
   is not defined as a type.
/usr/include/linux/videodev2.h:518: error: syntax error before `;' token
/usr/include/linux/videodev2.h:555: error: syntax error before `;' token
In file included from libwebcam_linux_la.all_cpp.cpp:4:
QCamV4L.cpp: In function `void callFrame(void*)':
QCamV4L.cpp:102: warning: unused parameter `void*p' 
QCamV4L.cpp: In function `void updateFrame(int, void*)':
QCamV4L.cpp:301: warning: unused parameter `int d' 
QCamV4L.cpp: In function `void disconnectCam()': 
QCamV4L.cpp:470: warning: left-hand operand of comma expression has no effect
make[7]: *** [libwebcam_linux_la.all_cpp.lo] Error 1 
make[7]: Leaving directory `/home/test/konstruct/kde/kdeedu/work/kdeedu-3.2.90/kstars/kstars/indi/webcam'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/test/konstruct/kde/kdeedu/work/kdeedu-3.2.90/kstars/kstars/indi'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/test/konstruct/kde/kdeedu/work/kdeedu-3.2.90/kstars/kstars'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/test/konstruct/kde/kdeedu/work/kdeedu-3.2.90/kstars'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/test/konstruct/kde/kdeedu/work/kdeedu-3.2.90'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/test/konstruct/kde/kdeedu/work/kdeedu-3.2.90' 
make[1]: *** [build-work/kdeedu-3.2.90/Makefile] Error 2 
make[1]: Leaving directory `/home/test/konstruct/kde/kdeedu'
make: *** [dep-../../kde/kdeedu] Error 2



Reply to: