Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
wdfowty
Old
(Last edited by wdfowty; 17th August 2010 at 04:17 AM.)
#1  
wdfowty's Avatar
Recognized Developer - OP
Thanks Meter 522
Posts: 1,658
Join Date: Jun 2010
Location: S.F. Bay Area, California
Default [Q] Well, I'm stuck. Make errors...

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":

Code:
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).

Code:
#
/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!

"It's not really yours until you've voided the warranty"




Follow me on twitter: @wdfowty
Add me to your circle:+wdfowty
 
wdfowty
Old
#2  
wdfowty's Avatar
Recognized Developer - OP
Thanks Meter 522
Posts: 1,658
Join Date: Jun 2010
Location: S.F. Bay Area, California
Here's the full librpc.so error on pastebin: http://pastebin.com/VBtAffE0

"It's not really yours until you've voided the warranty"




Follow me on twitter: @wdfowty
Add me to your circle:+wdfowty
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...