While trying to use hostapd ( libeap.so ) as a library, I encountered this error :- ? ? EAP-SIM: eap_sim_db not configured Basically there is a variable inside one of the structure is found to be NULL. But I am not sure how it should be initialized and what is the significance. Regards.