Thanks your help, Nick, I had built libbluedroid.so. Now I want to run
bluetooth from UI and in system/bluetooth/bluedroid/bluetooth.c,
asprintf(&rfkill_state_path, "/sys/class/rfkill/rfkill%d/state",
rfkill_id); can get the path of state, but when I running Android on
NetBook, my /sys/class/rfkill/ is null,  I have no idea about the path
of state. What can I do for run bluetooth from UI?
--NickS
Best Regards!



On 3月6日, 下午2时00分, Nick Pelly <[email protected]> wrote:
> 2009/3/4 NickS <[email protected]>
>
>
>
>
>
> > Hi All:
> >  One error puzzled me when I built libbluedroid.so.
>
> >  Error info:
>
> > target SharedLib: libbluedroid (out/target/product/eee_701/obj/
> > SHARED_LIBRARIES/libbluedroid_intermediates/LINKED/libbluedroid.so)
> > /home/kuke/svn/android_source_20090211/prebuilt/linux-x86/toolchain/
> > arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/../../../../arm-eabi/bin/
> > ld: skipping incompatible out/target/product/eee_701/obj/lib/liblog.so
> > when searching for -llog
> > /home/kuke/svn/android_source_20090211/prebuilt/linux-x86/toolchain/
> > arm-eabi-4.2.1/bin/../lib/gcc/arm-eabi/4.2.1/../../../../arm-eabi/bin/
> > ld:can't found -llog
> > collect2: ld returned 1 exit status
> > make: *** [out/target/product/eee_701/obj/SHARED_LIBRARIES/
> > libbluedroid_intermediates/LINKED/libbluedroid.so] error 1
>
> > ld: can't found -l log
> > please give me a tip.
>
> I'm really not a build guy - but it looks like you are trying to link an ARM
> compiled liblog with a x86 compiled libbluedroid.
>
> Nick
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to