Re: How to cross compile NET-SNMP

Wolfgang Denk <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded,gmane.network.net-snmp.user
Message-ID <[email protected]>
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.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
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.