rogerji
驱动牛犊
驱动牛犊
  • 注册日期2001-12-11
  • 最后登录2002-08-02
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:991回复:0

linux环境下windriver5.04的安装问题

楼主#
更多 发布于:2002-04-29 15:03
当我执行了make install命令后,系统就报错,错误内容都是modversion.h文件里的,请高手指点。
make -c redist install
make[1]:Entering directory\'/usr/local/WinDriver/redist\'
cc -02 -c -DLINUX -D_KERNEL_DMODULE _I/usr/include _DWINDRIVER_KERNEL -O LINUX.2
.4.7-10smp2.4.7-10BOOT2.4.7-10enterprise2.4.7-10debug2.4.7-10/
linux_wrappers.o linux_wrappers.c
In file included from linux_wrappers.c:19:
/usr/include/linux/modversion.h:1:2: #error Modules should never use kernel-head
ers system headers,
/usr/include/linux/modversion.h:2:2: #error but rather headers from an appropria
te kernel-source package
/usr/include/linux/modversion.h:3:2: #error change -I/usr/src/linux include(or s
imilar)to
/usr/include/linux/modversion.h:4:2: #error -I/lib/modules/$(uname -r) /build/in
clude
/usr/include/linux/modversion.h:5:2: #error to build again the currently-running
 kernel
make[1]***[LINUX.2.4.7/-10 smp 2.4.7-10enterprise2.4.7-10 debug 2.4.7-10/linux_w
rapper.o]error1
make[1]:leaving directory/usr/local/WinDriver/redist
make:***[install]error2
游客

返回顶部