From: "Mathews, Phil" <Phil.Mathews@innocon.com>
To: "Wolfgang Denk" <wd@denx.de>
Cc: Linuxppc-embedded@ozlabs.org
Subject: RE: Unable to build ELDK 4.0
Date: Thu, 31 Aug 2006 12:13:11 -0400 [thread overview]
Message-ID: <3E8081396F6B524BA2854E7FA3F16438042EB1DF@mail.innocon.com> (raw)
In-Reply-To: 20060831155857.35812352640@atlas.denx.de
[-- Attachment #1: Type: text/plain, Size: 2469 bytes --]
-----Original Message-----
From: Wolfgang Denk [mailto:wd@denx.de]
Sent: Thu 8/31/2006 11:58 AM
To: Mathews, Phil
Cc: Linuxppc-embedded@ozlabs.org
Subject: Re: Unable to build ELDK 4.0
Dear Phil,
in message <3E8081396F6B524BA2854E7FA3F16438042EB1DB@mail.innocon.com> you wrote:
>
> I am attempting to build the ELDK kernel using the directions in
> /home/mathews/ELDK/ppc_6xx/usr/src/linux-2.6.15/README. The makefile is
Please also RTFM: http://www.denx.de/wiki/DULG/Manual?stickboard=yosemite ,
especially section "6.2. Kernel Configuration and Compilation":
http://www.denx.de/wiki/view/DULG/LinuxConfiguration#Section_6.2.
Note that I selected the DULG-version for a board for which 2.6
kernel support is available.
> trying to execute powerPC code (fixdep) on my Pentium box. Where can I
> get a X86 version of this program?
This is a consequence of wrong make commands.
> ##### Make attempt:
> mathews@mathews:~/ELDK/ppc_6xx/usr/src/linux-2.6.15> make
> O=/home/name/build/kernel menuconfig
You must pass correct ARCH= and CROSS_COMPILE= arguments when running
make, i. e.
make ARCH=ppc CROSS_COMPILE=ppc_6xx- ... menuconfig
etc. Also make sure to start from a clean source tree, i. e. run
"make mrproper" to clean up before configuring your board.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
A modem is a baudy house.
====================
------Follow Up-----
====================
After doing "make mrproper" and again following the README file that came with ELDK:
env | grep -e ARCH -e COMPILE
ARCH=ppc
CROSS_COMPILE=ppc_6xx-
mathews@mathews:~/ELDK/ppc_6xx/usr/src/linux-2.6.15> make O=/home/name/build/kernel menuconfig
HOSTCC scripts/basic/fixdep
In file included from /home/mathews/ELDK/usr/../ppc_6xx/usr/include/sys/socket.h:35,
from /home/mathews/ELDK/usr/../ppc_6xx/usr/include/netinet/in.h:24,
from /home/mathews/ELDK/usr/../ppc_6xx/usr/include/arpa/inet.h:23,
from /home/mathews/ELDK/ppc_6xx/usr/src/linux-2.6.15/scripts/basic/fixdep.c:115:
/home/mathews/ELDK/usr/../ppc_6xx/usr/include/bits/socket.h:304:24: error: asm/socket.h: No such file or directory
make[2]: *** [scripts/basic/fixdep] Error 1
make[1]: *** [scripts_basic] Error 2
make: *** [menuconfig] Error 2
[-- Attachment #2: Type: text/html, Size: 3718 bytes --]
next prev parent reply other threads:[~2006-08-31 16:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-31 13:18 watchdog on mpc8260 with embedded linux Wang LP
2006-08-31 15:18 ` Unable to build ELDK 4.0 Mathews, Phil
2006-08-31 15:58 ` Wolfgang Denk
2006-08-31 16:13 ` Mathews, Phil [this message]
2006-08-31 20:00 ` Wolfgang Denk
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=3E8081396F6B524BA2854E7FA3F16438042EB1DF@mail.innocon.com \
--to=phil.mathews@innocon.com \
--cc=Linuxppc-embedded@ozlabs.org \
--cc=wd@denx.de \
/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