[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to cross compile NET-SNMP



Dear Hector,

in message <dd0a3d700512270815n50e0d311sc2c9e7cc387f8bfb@mail.gmail.com> 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: wd@denx.de
You don't have to stay up nights to succeed; you have to  stay  awake
days.



Reply to: