- 论坛徽章:
- 0
|
回复 6# chenyx
[root@localhost iscsitarget-1.4.20.2]# yum install kernel-heders
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
Setting up Install Process
No package kernel-heders available.
Error: Nothing to do
[root@localhost iscsitarget-1.4.20.2]# yum install kernel-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
Setting up Install Process
Package kernel-devel-2.6.32-431.5.1.el6.i686 already installed and latest versio n
Nothing to do
[root@localhost iscsitarget-1.4.20.2]# make
cc: /lib/modules/2.6.32-358.el6.i686/build/include/linux/version.h: No such file or directory
cc: no input files
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -le: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
make -C usr
make[1]: Entering directory `/usr/swd_dir/iscsitarget-1.4.20.2/usr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/swd_dir/iscsitarget-1.4.20.2/usr'
make -C /lib/modules/2.6.32-358.el6.i686/build SUBDIRS=/usr/swd_dir/iscsitarget- 1.4.20.2/kernel modules
make: *** /lib/modules/2.6.32-358.el6.i686/build: No such file or directory. St op.
make: *** [kernel] Error 2
[root@localhost iscsitarget-1.4.20.2]#
没 |
|