0
chris chris

hello,I use the project"sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example".

I add the "#define CONFIG_ENABLE_P2P 1"on the file "plaform_opts.h",but build if failed.

 

log:

Linking
Error[Li005]: no definition for "cmd_wifi_p2p_auto_go_start" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\atcmd_wifi.o]
Error[Li005]: no definition for "cmd_p2p_find" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\atcmd_wifi.o]
Error[Li005]: no definition for "cmd_p2p_info" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\atcmd_wifi.o]
Error[Li005]: no definition for "cmd_p2p_disconnect" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\atcmd_wifi.o]
Error[Li005]: no definition for "cmd_p2p_connect" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\atcmd_wifi.o]
Error[Li005]: no definition for "cmd_wifi_p2p_stop" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\atcmd_wifi.o]
Error[Li005]: no definition for "cmd_wifi_p2p_start" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\atcmd_wifi.o]
Error[Li005]: no definition for "_eap_wsc_server_reset" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wps_registrar_wps_cancel" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\
Obj\wifi_wps_config.o] Error[Li005]: no definition for "_wifi_p2p_wps_failed" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wps_registrar_button_pushed" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wps_registrar_add_pin" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wpas_wsc_registrar_handle_recvd" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wpas_wsc_registrar_send_eap_fail" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_eap_wsc_server_process_hdl" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wps_registrar_get_msg" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wps_registrar_process_msg" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wps_registrar_init" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wifi_p2p_wps_success" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wps_registrar_deinit" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wps_registrar_alloc" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wpas_wsc_ap_check_eap_rspidentity" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]
Error[Li005]: no definition for "_wpas_wsc_ap_send_eap_reqidentity" [referenced from D:\sdk-ameba-v4.0b_without_NDA_GCC_V1.0.0\project\realtek_amebaz_va0_example\EWARM-RELEASE\Debug\Obj\wifi_wps_config.o]

chris chris 提出討論