Hi,

>From the link u shared I got the source for android arm cryptsetup


http://code.google.com/p/gingerbread-beagleboard/downloads/detail?name=androidcryptsetup-x86fix.tar.gz&can=2&q=

>From the jni folder copied the source to external folder. Source
getting compiled with NDK.

Tried to build directly(downloaded source as it is) got some errors.
Then modified the Android.mk still getting some error.

Attached the modified Android.mk file and part of error logs are below.


Thanks,

Zaahir Khan

host Prebuilt: tradefed-prebuilt
(out/host/common/obj/JAVA_LIBRARIES/tradefed-prebuilt_intermediates/tradefed-prebuilt.jar)
Install: out/host/linux-x86/framework/cts-tradefed.jar
Copy: jasmin.jar
(out/host/common/obj/JAVA_LIBRARIES/jasmin.jar_intermediates/jasmin.jar)
Install: out/host/linux-x86/framework/cts-api-coverage.jar
Copy: out/host/linux-x86/etc/security/cacerts.bks
Install: out/host/linux-x86/framework/dexdeps.jar
host Prebuilt: run-core-tests-on-ri
(out/host/linux-x86/obj/EXECUTABLES/run-core-tests-on-ri_intermediates/run-core-tests-on-ri)
host C: popt <= external/cryptsetup/popt.c
In file included from external/cryptsetup/popt.c:10:
external/cryptsetup/poptconfig.h:123: warning: "HAVE_MALLOC_H" redefined
./system/core/include/arch/linux-x86/AndroidConfig.h:203: note: this
is the location of the previous definition
host C: popt <= external/cryptsetup/poptconfig.c
In file included from external/cryptsetup/poptconfig.c:9:
external/cryptsetup/system.h:69: error: static declaration of ‘stpcpy’
follows non-static declaration
In file included from external/cryptsetup/poptconfig.c:12:
external/cryptsetup/poptconfig.h:123: warning: "HAVE_MALLOC_H" redefined
./system/core/include/arch/linux-x86/AndroidConfig.h:203: note: this
is the location of the previous definition
external/cryptsetup/poptconfig.c: In function ‘poptReadConfigFile’:
external/cryptsetup/poptconfig.c:126: warning: implicit declaration of
function ‘lseek’
external/cryptsetup/poptconfig.c:129: warning: implicit declaration of
function ‘close’
external/cryptsetup/poptconfig.c:137: warning: implicit declaration of
function ‘read’
make: *** 
[out/host/linux-x86/obj/STATIC_LIBRARIES/popt_intermediates/poptconfig.o]
Error 1


On Thu, Oct 20, 2011 at 2:18 PM, Vikas KM <[email protected]> wrote:
> Hi,
>
> I don't have much idea about crypt setup but googling tells me that there is
> a android-X86 port available.
>
> u might wanna check that.
>
> http://code.google.com/p/gingerbread-beagleboard/downloads/detail?name=androidcryptsetup-x86fix.tar.gz&can=2&q=
>
> http://groups.google.com/group/android-x86/browse_thread/thread/b7085c46f6f5eca8?pli=1
>
> --------------
> Regards
>
> Vikas KM
>
>
> On Wed, Oct 19, 2011 at 6:51 PM, Zaahir Khan <[email protected]> wrote:
>>
>> Cryptsetup-1.3.1
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Attachment: Android.mk
Description: Binary data

Reply via email to