도와주세요!!
글 수 15,339
2006.04.07 18:33:29 (*.127.2.104)
6699
mvc 컴파일 에러 좀 잡아 주세요...
[root@hiwow mvc-0.8.9]# make
arm-linux-gcc -O2 -Wall -g -I. -I/usr/arm-linux/include -DHAVE_JPEG -c mvc.c
In file included from /usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev.h:8,
from mvc.c:37:
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev2.h:436: error: parse error before '*' token
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev2.h:438: error: parse error before '*' token
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev2.h:439: error: parse error before '}' token
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev2.h:810: error: field `win' has incomplete type
In file included from mvc.c:37:
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev.h:225: error: parse error before '*' token
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev.h:226: error: conflicting types for 'clipcount'
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev2.h:437: error: previous declaration of 'clipcount' was here
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev.h:232: error: parse error before '}' token
mvc.c: In function `v4l_init':
mvc.c:302: error: storage size of 'vid_win' isn't known
mvc.c:411: error: invalid application of `sizeof' to incomplete type `video_window'
mvc.c:414: error: invalid application of `sizeof' to incomplete type `video_window'
mvc.c:302: warning: unused variable `vid_win'
make: *** [mvc.o] Error 1
[root@hiwow mvc-0.8.9]#
[root@hiwow mvc-0.8.9]# make
arm-linux-gcc -O2 -Wall -g -I. -I/usr/arm-linux/include -DHAVE_JPEG -c mvc.c
In file included from /usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev.h:8,
from mvc.c:37:
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev2.h:436: error: parse error before '*' token
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev2.h:438: error: parse error before '*' token
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev2.h:439: error: parse error before '}' token
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev2.h:810: error: field `win' has incomplete type
In file included from mvc.c:37:
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev.h:225: error: parse error before '*' token
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev.h:226: error: conflicting types for 'clipcount'
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev2.h:437: error: previous declaration of 'clipcount' was here
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/sys-include/linux/videodev.h:232: error: parse error before '}' token
mvc.c: In function `v4l_init':
mvc.c:302: error: storage size of 'vid_win' isn't known
mvc.c:411: error: invalid application of `sizeof' to incomplete type `video_window'
mvc.c:414: error: invalid application of `sizeof' to incomplete type `video_window'
mvc.c:302: warning: unused variable `vid_win'
make: *** [mvc.o] Error 1
[root@hiwow mvc-0.8.9]#