[Openswan Users] Openswan and Openwrt
Scott Savarese
openswan at scottsavarese.com
Thu Sep 18 19:41:27 EDT 2008
Sorry for the late reply. I haven't had a chance to work on this for a
while.
I've tried using the Makefile that Ken gave and I'm still having an issue.
Here is the error message:
mipsel-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/linux/include
-I/home/savarese/kamikaze_7.09/staging_dir_mipsel/usr/include
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/linux-2.6.22/include
-L/home/savarese/kamikaze_7.09/staging_dir_mipsel/usr/lib
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/ports/linux/include
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/ports/linux/include
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/ports/linux/include
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/lib/liblwres/unix/include
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/lib/liblwres/../libisc/unix/include
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/lib/liblwres/../libisc/include
-I. -I./include
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/lib/liblwres/include
-g -Werror
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/ports/linux/include
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/ports/linux/include
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/ports/linux/include
-I.
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/linux/net/ipsec
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/linux/include
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/include
-DDEBUG -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/linux/include
-I/home/savarese/kamikaze_7.09/staging_dir_mipsel/usr/include
-I/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/linux-2.6.22/include
-L/home/savarese/kamikaze_7.09/staging_dir_mipsel/usr/lib -Wall
-Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast
-DNAT_TRAVERSAL -DKLIPS -c -o context.o
/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/lib/liblwres/context.c
/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/lib/liblwres/context.c:
In function `lwres_context_sendrecv':
/home/savarese/kamikaze_7.09/build_mipsel/linux-2.6-brcm47xx/openswan-2.6.16dr5/lib/liblwres/context.c:373:
warning: dereferencing type-punned pointer will break strict-aliasing rules
make[7]: *** [context.o] Error 1
To attempt this build I ran the following commands:
svn co https://svn.openwrt.org/openwrt/tags/kamikaze_7.09
rm -rf kamikaze_7.09/package/openswan/*
copy Ken's makefile into package/openswan
cd kamikaze_7.09
make menuconfig
I set the target system to "Broadcom BCM947xxx/953xxx [2.6]" to
work with my router
I set target profile to "No WiFi"
I went into Network and set openswan to "M" to build it as a
package"
Then I ran make V=99 to build it.
Am I missing something?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20080918/381e0c1d/attachment.html
More information about the Users
mailing list