Porting of wpa_supplicant on Windows Mobile 6.1

Vijay Swami vijayswami1 at gmail.com
Wed Jul 14 05:50:17 EDT 2010


Hi,
   I am porting wpa_supplicant code (I am using code base of WinXP) on
windows mobile 6.1. I have created the project in visual studio 2005
and added the wpa_supplicant project to it. After compilation i got
many linking errors. I could able to solve the time related , socket
related errors. but I am getting some winpcap related errors.


l2_packet_winpcap.obj : error LNK2019: unresolved external symbol
pcap_sendpacket referenced in function l2_packet_send

l2_packet_winpcap.obj : error LNK2019: unresolved external symbol
pcap_close referenced in function l2_packet_init

l2_packet_winpcap.obj : error LNK2019: unresolved external symbol
pcap_dispatch referenced in function l2_packet_receive_thread

l2_packet_winpcap.obj : error LNK2019: unresolved external symbol
pcap_freecode referenced in function l2_packet_init_libpcap

l2_packet_winpcap.obj : error LNK2019: unresolved external symbol
pcap_setfilter referenced in function l2_packet_init_libpcap

l2_packet_winpcap.obj : error LNK2019: unresolved external symbol
pcap_geterr referenced in function l2_packet_init_libpcap

l2_packet_winpcap.obj : error LNK2019: unresolved external symbol
pcap_compile referenced in function l2_packet_init_libpcap

l2_packet_winpcap.obj : error LNK2019: unresolved external symbol
pcap_open_live referenced in function l2_packet_init_libpcap

l2_packet_winpcap.obj : error LNK2019: unresolved external symbol
pcap_lookupnet referenced in function l2_packet_init_libpcap

l2_packet_winpcap.obj : error LNK2019: unresolved external symbol
pcap_breakloop referenced in function l2_packet_deinit

l2_packet_winpcap.obj : error LNK2019: unresolved external symbol
pcap_freealldevs referenced in function l2_packet_get_ip_addr

l2_packet_winpcap.obj : error LNK2019: unresolved external symbol
pcap_findalldevs referenced in function l2_packet_get_ip_addr

   I have added the Packet.lib and wpcap.lib library  in linker input
option of project. And i have given the path of those directories
where thses libraries have been placed a. I am using Windows Mobile
6.0 professional SDK. Can anybody suggest any solution. It looks like
i am not using proper wpcap.lib and Packet.lib.  I have taken those
library from WinXP code directly. my question is those two libraries
are different for Windows mobile and WinXP or same libraries can be
used in both the platform interchangibly. If those libraries are
different then from where i can get the wpcap.lib and Packet.lib for
Windows Mobile?


Regards,
VIjay Swami


More information about the HostAP mailing list