[Openswan Users] Openswan and Openwrt

Paul Wouters paul at xelerance.com
Fri Sep 19 12:28:26 EDT 2008


On Thu, 18 Sep 2008, Scott Savarese wrote:

> 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:

> -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

That's another known issue. Easiest for now would be to disable "-Wall" so that it is not fatal.

Paul



More information about the Users mailing list