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

Michael Richardson mcr at sandelman.ottawa.on.ca
Thu Sep 9 14:47:25 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Megharaj" == Megharaj  <megharaj at isofttech.com> writes:
    Megharaj> 3) Then i tried to build the programs in the openswan.  it
    Megharaj> is giving the fallwoing error:

    Megharaj> [root at home openswan-2.1.5]# make programs make[1]:
    Megharaj> Entering directory `/usr/src/openswan-2.1.5/doc' make[1]:
    Megharaj> Nothing to be done for `programs'.  make[1]: Leaving
    Megharaj> directory `/usr/src/openswan-2.1.5/doc' make[1]: Entering
    Megharaj> directory `/usr/src/openswan-2.1.5/lib' make[2]: Entering
    Megharaj> directory `/usr/src/openswan-2.1.5/lib/libfreeswan'
    Megharaj> mips-linux-gcc -I. -I../../linux/lib/libfreeswan
    Megharaj> -I../../linux/include -I../.. -g -O3 -Wall -Wpointer-arith
    Megharaj> -Wcast-qual -Wstrict-prototypes -Wbad-function-cast
    Megharaj> -DNAT_TRAVERSAL -c -o addrtoa.o

    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)

- --
]     "Elmo went to the wrong fundraiser" - The Simpson         |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr at xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQUCXK4qHRg3pndX9AQHWVgQAwJyDemschcw0dghViTyt8GgwiVxWGvuK
d+Dnp3hnbmIw3RkzL8+mqCmb4+JELy/CfgSQ1URw6smrl/E6tLCc61rQubXosqYq
4g4i/NlUTGG/v04uPbac1rWterefPujuNLREVS7xZANirUnpzZL4PMcMSR1tsY1y
2VWX3jRoIZ8=
=Hy5g
-----END PGP SIGNATURE-----
_______________________________________________
Users mailing list
Users at openswan.org
http://lists.openswan.org/mailman/listinfo/users


More information about the Dev mailing list