libpcap returning illegal instruction

krishna manoharber55
All,

I am trying to implement a sniffer using libpcap on s3c2440.
I could cross compile libpcap-1.0.0 along with the application and
downloaded the executable to the s3c2440.
CONFIG_PACKET option is enabled in the kernel configuration.

When i run the sniffer application, the application exists with "Illegal
instruction".

Can anyone provide some help to resolve this issue.

Regards,
Manohar

eduardo
Hi Manohar,

Do you know the tool "search" on the top of forum? :D

Well, I know a post that i think that will help you. 
http://www.friendlyarm.net/forum/topic/794?lang=en


best regards

manohar
Hi Eduardo,

I tried the gcc options but no luck.
Looks like libpcap is receiving SIGILL in the API pcap_open_live

Regards,
Manohar

Manohar
Did anyone try compling pcap for friendlyarm?
If yes and if it is working for you, can you pls share the libpcap file?

Regards,
Manohar.