Hi Vikas, I have executed the "mm" command as you suggested got the log below,
GingerBread/external/androidcyptsetup/jni$ mm ============================================ 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 ============================================ No private recovery resources for TARGET_DEVICE pandaboard make: Entering directory `/home/zahirkhan/GingerBread' target thumb C: popt <= external/androidcyptsetup/jni/popthelp.c 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 make: *** [out/target/product/pandaboard/obj/STATIC_LIBRARIES/popt_intermediates/popthelp.o] Error 1 make: Leaving directory `/home/zahirkhan/GingerBread' I am still trying looking into the error. Will keep updating. Those commands using for cross compiling for pandaboard. Thanks & regards, Zaahir Khan On Fri, Oct 21, 2011 at 10:33 AM, Vikas KM <[email protected]> wrote: > Hi Zaahir, > > I had faced this problem when i tried to build from somewhere by giving > relative path. > > what i would suggest you is... > > cd to the $(MYDROID)/external/crypt_folder > give mm command here ( not mmm) or u can try mm -B > > > try this and send the log. > > > Where exactly did you give this command? > > mm ARCH=arm CROSS_COMPILE=arm-none-linux- > gnueabi- > TARGET_PRODUCT=pandaboard external/androidcyptsetup/jni/ > > in $MYDROID/external/crypt_folder ??? > > > > -------------- > Regards > > Vikas KM > > > On Thu, Oct 20, 2011 at 6:23 PM, Zaahir Khan <[email protected]> wrote: >> >> Hi Yury, >> >> This is log I got ::: feels it got build, but not sure........ >> >> Please have a look.... >> >> mm ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- >> TARGET_PRODUCT=pandaboard 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 >> ============================================ >> find: `frameworks/base/frameworks/base/docs/html': No such file or >> directory >> find: `out/target/common/docs/gen': No such file or directory >> find: `frameworks/base/frameworks/base/docs/html': No such file or >> directory >> find: `out/target/common/docs/gen': No such file or directory >> find: `frameworks/base/frameworks/base/docs/html': No such file or >> directory >> find: `out/target/common/docs/gen': No such file or directory >> find: `frameworks/base/frameworks/base/docs/html': No such file or >> directory >> find: `out/target/common/docs/gen': No such file or directory >> find: `frameworks/base/frameworks/base/docs/html': No such file or >> directory >> find: `out/target/common/docs/gen': No such file or directory >> diff: >> out/target/product/pandaboard/obj/PACKAGING/updater_extensions_intermediates/register.inc.list: >> No such file or directory >> No private recovery resources for TARGET_DEVICE pandaboard >> make: Nothing to be done for `external/androidcyptsetup/jni/'. >> >> >> How to move further, pls suggest. >> >> >> Thanks, >> >> Zaahir >> >> >> >> 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
