Re: Need to Test lld3 examples

From: Rob Landley
Date: Thu Jun 20 2013 - 00:17:45 EST

On 06/18/2013 03:39:54 AM, Suki Buryani wrote:


i am almost fresh in embedded Linux, i is the community's "where do I start" website. They have mentoring programs that are likely to provide more attention than you'll get here.

want to test LDD3 examples, for that i install fedora 4 in my VM, i am
unable to compile the kernel, i have set configs using make menuconfig,
and then try to make compile but it gives me  errors like

[root@localhost 2.6.11-1.1369_FC4-i686]# make

2.6.11. Huh. Quarterly releases, 3.0 would have been 2.6.40, we're now up to 3.10, so 39 releases ago...

That's almost a decade old. No idea, it could be anything...

  CHK     include/linux/version.h
scripts/kconfig/conf -s arch/i386/Kconfig

You didn't say which kernel version you were trying to build. If it's 2.6.11, most of us aren't going to remember the details it was so long ago.

# using defaults found in .config
  SPLIT   include/linux/autoconf.h -> include/config/*
  CHK     include/asm-i386/asm_offsets.h
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
scripts/mod/sumversion.c: In function 'maybe_frob_rcs_version':
scripts/mod/sumversion.c:496: warning: pointer targets in passing argument 1 of 'strip_rcs_crap' differ in signedness
  HOSTLD  scripts/mod/modpost
make[1]: *** No rule to make target `init/main.o', needed by `init/built-in.o'.  Stop.
make: *** [init] Error 2

Sounds like your version of "make" is too old? The file Documentation/Changes in the kernel source lists the minimum tool versions, and I vaguely recall there was a make bug requiring a version upgrade in the past 10 years...

Yeah, 4 years ago:

commit 2185a5ecd98d2cebc6a29b07b1ea4f7334c2ccc3
Author: Adam Lackorzynski <adam@xxxxxxxxxxxxxxxxxxxx>
Date: Sun Jun 14 22:38:59 2009 +0200

documentation: make version fix

The Makefiles in the build directories use the internal make variable
MAKEFILE_LIST which is available from make 3.80 only. (The patch would be
valid back to 2.6.25)

Signed-off-by: Adam Lackorzynski <adam@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>

Possibly the version of make in the 10 year old distro is too old?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at