[strongSwan] Strongswan on android gingerbread

Federico.Mancini at ffi.no Federico.Mancini at ffi.no
Thu Oct 6 11:09:34 CEST 2011


 

Hi all,

I am new to both strongswan, android and IPsec, but for the last three
weeks I have been trying to learn enough

to integrate strongswan into android.

Now, since the kernel.org site to get android sources is down, it took
me two weeks only to get a source that successfully compiled, and this
was the gingerbread version (2.3.5) on kernel 2.6.29.

I finally managed to do everything written here
http://wiki.strongswan.org/projects/strongswan/wiki/Android
<http://wiki.strongswan.org/projects/strongswan/wiki/Android>  and I can
now run the emulator with the modified kernel.

The problem comes when I try to patch the VPN frontend as written here:
http://wiki.strongswan.org/projects/strongswan/wiki/AndroidFrontend
<http://wiki.strongswan.org/projects/strongswan/wiki/AndroidFrontend>  .

The android source doesn't compile anymore. I suspect it is because I am
using Gingerbread instead of Froyo maybe? The problem is that I couldn't
manage to get a Froyo source that compiled on 

my machine, and I am stuck with Gingerbread. Is there any new patch or
workaround that can work with Gingerbread? 

I get the following errors that have to do with this strings.xml file
(the actual list of errors is much longer, but they are all of the same
type of these):

 

frameworks/base/core/res/res/values/strings.xml:2458: Originally defined
here.

frameworks/base/core/res/res/values/strings.xml.orig:2461: error:

Resource entry format_error is already defined.

frameworks/base/core/res/res/values/strings.xml:2462: Originally defined
here.

frameworks/base/core/res/res/values/strings.xml.orig:2463: error:

Resource entry media_bad_removal is already defined.

frameworks/base/core/res/res/values/strings.xml:2464: Originally defined
here.

frameworks/base/core/res/res/values/strings.xml.orig:2467: error:

Resource entry media_checking is already defined.

frameworks/base/core/res/res/values/strings.xml:2468: Originally defined
here.

frameworks/base/core/res/res/values/strings.xml.orig:2469: error:

Resource entry media_removed is already defined.

frameworks/base/core/res/res/values/strings.xml:2470: Originally defined
here.

frameworks/base/core/res/res/values/strings.xml.orig:2473: error:

Resource entry media_shared is already defined.

frameworks/base/core/res/res/values/strings.xml:2474: Originally defined
here.

frameworks/base/core/res/res/values/strings.xml.orig:2475: error:

Resource entry media_unknown_state is already defined.

frameworks/base/core/res/res/values/strings.xml:2476: Originally defined
here.

make: ***
[out/target/common/obj/APPS/framework-res_intermediates/package-export.a
pk]

Error 1

make: *** Sletter fil

`out/target/common/obj/APPS/framework-res_intermediates/package-export.a
pk'

 

Also, in practice, is the frontend patch only for usability? In other
words, if there is no fix to my problem, is it actually possible to use
strongswan without the frontend patch? And if so, how? 

 

Thanks a lot in advance for any help.

 

Federico

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20111006/e2306d59/attachment.html>


More information about the Users mailing list