View Single Post
Old 11-01-03, 02:33 PM   #9
Registered User
Join Date: Nov 2003
Posts: 2
Default same problem

I am having the same problem with Mandrake 9.1 on my HP pavilion 735n. When I run the Linux internet wizard, it detects and lists my ethernet adapter (NVIDIA nforce MCP), but proceeds to tell me that it did not detect an ethernet adapter on my machine.

I tried installing the binary RPM file, which didn't work. I then tried to run the source RPM using the rpmbuild command. Everything seemed to run smoothly for a second, but then this came up in the console:

/usr/include/linux/modversions.h:1:2: #error "==================================
/usr/include/linux/modversions.h:2:2: #error "You should not include /usr/includ
e/{linux,asm}/ header"
/usr/include/linux/modversions.h:3:2: #error "files directly for the compilation
of kernel modules."
/usr/include/linux/modversions.h:4:2: #error ""
/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header files
from a well-defined"
/usr/include/linux/modversions.h:6:2: #error "working kernel version (as recomme
nded by Linus Torvalds)"
/usr/include/linux/modversions.h:7:2: #error "These files are glibc internal and
may not match the"
/usr/include/linux/modversions.h:8:2: #error "currently running kernel. They sho
uld only be"
/usr/include/linux/modversions.h:9:2: #error "included via other system header f
iles - user space"
/usr/include/linux/modversions.h:10:2: #error "programs should not directly incl
ude <linux/*.h> or"
/usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well."
/usr/include/linux/modversions.h:12:2: #error ""
/usr/include/linux/modversions.h:13:2: #error "To build kernel modules please do
the following:"
/usr/include/linux/modversions.h:14:2: #error ""
/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources instal
/usr/include/linux/modversions.h:16:2: #error ""
/usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic li
/usr/include/linux/modversions.h:18:2: #error " /lib/modules/`uname -r`/build
exists and points to"
/usr/include/linux/modversions.h:19:2: #error " the matching kernel source dir
/usr/include/linux/modversions.h:20:2: #error ""
/usr/include/linux/modversions.h:21:2: #error " o Now copy /boot/vmlinuz.version
.h to"
/usr/include/linux/modversions.h:22:2: #error " /lib/modules/`uname -r`/build/
/usr/include/linux/modversions.h:23:2: #error ""
/usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure to u
se the following"
/usr/include/linux/modversions.h:25:2: #error " compiler option to use the cor
rect include files:"
/usr/include/linux/modversions.h:26:2: #error ""
/usr/include/linux/modversions.h:27:2: #error " -I/lib/modules/`uname -r`/buil
/usr/include/linux/modversions.h:28:2: #error ""
/usr/include/linux/modversions.h:29:2: #error " instead of"
/usr/include/linux/modversions.h:30:2: #error ""
/usr/include/linux/modversions.h:31:2: #error " -I/usr/include/linux"
/usr/include/linux/modversions.h:32:2: #error ""
/usr/include/linux/modversions.h:33:2: #error " Please adjust the Makefile acc

Any help would be GREATLY appreciated. Thanks in advance!
clevemire is offline   Reply With Quote