Mailinglist Archive: opensuse (1599 mails)

< Previous Next >
Re: [opensuse] NIC installation: What is this error?
  • From: Stan Goodman <stan.goodman@xxxxxxxxxxxxx>
  • Date: Thu, 8 Oct 2009 16:12:44 +0200
  • Message-id: <200910081612.44867.stan.goodman@xxxxxxxxxxxxx>
At 14:13:09 on Thursday Thursday 08 October 2009, Constantinos Galilei
<pandarsson@xxxxxxxxx> wrote:
On Thursday October 8 2009 6:19:45 am Stan Goodman wrote:
SUBDIRS=/home/stan/NIC/r8168-8.014.00/src modules
make[2]: Entering directory
`/usr/src/linux-2.6.27.7-9-obj/x86_64/default' make[2]: *** No rule
to make target `modules'. Stop.
make[2]: Leaving directory
`/usr/src/linux-2.6.27.7-9-obj/x86_64/default' make[1]: *** [modules]
Error 2
make[1]: Leaving directory `/home/stan/NIC/r8168-8.014.00/src'
make: *** [modules] Error 2
#

This is *kind of* a 'make' error. It can't find some makefile dealing
with your kernel.

First of all, do `uname -r` and make sure the result is
linux-2.6.27.7-9-obj. If it's not, you will need to specify the kernel

I did <uname -r> before I wrote, to be sure I knew what kernel version is
here. The response is <2.6.27.29-0.1-default>. I do not see in the list
that YaST has anything about a version like "-obj".

I have kernel-source and kernel-syms.

(hopefully when you run ./configure, otherwise you'll have to edit the
makefile itself).

Perhaps that will become clearer to me later. Right now, I do not find a
way to edit makefile, nor a way to avoid doing so.

And if you're not sure you have the kernel headers installed, check.

I didn't see "kernel-headers" in YaST. A more fundamental search brings
them up as "linux-kernel heades"

Te Error 2 is now as follows, containing several errors, including an
unfound command:

# make clean modules
make -C src/ clean
make[1]: Entering directory `/home/stan/NIC/r8168-8.014.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a
*.s .*.flags .tmp_versions Module.symvers Modules.symvers Module.markers
*.order
make[1]: Leaving directory `/home/stan/NIC/r8168-8.014.00/src'
make -C src/ modules
make[1]: Entering directory `/home/stan/NIC/r8168-8.014.00/src'
make -C /lib/modules/2.6.27.7-9-default/build
SUBDIRS=/home/stan/NIC/r8168-8.014.00/src modules
make[2]: Entering directory `/usr/src/linux-2.6.27.7-9-obj/x86_64/default'
make -C ../../../linux-2.6.27.7-9
O=/usr/src/linux-2.6.27.7-9-obj/x86_64/default/. modules
make[4]: gcc: Command not found
CC [M] /home/stan/NIC/r8168-8.014.00/src/r8168_n.o
/bin/sh: gcc: command not found
make[5]: *** [/home/stan/NIC/r8168-8.014.00/src/r8168_n.o] Error 127
make[4]: *** [_module_/home/stan/NIC/r8168-8.014.00/src] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.27.7-9-obj/x86_64/default'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/stan/NIC/r8168-8.014.00/src'
make: *** [modules] Error 2


--
Stan Goodman
Qiryat Tiv'on
Israel
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >