Guest wdfowty Posted August 14, 2010 Report Posted August 14, 2010 (edited) I can't seem to catch a break... I haven't been able to compile anything with my build environment. For at least a few weeks. I know it should work, because I compiled a build of WD40M0D prior to all my merging of source. I'm using a MacBookPro running OS X 10.5.8 When trying to build a kernel, I get errors on "bounds.s" and "prepare0": sean-whitleys-macbook-pro:kernel-msm wdfowty$ make ARCH=arm CROSS_COMPILE=$CCOMPILER scripts/kconfig/conf -s arch/arm/Kconfig CHK include/linux/version.h UPD include/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h Generating include/generated/mach-types.h CC kernel/bounds.s cc1: error: invalid option ‘little-endian’ cc1: error: invalid option ‘abi=aapcs-linux’ cc1: error: invalid option ‘no-thumb-interwork’ kernel/bounds.c:1: error: bad value (armv5t) for -march= switch kernel/bounds.c:1: error: bad value (armv5t) for -mtune= switch make[1]: *** [kernel/bounds.s] Error 1 make: *** [prepare0] Error 2 My next error, if I skip the kernel, is in building libgps.so...It claims to not be able to find librpc.so, which to the best of my knowledge is where it's supposed to be (somewhere in the out directory). [http://pastebin.com/VBtAffE0 <---full error] /Users/wdfowty/bin/mydroid/prebuilt/darwin-x86/toolchain/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: warning: librpc.so, needed by out/target/product/passion/obj/lib/libgps.so, not found (try using -rpath or -rpath-link) Some things I've noticed... *Kernel error is constant across AOSP and CM source (could it be a bad .config?) *Errors persist even after running "make clobber" or "make installclean" I'm hoping someone can help, as I'm running on minimal knowledge and experience...Thank you in advance! Edited August 17, 2010 by wdfowty
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now