|
Hello experts,
I had trouble compiling mhvtl 1.01 under oracle 6.0, the error messages are: make -C kernel make[1]: Entering directory `/tmp/mhvtl-1.1/kernel' make -C /lib/modules/2.6.32-100.28.5.el6.x86_64/build SUBDIRS=/tmp/mhvtl-1.1/kernel modules make: Entering an unknown directory make: Leaving an unknown directory make[1]: Leaving directory `/tmp/mhvtl-1.1/kernel' I have installed kernel-devel, kernel source, how to correct the problem and proceed? regards Victor |
|
I'm not sure what's different between my Oracle Linux install and yours, but it compiles fine.
# cat /etc/*release Oracle Linux Server release 6.1 Red Hat Enterprise Linux Server release 6.1 (Santiago) Oracle Linux Server release 6.1 [root@mhoralcle6 Downloads]# ls mhvtl-1.1-0.src.rpm mhvtl-1.1-0.x86_64.rpm [root@mhoralcle6 Downloads]# rpm -Uvh mhvtl-1.1-0.* [root@mhoralcle6 kernel]# pwd /root/rpmbuild/BUILD/mhvtl-1.1/kernel [root@mhoralcle6 kernel]# make make -C /lib/modules/2.6.32-100.34.1.el6uek.x86_64/build SUBDIRS=/root/rpmbuild/BUILD/mhvtl-1.1/kernel modules make[1]: Entering directory `/usr/src/kernels/2.6.32-100.34.1.el6uek.x86_64' CC [M] /root/rpmbuild/BUILD/mhvtl-1.1/kernel/mhvtl.o Building modules, stage 2. MODPOST 1 modules CC /root/rpmbuild/BUILD/mhvtl-1.1/kernel/mhvtl.mod.o LD [M] /root/rpmbuild/BUILD/mhvtl-1.1/kernel/mhvtl.ko.unsigned NO SIGN [M] /root/rpmbuild/BUILD/mhvtl-1.1/kernel/mhvtl.ko make[1]: Leaving directory `/usr/src/kernels/2.6.32-100.34.1.el6uek.x86_64' A list of installed RPMS with anything to do with 'kernel' [root@mhoralcle6 Downloads]# rpm -qa --last | grep kernel kernel-uek-devel-2.6.32-100.34.1.el6uek Tue 13 Dec 2011 12:34:09 PM EST kernel-uek-2.6.32-100.34.1.el6uek Tue 13 Dec 2011 12:23:48 PM EST kernel-2.6.32-131.0.15.el6 Tue 13 Dec 2011 12:22:15 PM EST dracut-kernel-004-53.el6 Tue 13 Dec 2011 12:21:51 PM EST kernel-firmware-2.6.32-131.0.15.el6 Tue 13 Dec 2011 12:21:49 PM EST kernel-uek-firmware-2.6.32-100.34.1.el6uek Tue 13 Dec 2011 12:19:21 PM EST abrt-addon-kerneloops-1.1.16-3.0.1.el6 Tue 13 Dec 2011 12:08:17 PM EST kernel-devel-2.6.32-131.0.15.el6 Tue 13 Dec 2011 12:07:59 PM EST kernel-uek-headers-2.6.32-100.34.1.el6uek Tue 13 Dec 2011 11:59:23 AM EST |
|
In reply to this post by victor_mhvtl_2011
My release is:
Oralce linux Server release 6.0 red Hat Enterprise Linux Server release 6.0(Santiago) Oralce linux Server release 6.0 /lib/modules/2.6.32-100.28.5.el6.x86_64/build -> ../../../usr/src/kernels/2.6.32-100.28.5.el6.x86_86 make complains /lib/modules/2.6.32-100.28.5.el6.x86_64/build : No such file or directory. Stop. Please help. |
|
In reply to this post by Mark Harvey
Don't know anything wrong.
My output: Under my /root/rpmbuild, only 2 dirs existed: SOURCES SPECS No BUILDS dire like you. compile_error.jpg |
|
The '/root/rpmbuild' only contained the two directories until I ran the "mkdir BUILD" command.
Suddenly there were three :) ================ Do you have a list (from your Oracle 6.0) of the: # rpm -qa --last | grep kernel Cheers Mark |
|
I re-installed Oracle Linux - this time not selecting 'development' s/w selection.
I installed 'gcc' using "yum install gcc" Installed 'zlib-devel' using "yum install zlib-devel" User-space daemons now compiled without error. Attempt to compile kernel module which resulted in the same error as reported. Installed the 'kernel-devel' using "yum install kernel-uek-devel" kernel module now compiles without error. Fix: Install the kernel-development RPM to match your kernel. |
| Powered by Nabble | See how NAML generates this page |
