[Openswan Users] Re: [Openswan dev] cross-compiling -to- mips.

Paul Wouters paul at xelerance.com
Thu Sep 9 20:55:12 CEST 2004

On Thu, 9 Sep 2004, Michael Richardson wrote:

>    Megharaj> ../../linux/lib/libfreeswan/addrtoa.c In file included
>    Megharaj> from ../../linux/lib/libfreeswan/addrtoa.c:17:
>    Megharaj> ../../linux/lib/libfreeswan/internal.h:56: sys/types.h: No
>    Megharaj> such file or directory
>    Megharaj> ../../linux/lib/libfreeswan/internal.h:57: netinet/in.h:
>  Your MIPS compiler is not set up properly and/or you don't have
> a proper MIPS userland installed.
>  These files should be in your MIPS cross compiler's "standard include
> path" -- i.e. the MIPS equivalent of /usr/include. (But, not, I repeat,
> /usr/include, which is the HOSTs version)

Yes. Perhaps you want to take a look at "buildroot" and "openwrt". Both
systems first create the proper cross compile environment, and then
compile linux and a bunch of tools for mips.



More information about the Users mailing list