[kde-edu]: KStars compile error

Peter Hedlund peter at peterandlinda.com
Mon Apr 19 05:28:58 CEST 2004


Hi,

I get this error when trying to compile KStars from cvs, any ideas?

Thanks,
Peter

source='/home/kdedev/src/kde/kdeedu/kstars/kstars/indi/webcam/QCamV4L.cpp' 
object='QCamV4L.o' libtool=no \
depfile='.deps/QCamV4L.Po' tmpdepfile='.deps/QCamV4L.TPo' \
depmode=gcc3 /bin/sh /home/kdedev/src/kde/kdeedu/admin/depcomp \
g++ -DHAVE_CONFIG_H -I. 
-I/home/kdedev/src/kde/kdeedu/kstars/kstars/indi/webcam
-I../../../..   -DQT_THREAD_SUPPORT  -D_REENTRANT -DLINUX -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 
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new 
-fno-common -DQ
T_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION  -c -o QCamV4L.o `test -f 
'/home/kdedev/src/kde/kdeedu/kstars/kstars/indi/we
bcam/QCamV4L.cpp' || echo 
'/home/kdedev/src/kde/kdeedu/kstars/kstars/indi/webcam
/'`/home/kdedev/src/kde/kdeedu/kstars/kstars/indi/webcam/QCamV4L.cpp
In file included from /usr/include/linux/videodev.h:14, 
from /home/kdedev/src/kde/kdeedu/kstars/kstars/indi/webcam/QCam
V4L.h:7, from /home/kdedev/src/kde/kdeedu/kstars/kstars/indi/webcam/QCam
V4L.cpp:14:
/usr/include/linux/videodev2.h:432: syntax error before `;' token
/usr/include/linux/videodev2.h:500: 'v4l2_std_id' is used as a type, but is 
not defined as a type.
/usr/include/linux/videodev2.h:518: syntax error before `;' token
/usr/include/linux/videodev2.h:555: syntax error before `;' token
/home/kdedev/src/kde/kdeedu/kstars/kstars/indi/webcam/QCamV4L.cpp: In function 
`void callFrame(void*)':
/home/kdedev/src/kde/kdeedu/kstars/kstars/indi/webcam/QCamV4L.cpp:102: 
warning:          unused parameter `void*p'
/home/kdedev/src/kde/kdeedu/kstars/kstars/indi/webcam/QCamV4L.cpp: In function 
`         void updateFrame(int, void*)':
/home/kdedev/src/kde/kdeedu/kstars/kstars/indi/webcam/QCamV4L.cpp:301: 
warning:          unused parameter `int d'
/home/kdedev/src/kde/kdeedu/kstars/kstars/indi/webcam/QCamV4L.cpp: In function 
`         void disconnectCam()':
/home/kdedev/src/kde/kdeedu/kstars/kstars/indi/webcam/QCamV4L.cpp:470: 
warning:          left-hand operand of comma expression has no effect
make[5]: *** [QCamV4L.o] Error 1


More information about the kde-edu mailing list