--- In "nasim751" <> wrote:
>
> hello,
> i am trying to compile simple packet capture program using libpcap
> library. On my desktop ubuntu pc compiled successfully and for compile
> on board i copied all the library header file on boaard /lib.
> when compiling program getting this message.
>
> ts7200:~# gcc -o snifx snifx.c -lpcap
> /lib/libpcap.so: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
>
> how can i solve this problem?
>
> regards
> ahmed
>
You could try statically linking your program, some shared libraries
that are provided in standard Linux are not provided to your boards so
if your program uses a shared library the Linux on the micro might not
have a substitute.
Richard
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/
|