[strongSwan-dev] [PATCH] conflicting type on openwrt

Jan Willem Beusink jan.willem.beusink at ti-wmc.nl
Tue Apr 6 17:14:38 CEST 2010


Hi all,

As of 4.3.6 strongSwan gives a compile error on the openWRT cross
compiler: "utils/identification.c:801: error: conflicting types for 'clone'"

Further study showed that a small name change was made in the source code.

I've added a patch that works for me, i.e., it compiles now. However I
have not yet tested it in a working environment! It is based on 4.3.5
however, so I fully expect this to work.

Besides the patch, the error that prompted this is also provided as an
attachment.

Hope this helps and can be placed in some kind of knowledge base. I
figure as this seems a openWRT related issue integrating this patch into
master is unnecessary.

Kind Regards,

Jan Willem Beusink
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error.clone_.txt
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20100406/30e1a568/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 202-clone.patch
Type: text/x-patch
Size: 700 bytes
Desc: not available
URL: <http://lists.strongswan.org/pipermail/dev/attachments/20100406/30e1a568/attachment.bin>


More information about the Dev mailing list