rebuild net-snmp 5.0.6 from eldk 3.1.1

Wolfgang Denk wd at denx.de
Fri Aug 26 18:48:29 EST 2005


In message <1125017324.7073.4.camel at 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 at denx.de
People seldom know what they want until you give them what  they  ask
for.



More information about the Linuxppc-embedded mailing list