LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 02-12-2008, 12:16 AM   #1
nasim751
Member
 
Registered: Jan 2008
Posts: 40

Rep: Reputation: 15
Smile cannot find -lpcap collect2: ld returned 1 exit status


hello,
i am trying for cross compile program using libpcap library. Normally i can access but using arm-linux-gcc getting problem.
how you will deal this problem...............

/usr/local/hybus-arm-linux-R1.1/arm-linux/bin/ld: cannot find -lpcap
collect2: ld returned 1 exit status

regards!
 
Old 02-12-2008, 02:57 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Silly question, but do you have libpcap compiled for the arm target? If so, do you have it somewhere your cross-linker can find it?
 
  


Reply


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
Compiling GIMP: "collect2: ld returned 1 exit status" linx win Debian 1 01-15-2007 01:08 AM
ld: cannot find -lc collect2: ld returned 1 exit status ArbuZz Linux From Scratch 3 09-27-2005 01:52 AM
collect2: ld returned 1 exit status abirami Linux - Software 0 03-02-2005 02:07 AM
konstruct error collect2: ld returned 1 exit status X2O Linux - Software 2 08-11-2004 09:48 PM
popa3d collect2: ld returned 1 exit status datapunk Linux - Software 1 01-02-2004 07:48 PM


All times are GMT -5. The time now is 09:27 PM.

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