Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] make modules_install error; modules not recognized as ELF files
Date: Thu, 14 Mar 2013 21:14:56
Message-Id: 20130314211431.GA9547@waltdnes.org
In Reply to: [gentoo-user] make modules_install error; modules not recognized as ELF files by Walter Dnes
1 On Wed, Mar 13, 2013 at 10:47:34PM -0400, Walter Dnes wrote
2 > Is my netbook dying, or is something else wrong? This is an older
3 > 32-bit Atom netbook, with
4 > CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
5 > and 'MAKEOPTS="-j1"'. Compiling the kernel works OK, but
6 > "make modules_install" dies as follows...
7
8 I unmasked kernel 3.5.7-r1 (no, I don't run ext4) and tried again. I
9 got...
10
11 [aa1][root][/usr/src/linux] make modules_install
12 INSTALL drivers/char/kcopy/kcopy.ko
13 INSTALL drivers/scsi/scsi_wait_scan.ko
14 INSTALL drivers/usb/host/ehci-hcd.ko
15 DEPMOD 3.5.7-gentoo-r1
16 depmod: /lib/modules/3.5.7-gentoo-r1/modules.builtin is not an ELF file
17 depmod: /lib/modules/3.5.7-gentoo-r1/modules.order is not an ELF file
18 make: *** [_modinst_post] Error 1
19
20 Both of these are textfiles, but there were a few *.bin files in the
21 previous kernel build error list. This is a 32-bit machine running gcc
22 4.6.3. My desktop, also running in 32-bit mode with kernel 3.5.7-r1 and
23 gcc 4.6.3, has no such problem. Any ideas?
24
25 --
26 Walter Dnes <waltdnes@××××××××.org>
27 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 Paul Hartman <paul.hartman+gentoo@×××××.com>