* problems compiling prog. for mipsel platform
@ 2005-04-09 23:28 Pratik Patel
0 siblings, 0 replies; only message in thread
From: Pratik Patel @ 2005-04-09 23:28 UTC (permalink / raw)
To: linux-mips
Hi,
I compiled libpcap for mipsel platform. Now I have the proper
libpcap.a file. I had to bring the ifaddrs.h file from /usr/bin/
folder.
When I compile a simple program (ldev.c) available at:
http://www.cet.nau.edu/~mc8/Socket/Tutorials/section1.html
Output of the program:
[pratik@Akshar libpcap_samples]$ mipsel-uclibc-gcc ldev.c -lpcap
/opt/brcm/hndtools-mipsel-uclibc-0.9.19/lib/libpcap.a(fad-getad.o): In
function `pcap_findalldevs':
fad-getad.c(.text+0xa4): undefined reference to `getifaddrs'
fad-getad.c(.text+0x2e0): undefined reference to `freeifaddrs'
/opt/brcm/hndtools-mipsel-uclibc-0.9.19/lib/libpcap.a(nametoaddr.o):
In function `pcap_ether_hostton':
nametoaddr.c(.text+0x764): undefined reference to `ether_hostton'
collect2: ld returned 1 exit status
[pratik@Akshar libpcap_samples]$
Are ther any patches for the ifaddrs.h file?
Cheers,
Pratik
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-09 23:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-09 23:28 problems compiling prog. for mipsel platform Pratik Patel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.