Building ELDK 3.0/3.1 from SRPMS

John W jmwoo2 at yahoo.com
Mon Oct 30 14:38:46 EST 2006


Thanks Wolfgang!  Loading RH7.3 and updating
everything with YUM seemed to do the trick to building
ELDK 3.0!

On a another note, I am also trying to build ELDK
2.1.0 from SRPMS on the same RH7.3 machine, and I am
comming across two problems:
1.  The SRPM for mount-2.11g-5a.src.rpm from the
Yellowdog 2.3 release seems to have "bad magic" in
that when trying to install the SRPM, there is some
sort of validation problem.  In remeding this, I am
using mount-2.11g-5a.src.rpm from the Yellowdog 2.2
release.    It probably isn't safe to to so, but I was
wondering how you over came this issue.

2.  I'm pretty sure that not all of my applications
are building in the ELDK2.1.0 release,  for example
when I check out the log for
/build/ppc-2006-10-27/logs/ppc_4xx/build_modutils.log,
it has the following error:
gperf -a -C -E -g -H is_reserved_hash -k 1,3,$ -N
is_reserved_word -p -t keyword
s.gperf > keywords.c.tmp
/bin/sh: gperf: command not found
make[1]: *** [keywords.c] Error 127
make[1]: Leaving directory
`/opt/eldkv2.1.0/build/ppc-2006-10-27/work/usr/src/de
nx/BUILD/modutils-2.4.13/genksyms'
make: *** [all] Error 2
error: Bad exit status from
/opt/eldkv2.1.0/build/ppc-2006-10-27/work/var/tmp/rp
m-tmp.26616 (%build)

Does mean that I need to go get gperf?

Thanks for the help!

John Woo


--- Wolfgang Denk <wd at denx.de> wrote:

> Dear John,
> 
> in message
> <20061027182114.24662.qmail at web50315.mail.yahoo.com>
> you wrote:
> > 
> > I having trouble rebuilding ELDK 3.0 & ELDK 3.1
> from
> > the source RPMS.  I have spent a great deal of
> time on
> > this, and I have a feeling that maybe I=92m just
> not
> > doing something correctly (setting up the build
> > environment, retrieving source/specs from CVS..
> > etc..).  My build machine is Red Hat 9.0 without
> any
> > updates (Kernel 2.4.20-8, the Shrike release).
> 
> This will not work; to build ELDK 3.x from scratch
> you need a  RH-7.3
> box *with* all updates installed.
> 
> Best regards,
> 
> Wolfgang Denk
> 
> -- 
> Software Engineering:  Embedded and Realtime
> Systems,  Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80
> Email: wd at denx.de
> e-credibility: the non-guaranteeable likelihood that
>  the  electronic
> data you're seeing is genuine rather than somebody's
> made-up crap.
> - Karl Lehenbauer
> 



 
____________________________________________________________________________________
Get your email and see which of your friends are online - Right on the New Yahoo.com 
(http://www.yahoo.com/preview) 




More information about the Linuxppc-embedded mailing list