You need modules unless compiling everything static, which usually is
good in theory, but bad in practice unless a very embedded, specific
hardware use. Is that what you're doing? If so, maybe lfs
wants/expects modular kernels for its build tools.
Seems like those are likely dependent on something not being built
elsewhere.
Why no modules? Last time I tried to compile a kernel statically was
probably circa 2008, eventually I just gave up tracing dependencies to
get a slim-build kernel around my hardware. I just added more space to
my /boot partition eventually to deal with bloating kernel images as the
alt is a real pita.
-mb
On 09/05/2014 11:28 AM, Michael Havens wrote:
> I'm almost done with the base LFS system. The error I am getting now is:
>
> Makefile:1024: recipe for target 'modules_install' failed
>
> I'm thinking that it is because I'm not installing any modules
> This is what I entered to get to that point:
>
> make>>make.fail 2>&1
> make modules_install>>install.fail 2>&1
> cp -v arch/x86/boot/bzImage /boot/vmlinuz-3.13.3-lfs-7.5
> cp -v System.map /boot/System.map-3.13.3
> cp -v .config /boot/config-3.13.3
> install -d /usr/share/doc/linux-3.13.3
> cp -r Documentation/* /usr/share/doc/linux-3.13.3
> chown -R 0:0 .
> install -v -m755 -d /etc/modprobe.d
> cat > /etc/modprobe.d/usb.conf << "EOF"
> # Begin /etc/modprobe.d/usb.conf
> install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd
> ; true
> install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd
> ; true
> # End /etc/modprobe.d/usb.conf
> EOF
> grep -E 'error|fail' {make,install}.fail
>
> and this is the complete error log:
>
> root:/sources/linux-3.13.3# grep -iE 'error|fail' {make,install}.fail
> make.fail: CC drivers/acpi/acpica/uterror.o
> make.fail: CC drivers/acpi/acpica/utxferror.
> o
> make.fail: CC drivers/gpu/drm/i915/i915_gpu_error.o
> make.fail: CC drivers/scsi/scsi_error.o
> install.fail:Makefile:1024: recipe for target 'modules_install' failed
> install.fail:make: *** [modules_install] Error 1
> root:/sources/linux-3.13.3#
> :-)~MIKE~(-:
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss