[strongSwan] Android Compilation issues with 5.2.0-rc1

Tobias Brunner tobias at strongswan.org
Thu Jul 24 18:09:57 CEST 2014


Hi Andre,

> diff --git a/src/include/linux/types.h b/src/include/linux/types.h
> index 22cfdc0..02e5719 100644
> --- a/src/include/linux/types.h
> +++ b/src/include/linux/types.h
> @@ -9,22 +9,22 @@
> 
>   typedef __u32 __kernel_dev_t;
> 
> -typedef __kernel_fd_set                fd_set;
> +//typedef __kernel_fd_set              fd_set;

I can't reproduce this.  What exactly is getting built when this
conflict occurs?

> make: Entering directory `/usr/src/android/4.1.1-upload'
> make: *** No rule to make target `external/strongswan/src/libstrongswan/settings/settings_parser.c', needed by 
> `out/target/product/generic/obj/SHARED_LIBRARIES/libstrongswan_intermediates/settings/settings_parser.o'.  Stop.
> make: Leaving directory `/usr/src/android/4.1.1-upload'

This source file is generated by a tool.  There are several others, of
which some, like this, are generated by bison (or flex), others by
gperf.  One of the ways to generate them in the source tree when
building from the Git repository is to execute the following (see
HACKING for a list of dependencies):

   ./autogen.sh && ./configure && make dist && rm strongswan-*.tar.gz

`make distdir` also works, which produces a strongswan-x.x.x directory
you can delete afterwards.

I added this step explicitly to the description at [1].

Regards,
Tobias

[1] http://wiki.strongswan.org/projects/strongswan/wiki/Android



More information about the Users mailing list