At 16:21:26 on Thursday Thursday 08 October 2009, "Ken Schneider -
openSUSE"
Stan Goodman pecked at the keyboard and wrote:
At 14:13:09 on Thursday Thursday 08 October 2009, Constantinos Galilei
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
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
Is a powerful hint at the problem.
That's true. It doesn't help to choose among the many gcc compilers on the DVD. Can I assume that gcc-c++ is the way to go? Or is gcc43-c++ the one with the brass ring? Or gcc43? Or what?
-- Ken Schneider SuSe since Version 5.2, June 1998
-- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org