hello,
i got the error message on vbox-install.log.
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.18.2-34-default/build SUBDIRS=/tmp/vbox.5 SRCROOT=/tmp/vbox.5 modules
make[1]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
make: *** [vboxdrv] Error 2
Have you an idea?
thank you in advance
Manuel
Install problem
-
- Volunteer
- Posts: 7639
- Joined: 7. Jun 2007, 21:53
From this and your output below it suggests that the kernel headers are not linked properly assuming the uname -r returns 2.6.18.2-34 for your running kernel. What does this show using your kernel directory?Argonist wrote:Sorry, I rely now. I installed kernel source, but it is still problem.
/var/log/vbox-install.log
Makefile:82: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make aga
in.. Stop.
Manu
Code: Select all
ls -l /lib/modules/2.6.22.1-cfs-v19/
total 440
lrwxrwxrwx 1 root root 23 2007-09-02 22:02 build -> /usr/src/linux-2.6.22.1
drwxr-xr-x 10 root root 240 2007-07-12 21:42 kernel
drwxr-xr-x 2 root root 80 2007-09-03 11:23 misc
-rw-r--r-- 1 root root 83738 2007-09-03 11:23 modules.alias
-rw-r--r-- 1 root root 69 2007-09-03 11:23 modules.ccwmap
-rw-r--r-- 1 root root 53886 2007-09-03 11:23 modules.dep
-rw-r--r-- 1 root root 739 2007-09-03 11:23 modules.ieee1394map
-rw-r--r-- 1 root root 527 2007-09-03 11:23 modules.inputmap
-rw-r--r-- 1 root root 2006 2007-09-03 11:23 modules.isapnpmap
-rw-r--r-- 1 root root 74 2007-09-03 11:23 modules.ofmap
-rw-r--r-- 1 root root 28491 2007-09-03 11:23 modules.pcimap
-rw-r--r-- 1 root root 211 2007-09-03 11:23 modules.seriomap
-rw-r--r-- 1 root root 36582 2007-09-03 11:23 modules.symbols
-rw-r--r-- 1 root root 214312 2007-09-03 11:23 modules.usbmap
drwxr-xr-x 2 root root 80 2007-07-12 21:45 nvidia
lrwxrwxrwx 1 root root 23 2007-09-02 22:02 source -> /usr/src/linux-2.6.22.1
Code: Select all
ls -l /lib/modules/2.6.22.1-cfs-v19/build/
total 6596
drwxr-sr-x 28 stephen src 680 2007-07-10 15:56 arch
drwxr-sr-x 2 stephen src 1144 2007-07-12 21:30 block
-rw-r--r-- 1 stephen src 1637 2007-07-12 21:26 conf.vars
-rw-r--r-- 1 stephen src 18693 2007-07-10 15:56 COPYING
-rw-r--r-- 1 stephen src 91435 2007-07-10 15:56 CREDITS
drwxr-sr-x 2 stephen src 7872 2007-07-12 21:33 crypto
drwxr-sr-x 12 stephen src 856 2007-07-12 21:35 debian
drwxr-sr-x 64 stephen src 6440 2007-07-12 21:21 Documentation
drwxr-sr-x 67 stephen src 1808 2007-07-12 21:30 drivers
drwxr-sr-x 62 stephen src 7936 2007-07-12 21:33 fs
drwxr-sr-x 44 stephen src 1208 2007-07-12 21:26 include
drwxr-sr-x 2 stephen src 960 2007-07-12 21:30 init
drwxr-sr-x 2 stephen src 968 2007-07-12 21:30 ipc
-rw-r--r-- 1 stephen src 1530 2007-07-10 15:56 Kbuild
drwxr-sr-x 5 stephen src 6112 2007-07-12 21:30 kernel
drwxr-sr-x 5 stephen src 6200 2007-07-12 21:33 lib
-rw-r--r-- 1 stephen src 89876 2007-07-10 15:56 MAINTAINERS
-rw-r--r-- 1 stephen stephen 50411 2007-07-12 21:21 Makefile
drwxr-sr-x 2 stephen src 3944 2007-07-12 21:30 mm
-rw-r--r-- 1 stephen src 228664 2007-07-12 21:33 Module.symvers
drwxr-sr-x 41 stephen src 1480 2007-07-12 21:30 net
-rw-r--r-- 1 stephen src 16930 2007-07-10 15:56 README
-rw-r--r-- 1 stephen src 3119 2007-07-10 15:56 REPORTING-BUGS
drwxr-sr-x 9 stephen src 1816 2007-07-12 21:27 scripts
drwxr-sr-x 4 stephen src 968 2007-07-12 21:33 security
drwxr-sr-x 18 stephen src 1488 2007-07-12 21:33 sound
-rw-r--r-- 1 stephen src 5 2007-07-12 21:26 stamp-arch-conf
-rw-r--r-- 1 stephen src 5 2007-07-12 21:26 stamp-configure
-rw-r--r-- 1 stephen src 5 2007-07-12 21:26 stamp-configure-arch
-rw-r--r-- 1 stephen src 5 2007-07-12 21:26 stamp-configure-indep
-rw-r--r-- 1 stephen src 5 2007-07-12 21:26 stamp-debian
-rw-r--r-- 1 stephen src 5 2007-07-12 21:26 stamp-indep-conf
-rw-r--r-- 1 stephen src 5 2007-07-12 21:35 stamp-kernel-headers
-rw-r--r-- 1 stephen src 5 2007-07-12 21:33 stamp-kernel-image
-rw-r--r-- 1 stephen src 1100471 2007-07-12 21:30 System.map
drwxr-sr-x 2 stephen src 256 2007-07-12 21:27 usr
-rwxr-xr-x 1 stephen src 9272164 2007-07-12 21:30 vmlinux
Code: Select all
ln -s /usr/src/linux-kernel-headers-2.6.18.2-34 /lib/modules/2.6.18.2-34/build