Results 1 to 4 of 4
I'm trying to compile a driver and it's going into the kernel source to build modules, and I'm getting the error:
Code:
Building modules, stage 2.
MODPOST 1 modules
/bin/sh: ...
- 11-20-2007 #1Just Joined!
- Join Date
- Nov 2007
- Posts
- 8
No modpost directory
I'm trying to compile a driver and it's going into the kernel source to build modules, and I'm getting the error:
before it drops out of making the driver. All google helped with this was to check menuconfig and see "Enable loadable module support" was enabled. Another poster somewhere suggested copying a modpost dir from another distro would work, but I don't know if I like that (and I don't have another distro).Code:Building modules, stage 2. MODPOST 1 modules /bin/sh: scripts/mod/modpost: No such file or directory make[3]: *** [__modpost] Error 127 make[2]: *** [modules] Error 2
- 11-21-2007 #2Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
I'm not shure but maybe you can first try before compiling the driver:
Replace the version number with your version.Code:cd /usr/src/linux-2.6.12.2 make scripts/mod/modpost
Regards
- 11-21-2007 #3Just Joined!
- Join Date
- Nov 2007
- Posts
- 8
- 11-21-2007 #4Just Joined!
- Join Date
- Nov 2007
- Posts
- 8
Solved it - I just needed the kernel-devel RPM
Thanks!


Reply With Quote

