Re: How to cross compile NET-SNMP

Hector Oron <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded,gmane.network.net-snmp.user
Message-ID <[email protected]>
Dear Wolfgang,

  The code i compiled worked fine. Following your instruccions i have been
able to create the rpm packages. So everything is perfect.

Thanks for your kindly help and thanks for your valuable information.

¡ Happy New Year !

 Héctor Orón

On 12/27/05, Wolfgang Denk <[email protected]> wrote:
>
> Dear Hector,
>
> in message <[email protected]>
> you wrote:
> >
> > -> ${CROSS_COMPILE}rpmbuild -ba net-snmp.spec
> > [...]
> > checking for correct flags to ps...
> > configure: error: Endianness has been specified, but you are not
> > cross-compiling.
>
> Please read the documentation again. I guess you missed this part:
>
>         "The <ELDK_root>/usr/ppc-linux/bin directory must be in PATH
>         before the /usr/bin directory. This is to make sure that the
>         command gcc results in the fact that the ELDK cross compiler
>         is invoked, rather than the host gcc."
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
> You don't have to stay up nights to succeed; you have to  stay  awake
> days.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.