Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] make modules_install error; modules not recognized as ELF files
Date: Thu, 14 Mar 2013 02:47:57
Message-Id: 20130314024734.GA8032@waltdnes.org
1 Is my netbook dying, or is something else wrong? This is an older
2 32-bit Atom netbook, with
3 CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
4 and 'MAKEOPTS="-j1"'. Compiling the kernel works OK, but
5 "make modules_install" dies as follows...
6
7 [aa1][root][/usr/src/linux] make modules_install
8 INSTALL drivers/char/kcopy/kcopy.ko
9 INSTALL drivers/usb/host/ehci-hcd.ko
10 DEPMOD 3.7.10-gentoo
11 depmod: /lib/modules/3.7.10-gentoo/modules.alias is not an ELF file
12 depmod: /lib/modules/3.7.10-gentoo/modules.alias.bin is not an ELF file
13 depmod: /lib/modules/3.7.10-gentoo/modules.builtin is not an ELF file
14 depmod: /lib/modules/3.7.10-gentoo/modules.builtin.bin is not an ELF file
15 depmod: /lib/modules/3.7.10-gentoo/modules.ccwmap is not an ELF file
16 depmod: /lib/modules/3.7.10-gentoo/modules.dep.bin is not an ELF file
17 depmod: /lib/modules/3.7.10-gentoo/modules.devname is not an ELF file
18 depmod: /lib/modules/3.7.10-gentoo/modules.inputmap is not an ELF file
19 depmod: /lib/modules/3.7.10-gentoo/modules.ofmap is not an ELF file
20 depmod: /lib/modules/3.7.10-gentoo/modules.order is not an ELF file
21 depmod: cannot read ELF header from /lib/modules/3.7.10-gentoo/modules.seriomap
22 depmod: /lib/modules/3.7.10-gentoo/modules.softdep is not an ELF file
23 depmod: /lib/modules/3.7.10-gentoo/modules.symbols is not an ELF file
24 depmod: /lib/modules/3.7.10-gentoo/modules.symbols.bin is not an ELF file
25 make: *** [_modinst_post] Error 1
26
27 --
28 Walter Dnes <waltdnes@××××××××.org>
29 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] make modules_install error; modules not recognized as ELF files Walter Dnes <waltdnes@××××××××.org>