I get a whole bunch of errors similar to this:
out/target/product/triumph/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:239: error: 'rpc_uint16' does not name a type
out/target/product/triumph/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:349: error: 'rpc_uint32' does not name a type
out/target/product/triumph/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:350: error: 'rpc_uint32' does not name a type
out/target/product/triumph/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:354: error: 'rpc_uint16' does not name a type
out/target/product/triumph/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:398: error: 'rpc_uint16' does not name a type
out/target/product/triumph/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:405: error: 'rpc_uint16' does not name a type
out/target/product/triumph/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:413: error: 'rpc_uint16' does not name a type
out/target/product/triumph/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:452: error: 'rpc_uint16' does not name a type
.
.
pp:45:
hardware/qcom/gps/loc_api/libloc_api_50001/loc_eng_log.h:34: warning: 'loc_eng_callback_log_header' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api_50001/loc_eng_log.h:34: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api_50001/loc_eng_log.h:35: error: 'rpc_loc_event_mask_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api_50001/loc_eng_log.h:36: error: expected primary-expression before 'const'
hardware/qcom/gps/loc_api/libloc_api_50001/loc_eng_log.h:37: error: initializer expression list treated as compound expression
hardware/qcom/gps/loc_api/libloc_api_50001/loc_eng_log.h:40: warning: 'loc_eng_callback_log' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api_50001/loc_eng_log.h:40: error: 'rpc_loc_event_mask_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api_50001/loc_eng_log.h:41: error: expected primary-expression before 'const'
hardware/qcom/gps/loc_api/libloc_api_50001/loc_eng_log.h:42: error: initializer expression list treated as compound expression
hardware/qcom/gps/loc_api/libloc_api_50001/loc_eng_log.h:44: warning: 'loc_get_event_name' initialized and declared 'extern'
Looks like a lot of stuff didn't get initialized basically.
Oh my bad. I forgot to change a repo over. There was a missing header for the new qcom gps stuff. Will do that later.
For now, save this (https://raw.github.com/ikarosdev/an...34e6a7c84/librpc-qcom/commondefs_rpcgen_rpc.h) as commondefs_rpcgen_rpc.h in ~/android/system/hardware/msm7k/librpc-qcom and rebuild. It should work then.
Upvote
0