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/
|