Is seems that you try to use the function "anet_deinit_all()" but it isn't declared anywhere. It seems to be an Anet header, so make sure you included the Anet header.