Hi,

I have copied the fresh source to external folder and tried to build
only cryptsetup.

Still facing some issues, log is below.

Don't know if I did it correct? sudo was not working. still checking.........

Thanks & regards,

Zaahir Khan

Tryout log:::

. build/envsetup.sh

choosecombo

mmm -j4 external/androidcyptsetup/jni/
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.3
TARGET_PRODUCT=pandaboard
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
/bin/bash: out/target/product/pandaboard/clean_steps.mk: Permission denied
/bin/bash: out/target/product/pandaboard/clean_steps.mk: Permission denied
/bin/bash: out/target/product/pandaboard/previous_build_config.mk:
Permission denied
No private recovery resources for TARGET_DEVICE pandaboard
make: Entering directory `/home/zahirkhan/GingerBread'
target thumb C: popt <= external/androidcyptsetup/jni/popt.c
target thumb C: popt <= external/androidcyptsetup/jni/poptconfig.c
target thumb C: popt <= external/androidcyptsetup/jni/popthelp.c
target thumb C: popt <= external/androidcyptsetup/jni/poptint.c
In file included from external/androidcyptsetup/jni/popt.c:10:
external/androidcyptsetup/jni/poptconfig.h:53:1: warning: "/*" within comment
external/androidcyptsetup/jni/poptconfig.h:123:1: warning:
"HAVE_MALLOC_H" redefined
In file included from <command-line>:0:
./system/core/include/arch/linux-arm/AndroidConfig.h:214:1: warning:
this is the location of the previous definition
In file included from external/androidcyptsetup/jni/popthelp.c:12:
external/androidcyptsetup/jni/poptconfig.h:53:1: warning: "/*" within comment
external/androidcyptsetup/jni/poptconfig.h:123:1: warning:
"HAVE_MALLOC_H" redefined
In file included from <command-line>:0:
./system/core/include/arch/linux-arm/AndroidConfig.h:214:1: warning:
this is the location of the previous definition
external/androidcyptsetup/jni/popthelp.c: In function 'maxColumnWidth':
external/androidcyptsetup/jni/popthelp.c:122: error: storage size of
'ws' isn't known
external/androidcyptsetup/jni/popthelp.c: At top level:
external/androidcyptsetup/jni/popthelp.c:915: fatal error: opening
dependency file
out/target/product/pandaboard/obj/STATIC_LIBRARIES/popt_intermediates/popthelp.d:
Permission denied
compilation terminated.
make: *** 
[out/target/product/pandaboard/obj/STATIC_LIBRARIES/popt_intermediates/popthelp.o]
Error 1
make: *** Waiting for unfinished jobs....
external/androidcyptsetup/jni/poptint.c:202: fatal error: opening
dependency file
out/target/product/pandaboard/obj/STATIC_LIBRARIES/popt_intermediates/poptint.d:
Permission denied
compilation terminated.
make: *** 
[out/target/product/pandaboard/obj/STATIC_LIBRARIES/popt_intermediates/poptint.o]
Error 1
In file included from external/androidcyptsetup/jni/poptconfig.c:12:
external/androidcyptsetup/jni/poptconfig.h:53:1: warning: "/*" within comment
external/androidcyptsetup/jni/poptconfig.h:123:1: warning:
"HAVE_MALLOC_H" redefined
In file included from <command-line>:0:
./system/core/include/arch/linux-arm/AndroidConfig.h:214:1: warning:
this is the location of the previous definition
external/androidcyptsetup/jni/poptconfig.c:236: fatal error: opening
dependency file
out/target/product/pandaboard/obj/STATIC_LIBRARIES/popt_intermediates/poptconfig.d:
Permission denied
compilation terminated.
make: *** 
[out/target/product/pandaboard/obj/STATIC_LIBRARIES/popt_intermediates/poptconfig.o]
Error 1
external/androidcyptsetup/jni/popt.c:1423: fatal error: opening
dependency file
out/target/product/pandaboard/obj/STATIC_LIBRARIES/popt_intermediates/popt.d:
Permission denied
compilation terminated.
make: *** 
[out/target/product/pandaboard/obj/STATIC_LIBRARIES/popt_intermediates/popt.o]
Error 1
make: Leaving directory `/home/zahirkhan/GingerBread'


On Thu, Oct 20, 2011 at 2:34 PM, Yury Zhauniarovich
<[email protected]> wrote:
> Hi Zaahir,
> You do not understand Vikas. Try to remove your new package from android
> sources and try to build Android without additional libs. If succeed then
> try add folder of your project (Cryptsetup), make Android.mk file and try to
> build just this project using mm command.
> Best regards,
> Yury
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>

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

Reply via email to