LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: 徐小威的EMAIL <rober@opnet.com.tw>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: rebuild net-snmp 5.0.6 from eldk 3.1.1
Date: Fri, 26 Aug 2005 10:48:29 +0200	[thread overview]
Message-ID: <20050826084829.86B07352589@atlas.denx.de> (raw)
In-Reply-To: Your message of "Fri, 26 Aug 2005 08:48:44 +0800." <1125017324.7073.4.camel@banana>

In message <1125017324.7073.4.camel@banana> you wrote:
> 
>     Anybody know how to setting fedora linux 3 environment to cross
> compile netsnmp 5.0.6
> contain in the eldk 3.1.1.

This is documented in detail in the DULG, please see
http://www.denx.de/twiki/bin/view/DULG/ELDKRebuildingComponents#Section_3.7.2.

Make sure to follow the instructions, especially those about  setting
up your PATH!

>    I'v try to modify net-snmp.spec for using pcc_8xx-gcc, but still got
> probems.

The unmodified spec file works just fine.

> Executing(%prep): /bin/sh -e /opt/eldk/var/tmp/rpm-tmp.4936
...
> + ./configure --host=i386-pc-linux-gnu --build=i386-pc-linux-gnu --
> target=ppc-denx-linux --program-prefix= --prefix=/usr --exec-prefix=/usr
> --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --
> datadir=/usr/share --includedir=/usr/include/net-snmp --libdir=/usr/lib
> --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
> --mandir=/usr/share/man --infodir=/usr/share/info --host=ee --enable-
                                                      ^^^^^^^
...
> checking host system type... Invalid configuration `ee': machine `ee'
> not recognized

You modified the spec file in a way that breaks it. Don't do this.

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
People seldom know what they want until you give them what  they  ask
for.

      reply	other threads:[~2005-08-26  8:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-26  0:48 rebuild net-snmp 5.0.6 from eldk 3.1.1 徐小威的EMAIL
2005-08-26  8:48 ` Wolfgang Denk [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=20050826084829.86B07352589@atlas.denx.de \
    --to=wd@denx.de \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=rober@opnet.com.tw \
    /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