These 3 functions:
eap_peer_sm_init
eap_peer_r
wpabu
shou
extern "C"
{
struct eap_sm * eap_peer_sm_init(void *,struct eapol_callbacks *,void *,struct eap_config *);
int eap_peer_register_methods(
void wpabuf_free();
}
probably in eap_example_peer.h file (whatever you use in include in your program).
You can read about it here:
"Linking C and C++ code" http://en.wikipedia.org/wi
Or in MSDN: http://msdn.microsoft.com/
Shortl





by: ShayanOHPosted on 2009-09-13 at 12:40:04ID: 25321444
try adding extern "C" around the include directive, like the code snippet below.
Looks to me like incompatible naming conventions.
(The names in error are using C++ conventions, but you seem to have compiled the lib using C conventions)
Select allOpen in new window