The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: Suki Buryani <sukiburyani@yahoo.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Need to Test lld3 examples
Date: Wed, 19 Jun 2013 23:17:37 -0500	[thread overview]
Message-ID: <1371701857.2776.129@driftwood> (raw)
In-Reply-To: <1371544794.13366.YahooMailNeo@web163905.mail.gq1.yahoo.com> (from sukiburyani@yahoo.com on Tue Jun 18 03:39:54 2013)

On 06/18/2013 03:39:54 AM, Suki Buryani wrote:
> 
> 
> hi,
> 
> i am almost fresh in embedded Linux, i

http://kernelnewbies.org 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@os.inf.tu-dresden.de>
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@os.inf.tu-dresden.de>
     Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
     Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

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

Rob

      reply	other threads:[~2013-06-20  4:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-18  8:39 Need to Test lld3 examples Suki Buryani
2013-06-20  4:17 ` Rob Landley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1371701857.2776.129@driftwood \
    --to=rob@landley.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sukiburyani@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox