Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-17-2009, 10:54 PM   #1
LQ Newbie
Registered: Oct 2009
Posts: 7

Rep: Reputation: 0
Red face arm-none-linux-gnueabi/bin/ld: cannot find -lbluetooth

Recently when I cross compiling the bluetoot test programm,I get the
problem below:
# arm-linux-gcc -o bluetest bluetest.c -lbluetooth
arm-none-linux-gnueabi/bin/ld: cannot find -lbluetooth
collect2: ld returned 1 exit status

But if I use gcc to compile ,that works correctly:
gcc -o bluetest bluetest.c -lbluetooth

My bluetooth lib is put below:

[root@feiyinziiu lib]# pwd
[root@feiyinziiu lib]# ls
alsa-lib libbluetooth.a
bluetooth pkgconfig

What can I do ?
Thank you.
Old 10-17-2009, 11:03 PM   #2
Senior Member
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 210Reputation: 210Reputation: 210
Pal, no double-posting.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
arm-none-linux-gnueabi/bin/ld: cannot find -lbluetooth feiyinziiu Linux - Embedded & Single-board computer 4 10-18-2009 01:30 AM
which binary should I use to crosscompile binaries in /bin for arm mrmuds Linux - Wireless Networking 1 06-23-2009 07:44 AM
When do i get "/arm-elf/bin/ld:cannot find -lc" while compiling my project rameshsatyavaram Linux - Newbie 0 09-10-2008 03:31 PM
/arm-linux-uclibc/bin/ld: cannot find -lcrypto tosatishpatel Linux - Software 0 03-20-2006 11:53 PM
Is '/usr/bin/find' reliable if '/bin/ls' has been replaced? DigaMe Linux - Security 2 11-12-2004 10:42 PM

All times are GMT -5. The time now is 03:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration