Grant Parnell wrote:
Doh... just remembered I should have posted this to coders
I'm trying to re-discover how to build a single module. I once found a
brilliant howto and can't find it again. I'm trying with Fedora Core 6
with 2.6.18. As near as I can tell it's something like this...
pwd
/usr/src/linux-unaltered
ls
arch CREDITS fs Kbuild Makefile REPORTING-BUGS
usr
block crypto include kernel mm scripts
configs Documentation init lib net security
COPYING drivers ipc MAINTAINERS README sound
make -C /usr/src/linux-unaltered \
M=/usr/src/linux-unaltered/fs/ntfs/ modules
make: Entering directory `/usr/src/linux-unaltered'
WARNING: Symbol version dump /usr/src/linux-unaltered/Module.symvers
is missing; modules will have no dependencies and modversions.
Building modules, stage 2.
MODPOST
/bin/sh: scripts/mod/modpost: No such file or directory
make[1]: *** [__modpost] Error 127
make: *** [modules] Error 2
make: Leaving directory `/usr/src/linux-unaltered'
BTW, I'm just using the ntfs module as an example any working example
will do. Of pariticular interest for me is recompiling the capi and
mISDN drivers with a patch I've got for the NetJet ISDN card.
I keep retrying from scratch by copying the source tree from
/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.i386
Then copying in a .config file from either /boot/config-* or configs/
within the source tree. Then doing make oldconfig and make prepare.
What am I missing here?
I'm even happy to move it out of the kernel tree and follow the
external module build but I think I'll hit the same problem. I wish I
could find that howto again because it worked!
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-custom-kernel-monolithic.html
O Plameras
_______________________________________________
coders mailing list
[email protected]
http://lists.slug.org.au/listinfo/coders