Quoting Lan Barnes <[EMAIL PROTECTED]>:
This initial bit...
===
[EMAIL PROTECTED] Module]# make
cc -D__KERNEL__ -I/usr/src/kernels/2.6.20-1.2933.fc6-i686//include -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS
-include
/usr/src/kernels/2.6.20-1.2933.fc6-i686//include/linux/modversions.h
-Wall -Wstrict-prototypes -Wno-trigraphs -c -o rtmp_main.o rtmp_main.c
cc1: error:
/usr/src/kernels/2.6.20-1.2933.fc6-i686//include/linux/modversions.h:
No such file or directory
In file included from rtmp_main.c:38:
rt_config.h:53:40: error: linux/config.h: No such file or directory
===
Leads me to believe that maybe your kernel source isn't setup for
building modules yet. If you didn't build the kernel then boot that
kernel, the source likely needs you to do something like:
make oldconfig
make modules_prepare
which will do thinks like put some initial small scripts into place
and do some links in at least the asm paths.
I could be way off though.
I'm used to running into this and seeing very similar errors on
rhel/sles hosts when you do an install, install kernel-source and then
try to build a module without running (on SuSE at least): make
cloneconfig; make modules_prepare.
--
Mike Marion-Unix/Linux Admin-http://www.miguelito.org
[It's Halloween Kitty gives out raisins]
Kids: "Ewwwww..."
Kitty: "No, raisins are good for you. Raisins are nature's candy."
[As soon as she closes the sliding glass door eggs hit it]
Red: "..and eggs are nature's hand grenade. Kitty, don't give them raisins..
it just pisses them off."
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list