在b3下编绎xing-lib出错
我下了magic的xin-lib-rc7的srpm包重编绎 过程出错显示:
In file included from /usr/include/linux/videodev.h:8,
from input_v4l.c:50:
/usr/include/linux/videodev2.h:436: error: syntax error before '*' token
/usr/include/linux/videodev2.h:438: error: syntax error before '*' token
/usr/include/linux/videodev2.h:439: error: syntax error before '}' token
/usr/include/linux/videodev2.h:810: error: field `win' has incomplete type
In file included from input_v4l.c:50:
/usr/include/linux/videodev.h:225: error: syntax error before '*' token
/usr/include/linux/videodev.h:226: error: conflicting types for `clipcount'
/usr/include/linux/videodev2.h:437: error: previous declaration of `clipcount'
/usr/include/linux/videodev.h:232: error: syntax error before '}' token
make: *** Error 1
make: Leaving directory `/usr/src/mBuild/BUILD/xine-lib-1-rc7/src/input'
make: *** Error 1
make: Leaving directory `/usr/src/mBuild/BUILD/xine-lib-1-rc7/src/input'
make: *** Error 1
make: Leaving directory `/usr/src/mBuild/BUILD/xine-lib-1-rc7/src'
make: *** Error 1
make: Leaving directory `/usr/src/mBuild/BUILD/xine-lib-1-rc7'
make: *** Error 2
这让我想起当时在b3下编绎kdsl出是出错,好像都是引用到/usr/include/linux出错
这是怎么回事 呢?/
有什么解决的方法? no body can help me ??
Help Help Help :cry: 我把/usr/include/linux指向/usr/src/linux/include/linux还是不行
反现./configure 时有一个warning
checking linux/videodev.h usability... no
checking linux/videodev.h presence... yes
configure: WARNING: linux/videodev.h: present but cannot be compiled
configure: WARNING: linux/videodev.h: check for missing prerequisite headers?
configure: WARNING: linux/videodev.h: see the Autoconf documentation
configure: WARNING: linux/videodev.h: section "Present But CannotBe Compiled"
configure: WARNING: linux/videodev.h: proceeding with the preprocessor's result
configure: WARNING: linux/videodev.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists.##
configure: WARNING: ## ------------------------------------------##
checking for linux/videodev.h... yes
页:
[1]