linux 安装软件 MAKE时的问题 -all-recursive
以下我遇到的问题:
./CONFIGURE 没问题
但MAKE 时遇到问题
问题如下:
m -f .libs/webcam.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -MT webcam.lo -MD -MP -MF .deps/webcam.Tpo -c webcam.c -fPIC -DPIC -o webcam.o
webcam.c: In function 'malib_webcam_new_with_config':
webcam.c:61: warning: incompatible implicit declaration of built-in function 'memset'
webcam.c:62: warning: incompatible implicit declaration of built-in function 'strcpy'
webcam.c: In function 'malib_webcam_connect_server':
webcam.c:85: warning: incompatible implicit declaration of built-in function 'strlen'
webcam.c: In function 'malib_webcam_copy_decompressed_image':
webcam.c:134: error: label at end of compound statement
webcam.c: In function 'malib_webcam_init':
webcam.c:160: warning: incompatible implicit declaration of built-in function 'memcpy'
webcam.c: In function 'malib_webcam_get_next_frame':
webcam.c:265: warning: incompatible implicit declaration of built-in function 'memcpy'
webcam.c:273: warning: incompatible implicit declaration of built-in function 'memcpy'
make[3]: *** [webcam.lo] Error 1
make[3]: Leaving directory `/home/shanyong/gcc-project/libmalib-0.5.8/malib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/shanyong/gcc-project/libmalib-0.5.8/malib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shanyong/gcc-project/libmalib-0.5.8'
make: *** [all] Error 2
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论