ts-7000
[Top] [All Lists]

[ts-7000] ld returned 1 exit status

To:
Subject: [ts-7000] ld returned 1 exit status
From: "nasim751" <>
Date: Thu, 06 Mar 2008 07:23:09 -0000
hello,
I wanna to execute program from AMD 2.6 kernel ubuntu desktop on ARM
processor 2.4 kernel on ts-7200 used
(croostool-linux-gcc-4.0.1-glibc-2.3.5.tar.bz2). I got this tools from
embeddedarm.Like HELLO.C program execute successfully but when want to
execute my project program (I used library libpcap) can't find libpcap
library.
My problem like this

:/home/nasim/Desktop/linux-desktop/ppro#
arm-unknown-linux-gnu-gcc -o snifx snifx.c -lpcap
snifx.c: In function 'got_packet':
snifx.c:486: warning: pointer targets in assignment differ in signedness
snifx.c:497: warning: pointer targets in passing argument 1 of
'print_payload' differ in signedness
/opt/opt/crosstool/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/bin/../lib/gcc/arm-unknown-linux-gnu/4.0.1/../../../../arm-unknown-linux-gnu/bin/ld:
cannot find -lpcap

For overcome this problem used different version of libpcap library
and croos compiler but problem is in right place. I am really tried.
If any one know. please help me.
Regards
Ahmed 
collect2: ld returned 1 exit status



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU