LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 06-09-2012, 04:36 PM   #1
micscherer
LQ Newbie
 
Registered: May 2011
Location: Vienna
Distribution: gentoo
Posts: 10

Rep: Reputation: 0
kernel make error: "vmlinux.o no such file ..." and make -d "Reaping losing ..."


Hi all,

it's now weeks that I'm running the internet up and down in search of a
solution to this problem, without any success, including an attempt at
gentoo's bugzilla (who probably correctly denied responsibility), gentoo
forums and your "similar threads"-button.

kernel make of gentoo-sources-3.2.12 gives me the error
"vmlinux.o: No such file or directory".
here's some context from "make C=1":

>>>
LD lib/zlib_inflate/built-in.o
ls -Al -m elf_x86_64 -r -o lib/zlib_inflate/built-in.o lib/zlib_inflate/zlib_inflate.o
LD lib/built-in.o
ls -Al -m elf_x86_64 -r -o lib/built-in.o lib/bcd.o lib/div64.o lib/sort.o lib/parser.o lib/halfmd4.o lib/debug_locks.o lib/random32.o lib/bust_spinlocks.o lib/hexdump.o lib/kasprintf.o lib/bitmap.o lib/scatterlist.o lib/string_helpers.o lib/gcd.o lib/lcm.o lib/list_sort.o lib/uuid.o lib/flex_array.o lib/bsearch.o lib/find_last_bit.o lib/find_next_bit.o lib/llist.o lib/kstrtox.o lib/iomap.o lib/iomap_copy.o lib/devres.o lib/hweight.o lib/bitrev.o lib/crc16.o lib/crc-itu-t.o lib/crc32.o lib/zlib_inflate/built-in.o lib/zlib_deflate/built-in.o lib/lzo/built-in.o lib/xz/built-in.o lib/percpu_counter.o lib/swiotlb.o lib/iommu-helper.o lib/syscall.o lib/nlattr.o lib/cpu_rmap.o
LD arch/x86/lib/built-in.o
ls -Al -m elf_x86_64 -r -o arch/x86/lib/built-in.o arch/x86/lib/msr-smp.o arch/x86/lib/cache-smp.o arch/x86/lib/msr.o arch/x86/lib/msr-reg.o arch/x86/lib/msr-reg-export.o arch/x86/lib/iomap_copy_64.o
LD vmlinux.o
ls -Al -m elf_x86_64 -r -o vmlinux.o arch/x86/kernel/head_64.o arch/x86/kernel/head64.o arch/x86/kernel/head.o arch/x86/kernel/init_task.o init/built-in.o --start-group usr/built-in.o arch/x86/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o block/built-in.o lib/lib.a arch/x86/lib/lib.a lib/built-in.o arch/x86/lib/built-in.o drivers/built-in.o sound/built-in.o firmware/built-in.o arch/x86/pci/built-in.o arch/x86/video/built-in.o net/built-in.o --end-group
MODPOST vmlinux.o
vmlinux.o: No such file or directory
make[1]: *** [vmlinux.o] Error 1
make: *** [vmlinux.o] Error 2
<<<

this is the essence of what's wrong, the ls -Al -m elf_c86_64 ... outputs
after each LD and finally the aborted MODPOST.
I've done all possible and impossible make xxx variants, from the obvious
"make clean" to "make allnoconfig" and the like.

running "make -d" tells me a little bit more, but I don't know what to
make of it:

>>>
No need to remake target `include/config/auto.conf'.
Considering target file `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
Looking for an implicit rule for `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
Trying pattern rule with stem `usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
Trying implicit prerequisite `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost_shipped'.
Trying pattern rule with stem `usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
Trying implicit prerequisite `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost_shipped'.
Looking for a rule with intermediate file `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost_shipped'.
Avoiding implicit rule recursion.
No implicit rule found for `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
Finished prerequisites of target file `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
No need to remake target `/usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost'.
Updating goal targets....
Considering target file `vmlinux.o'.
File `vmlinux.o' does not exist.
Considering target file `FORCE'.
File `FORCE' does not exist.
Finished prerequisites of target file `FORCE'.
Must remake target `FORCE'.
Successfully remade target file `FORCE'.
Finished prerequisites of target file `vmlinux.o'.
Must remake target `vmlinux.o'.
Invoking recipe from /usr/src/linux-3.2.12-gentoo/scripts/Makefile.modpost:97 to update target `vmlinux.o'.
Putting child 0x1ad2d80 (vmlinux.o) PID 14918 on the chain.
Live child 0x1ad2d80 (vmlinux.o) PID 14918
MODPOST vmlinux.o
vmlinux.o: No such file or directory
Reaping losing child 0x1ad2d80 PID 14918
make[1]: *** [vmlinux.o] Error 1
Removing child 0x1ad2d80 PID 14918 from chain.
Reaping losing child 0x9db190 PID 14916
make: *** [vmlinux.o] Error 2
Removing child 0x9db190 PID 14916 from chain.
<<<

and at last system information:

>>>
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop, gcc-4.5.3,
glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-AMD_Phenom-tm-_8400_Triple-
Core_Processor-with-gentoo-2.1
Timestamp of tree: Sat, 09 Jun 2012 08:15:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r1, 3.2.3
dev-util/ccache: 3.1.7
dev-util/cmake: 2.8.7-r5
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.6
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt
/var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks
fixlafiles news parallel-fetch protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
FFLAGS="-march=amdfam10 -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.inode.at http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
<<<

That's about all, at least for the first post, maybe someone has an idea.
All other compilations run flawlessly, there's no race condition ("make -j1"),
the file system is ok, no lack of inodes or the like, I've tried other
kernels past and future, and different .configs as well.
.config might have something to do with this error, but the only variation
I get is that sometimes the compilation just runs up to "mount.o".

If you need any further information I'll gladly provide it, only I thought
this post is already long enough.

kind regards, michael
 
Old 06-09-2012, 05:38 PM   #2
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 Current
Posts: 327

Rep: Reputation: 77
What happens when you try to compile pristine sources from kernel.org? That is: untar them in /usr/src, cd to the new directory and type "make" at a prompt?

Last edited by fogpipe; 06-09-2012 at 07:59 PM.
 
Old 06-10-2012, 08:32 AM   #3
micscherer
LQ Newbie
 
Registered: May 2011
Location: Vienna
Distribution: gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
I'll try that next time I'm in my Linux again and come back.

regards, michael
 
Old 06-12-2012, 07:29 AM   #4
micscherer
LQ Newbie
 
Registered: May 2011
Location: Vienna
Distribution: gentoo
Posts: 10

Original Poster
Rep: Reputation: 0
I used kernel.org linux-3.4.2, compiled it from it's own directory,
but again just the same: vmlinux.o no such file ...
An upgrade of the gcc version (4.5.3 -> 4.7.0) wasn't helpful either.

I'm running out of ideas, but I'd rather avoid scratching everything
and starting with a complete new install.

regards, michael
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS6.3 - Ch5.4.1 "/bin/sh sort not found" error at "make bootstrap" ubyt3m3 Linux From Scratch 2 06-23-2008 12:09 AM
upgrade to kernel 2.6.16.1 : "make bzImage" print "parse error" math_physics Red Hat 2 06-29-2007 11:04 PM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 06:25 PM
error running "make" and "arkollonrc"... Toro Linux - Software 1 04-19-2004 12:24 AM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM


All times are GMT -5. The time now is 02:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration