build error

Jim Gifford lfs at jg555.com
Mon Jan 16 10:46:08 PST 2006

Michael J. Hammel wrote:
> I got the following when building using MIPS Multilib after the
> modules_install step (or more likely at the end of that step):
> if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
> System.map -b /mnt/lfs-mips -r; fi
> /bin/sh: line 1: 21614 Segmentation fault      /sbin/depmod -ae -F
> System.map -b /mnt/lfs-mips -r
> make[1]: *** [_modinst_post] Error 139
> This looks to be using the host depmod.  I have a /mnt/lfs/sbin/depmod
> (actually, /mnt/lfs-mips), but that is a MIPS binary so that shouldn't
> be getting used.  I'm not very familiar with depmod's internals - should
> it be able to read cross compiled kernels in order to do it's thing?
> Did I miss a step and should have a host-based depmod that can read MIPS
> kernels as part of the CLFS toolchain build?
> FYI - my host platform is Fedora Core 3 x86.
In boot section you don't build with modules. Only on the final system 
you build with modules which is on the target machine.

jim at linuxfromscratch.org
lfs at jg555.com

LFS User # 2577
Registered Linux User # 299986

More information about the cross-lfs mailing list