[strongSwan] Error while building vstr library for ICS

Deepika Agarwal deepi7.agarwal at gmail.com
Mon Feb 20 06:53:37 CET 2012


Hello experts,

I'm trying to build the vstr library for strongswan on ICS.However, when I
give this build command, I'm getting the following error:

cd vstr-1.0.15
patch -p1 < ../vstr.patch
. ../vstr.build

snippet
<<<<
Making all in src
make[1]: Entering directory `/home/deepika/vstr/vstr-1.0.15/src'
/bin/bash ../libtool --tag=CC --mode=compile droid-gcc -DHAVE_CONFIG_H -I.
-I. -I../include -I../include    -DUSE_RESTRICTED_HEADERS -Wall -O2   -c -o
assert_loop.lo assert_loop.c
 droid-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-DUSE_RESTRICTED_HEADERS -Wall -O2 -c assert_loop.c -o assert_loop.o
/usr/local/bin/droid-gcc:203: warning: Insecure world writable dir
/home/deepika/ICS/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin
in PATH, mode 040777
In file included from ../include/main.h:8,
                 from assert_loop.c:21:
../include/main_system.h:125:4: warning: #warning "Not using, even though
you asked."
In file included from ../include/main.h:22,
                 from assert_loop.c:21:
../include/fix.h:23: error: conflicting types for 'prctl'
/home/deepika/ICS/bionic/libc/include/unistd.h:75: error: previous
declaration of 'prctl' was here
make[1]: *** [assert_loop.lo] Error 1
make[1]: Leaving directory `/home/deepika/vstr/vstr-1.0.15/src'
make: *** [all-recursive] Error 1
cp: cannot stat `src/.libs/libvstr.a': No such file or directory
>>>

Please suggest if I'm missing something here.

Thanks
Deepika
-- 
If you think you can or if you think you can't, you are right.
-Henry Ford
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20120220/775ad288/attachment.html>


More information about the Users mailing list