I have some problems compiling gps with caf source.
At first I have build a rom without gps, but I want it to be functional
So if you can help, please let me know
Code:
target thumb C++: libloc_api-rpc-qc <= hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:40,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:38:35: error: commondefs_rpcgen_rpc.h: No such file or directory
In file included from out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:39,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:40,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:72: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:74: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:76: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:78: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:94: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:101: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:106: error: 'rpc_loc_position_valid_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:109: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:110: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:129: error: 'rpc_loc_pos_technology_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:151: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:154: error: 'rpc_loc_sv_info_valid_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:156: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:157: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:159: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:160: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:167: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:170: error: 'rpc_loc_gnss_info_valid_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:174: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:175: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:184: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:234: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:235: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:240: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:246: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:247: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:357: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:358: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:362: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:406: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:413: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:421: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:460: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:470: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:516: error: 'rpc_uint32' does not name a type
In file included from out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:39,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:40,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:526: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:527: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:533: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:536: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:537: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:557: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:584: error: 'rpc_loc_server_connection_handle' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:590: error: 'rpc_loc_server_connection_handle' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:597: error: 'rpc_loc_server_connection_handle' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:628: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:633: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:731: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:734: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:735: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:736: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:738: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:740: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:766: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:767: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:768: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:769: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:778: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:779: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:784: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:790: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:791: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:795: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:798: error: 'rpc_loc_assist_pos_valid_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:799: error: 'rpc_uint64' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:808: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:829: error: 'rpc_loc_server_connection_handle' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:836: error: 'rpc_loc_server_connection_handle' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:851: error: 'rpc_loc_server_connection_handle' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:857: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:862: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:863: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:864: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:865: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:866: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:872: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:873: error: 'rpc_uint16' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:874: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:879: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:885: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:911: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:916: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:917: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:918: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:919: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:931: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:932: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:933: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:947: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:949: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:952: error: 'rpc_loc_assist_data_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:953: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:971: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:972: error: 'rpc_loc_nmea_sentence_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:973: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:978: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:980: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:981: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:994: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:995: error: 'rpc_loc_nmea_sentence_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:996: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1000: error: 'rpc_uint8' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1002: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1009: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1034: error: 'rpc_loc_client_handle_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1035: error: 'rpc_loc_event_mask_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1036: error: 'rpc_loc_position_valid_mask_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1037: error: 'rpc_loc_pos_technology_mask_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1043: error: 'rpc_loc_sv_info_valid_mask_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1045: error: 'rpc_loc_gnss_info_valid_mask_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1092: error: 'rpc_loc_server_connection_handle' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1117: error: 'rpc_loc_assist_pos_valid_mask_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1136: error: 'rpc_loc_nmea_sentence_type' has not been declared
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_common_rpc.h:1137: error: 'rpc_loc_assist_data_type' has not been declared
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:40,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:50: error: ISO C++ forbids declaration of 'rpc_uint32' with no type
2nd part:
Code:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:50: error: expected ';' before '*' token
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:53: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:56: error: 'rpc_loc_event_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:57: error: 'rpc_loc_event_cb_f_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:62: error: 'rpc_loc_client_handle_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:67: error: 'rpc_loc_client_handle_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:72: error: 'rpc_loc_client_handle_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:77: error: 'rpc_loc_client_handle_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:84: error: 'rpc_boolean' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:89: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:90: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:91: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:92: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:97: error: 'rpc_loc_client_handle_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:102: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:107: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:112: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:117: error: 'rpc_int32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:123: error: ISO C++ forbids declaration of 'rpc_uint32' with no type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:123: error: expected ';' before '*' token
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:40,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_rpc.h:250: error: 'rpc_loc_event_cb_f_type' has not been declared
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:42,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_cb_rpc.h:49: error: 'rpc_uint32' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_cb_rpc.h:50: error: 'rpc_loc_client_handle_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_cb_rpc.h:51: error: 'rpc_loc_event_mask_type' does not name a type
out/target/product/p500/obj/include/loc_api/rpcgen/inc/loc_api_rpcgen_cb_rpc.h:57: error: 'rpc_int32' does not name a type
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:52,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:43: error: 'rpc_loc_client_handle_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:52: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:55: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:71: error: variable or field 'loc_api_callback_process_sync_call' declared void
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:71: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:72: error: 'rpc_loc_event_mask_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:73: error: expected primary-expression before 'const'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:79: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:80: error: expected primary-expression before 'ioctl_type'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:81: error: expected primary-expression before '*' token
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:81: error: 'ioctl_data_ptr' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:82: error: expected primary-expression before 'timeout_msec'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:83: error: expected primary-expression before '*' token
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:83: error: 'cb_data_ptr' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_sync_call.h:84: error: initializer expression list treated as compound expression
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:33,
from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:65: error: 'rpc_loc_client_handle_type' has not been declared
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:66: error: 'rpc_loc_event_mask_type' has not been declared
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:76: error: 'rpc_loc_client_handle_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:85: warning: 'loc_close' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:85: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:90: error: variable or field 'loc_clear' declared void
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:90: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:95: warning: 'loc_start_fix' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:95: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:100: warning: 'loc_stop_fix' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:100: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:105: warning: 'loc_ioctl' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:105: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:106: error: expected primary-expression before 'ioctl_type'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:107: error: expected primary-expression before '*' token
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:107: error: 'ioctl_data' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:108: error: initializer expression list treated as compound expression
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:112: warning: 'loc_eng_ioctl' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:112: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:113: error: expected primary-expression before 'ioctl_type'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:114: error: expected primary-expression before '*' token
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:114: error: 'ioctl_data_ptr' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:115: error: expected primary-expression before 'timeout_msec'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:116: error: expected primary-expression before '*' token
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:116: error: 'cb_data_ptr' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_rpc_glue.h:117: error: initializer expression list treated as compound expression
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:35:
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:39: error: 'rpc_loc_client_handle_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:40: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:42: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:43: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:60: error: 'rpc_loc_client_handle_type' has not been declared
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/LocApiRpcAdapter.h:61: error: 'rpc_loc_event_mask_type' has not been declared
In file included from hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:39:
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_log.h:42: warning: 'loc_callback_log' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_log.h:42: error: 'rpc_loc_event_mask_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_log.h:43: error: expected primary-expression before 'const'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_log.h:44: error: initializer expression list treated as compound expression
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_log.h:47: warning: 'loc_get_event_name' initialized and declared 'extern'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/loc_api_log.h:47: error: 'rpc_loc_event_mask_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:65: error: 'rpc_loc_client_handle_type' has not been declared
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:66: error: 'rpc_loc_event_mask_type' has not been declared
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp: In function 'int32 loc_event_cb(void*, int, int, const rpc_loc_event_payload_u_type*)':
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:70: error: 'loc_get_event_name' cannot be used as a function
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:70: error: 'loc_get_event_name' cannot be used as a function
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:70: error: 'loc_get_event_name' cannot be used as a function
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:70: error: 'loc_get_event_name' cannot be used as a function
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:71: error: 'loc_callback_log' cannot be used as a function
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp: At global scope:
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:106: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp: In constructor 'LocApiRpcAdapter::LocApiRpcAdapter(LocEng&)':
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:121: error: class 'LocApiRpcAdapter' does not have any field named 'client_handle'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:122: error: class 'LocApiRpcAdapter' does not have any field named 'eMask'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:122: error: 'convertMask' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp: In destructor 'virtual LocApiRpcAdapter::~LocApiRpcAdapter()':
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:129: error: 'client_handle' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:130: error: 'loc_clear' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:133: error: 'client_handle' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:133: error: 'loc_close' cannot be used as a function
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp: At global scope:
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:136: error: 'rpc_loc_event_mask_type' does not name a type
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:201: error: 'int32 LocApiRpcAdapter::locEventCB' is not a static member of 'class LocApiRpcAdapter'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:201: error: 'rpc_loc_client_handle_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:202: error: 'rpc_loc_event_mask_type' was not declared in this scope
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:203: error: expected primary-expression before 'const'
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:203: error: initializer expression list treated as compound expression
hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/LocApiRpcAdapter.cpp:204: error: expected ',' or ';' before '{' token
make: *** [out/target/product/p500/obj/SHARED_LIBRARIES/libloc_api-rpc-qc_intermediates/src/LocApiRpcAdapter.o] Error 1
This is the craziest error i have ever seen...
Good luck buddy...
Sent from my LG-P500 using XDA
Oké, commondefs_rpcgen_rpc.h is missing...
Should be in one of the hardware/msm7k folders, but is not in any folder.
Thanks for pointing it out Samrox144, I looked over this one
_Arjen_ said:
Oké, commondefs_rpcgen_rpc.h is missing...
Should be in one of the hardware/msm7k folders, but is not in any folder.
Thanks for pointing it out Samrox144, I looked over this one
Click to expand...
Click to collapse
hope you fix it soon
Ok, trimmed down the errors (using gps folder from cm9 for now )
Next to solve:
Code:
Header: out/target/product/p500/obj/include/librpc/rpc/clnt.h
Header: out/target/product/p500/obj/include/librpc/rpc/pmap_clnt.h
Header: out/target/product/p500/obj/include/librpc/rpc/rpc.h
Header: out/target/product/p500/obj/include/librpc/rpc/rpc_router_ioctl.h
Header: out/target/product/p500/obj/include/librpc/rpc/svc.h
Header: out/target/product/p500/obj/include/librpc/rpc/types.h
Header: out/target/product/p500/obj/include/librpc/rpc/xdr.h
target thumb C++: gps.p500 <= hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:116: warning: missing initializer for member 'GpsInterface::update_criteria'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:126: error: invalid conversion from 'int (*)(const char*)' to 'int (*)(AGpsType, const char*, AGpsBearerType)'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:126: error: invalid conversion from 'int (*)()' to 'int (*)(AGpsType)'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:126: error: invalid conversion from 'int (*)()' to 'int (*)(AGpsType)'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp: In function 'void loc_eng_report_agps_status(AGpsType, AGpsStatusValue)':
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:2021: warning: missing initializer for member 'AGpsStatus::ipv4_addr'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:2021: warning: missing initializer for member 'AGpsStatus::ipv6_addr'
make: *** [out/target/product/p500/obj/SHARED_LIBRARIES/gps.p500_intermediates/loc_eng.o] Error 1
_Arjen_ said:
Ok, trimmed down the errors (using gps folder from cm9 for now )
Next to solve:
Code:
Header: out/target/product/p500/obj/include/librpc/rpc/clnt.h
Header: out/target/product/p500/obj/include/librpc/rpc/pmap_clnt.h
Header: out/target/product/p500/obj/include/librpc/rpc/rpc.h
Header: out/target/product/p500/obj/include/librpc/rpc/rpc_router_ioctl.h
Header: out/target/product/p500/obj/include/librpc/rpc/svc.h
Header: out/target/product/p500/obj/include/librpc/rpc/types.h
Header: out/target/product/p500/obj/include/librpc/rpc/xdr.h
target thumb C++: gps.p500 <= hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:116: warning: missing initializer for member 'GpsInterface::update_criteria'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:126: error: invalid conversion from 'int (*)(const char*)' to 'int (*)(AGpsType, const char*, AGpsBearerType)'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:126: error: invalid conversion from 'int (*)()' to 'int (*)(AGpsType)'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:126: error: invalid conversion from 'int (*)()' to 'int (*)(AGpsType)'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp: In function 'void loc_eng_report_agps_status(AGpsType, AGpsStatusValue)':
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:2021: warning: missing initializer for member 'AGpsStatus::ipv4_addr'
hardware/qcom/gps/loc_api/libloc_api/loc_eng.cpp:2021: warning: missing initializer for member 'AGpsStatus::ipv6_addr'
make: *** [out/target/product/p500/obj/SHARED_LIBRARIES/gps.p500_intermediates/loc_eng.o] Error 1
Click to expand...
Click to collapse
I have done the same in my code, using cm9 gps folder...
But i dont get these errors...
Sent from my LG-P500 using XDA
Yeah,remember this ****,happened to me with OMGB camera. You just need to look into the msm7k files. Or just fgrep CM9 sources and CAF sources,see where this crap is defined and replace,or merge. Worked perfectly for me.
P.S: Today I'll have info on my laptop,it will probably sent on saturday or next week. It's been a month now can't wait to teamwork with you!
Changed some things for gps, will try later.
Dropped it now to go back to cm9
Hope you'll have your laptop back soon
_Arjen_ said:
Changed some things for gps, will try later.
Dropped it now to go back to cm9
Hope you'll have your laptop back soon
Click to expand...
Click to collapse
Man, you are a real kind heart, helping almost every developer on our forum...
Love you for that bro...
Sent from my LG-P500 using XDA
I also did a part on cm9, so why not help to get it ready for nightlies
And when you let the thing that is bothering you rest for a while, the solution comes always
Maybe this will help you....
http://forum.xda-developers.com/showthread.php?p=23696156
Sent from my LG-P500 using xda premium
Related
here we go again. This is a error which is annoying me and i dont know a solution for, help pleaseeee.
Here are the first few lines of the error:
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
'adb' is not recognized as an internal or external command,
operable program or batch file.
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1375: error: Multiple entry names declared for public entry identifier 0x28a in type id (webselect_dialog_listview vs zzz_puzzlelockpuzzlebg).
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1369: Originally defined here.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1375: error: Public symbol id/zzz_puzzlelockpuzzlebg declared here is not defined.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1376: error: Multiple entry names declared for public entry identifier 0x28b in type id (tw_cursorhandle_view vs zzz_puzzlenotivvmlayout).
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1370: Originally defined here.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1376: error: Public symbol id/zzz_puzzlenotivvmlayout declared here is not defined.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1377: error: Multiple entry names declared for public entry identifier 0x28c in type id (mode_normal vs zzz_puzzlenotivvmtext).
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1371: Originally defined here.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:1377: error: Public symbol id/zzz_puzzlenotivvmtext declared here is not defined.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2577: error: Multiple entry names declared for public entry identifier 0x3f8 in type string (missed_texts vs zzz_dual_clock_city_seoul).
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2642: Originally defined here.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2577: error: Public symbol string/zzz_dual_clock_city_seoul declared here is not defined.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2636: error: Public symbol string/zzz_screen_captured_fail declared here is not defined.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2574: error: Multiple entry names declared for public entry identifier 0x3f5 in type string (missed_call vs zzz_skt_missing_sim_message1).
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2639: Originally defined here.
C:\Users\Zohaib\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2574: error: Public symbol string/zzz_skt_missing_sim_message1 declared here is not defined.
Click to expand...
Click to collapse
If i change the id it gives me this error:
"The string that has the error" has conflitcing public identifiers.
Click to expand...
Click to collapse
Help
You have some image "duplicates". It's probably because you have some PNGs named both something.png and something.9.png. When you compile you can say in a way that it only looks for the file name. Not the extension.
C0mpu13rFr34k said:
You have some image "duplicates". It's probably because you have some PNGs named both something.png and something.9.png. When you compile you can say in a way that it only looks for the file name. Not the extension.
Click to expand...
Click to collapse
So all I do is remove the image duplicates and it will go away??
Sent from my GT-I9000 using XDA App
webstar1 said:
So all I do is remove the image duplicates and it will go away??
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Yes remove the duplicates you are not using but make sure that if the old unmodified image was a 9.png then it's best if your new one is too. Otherwise your might have weird stretching with some images...
Hi guys. I compiling gingerbread from sources and I have this problem.
Code:
target Executable: dhcpcd (out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/LINKED/dhcpcd)
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/net.o: file is empty
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/signals.o: file is empty
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/configure.o: file is empty
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/client.o: file is empty
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/if-linux.o: file is empty
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: error: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/lpf.o: file is empty
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/dhcpcd.o: in function parse_string_hwaddr:external/dhcpcd/dhcpcd.c:229: error: undefined reference to 'hwaddr_aton'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/dhcpcd.o: in function parse_string_hwaddr:external/dhcpcd/dhcpcd.c:235: error: undefined reference to 'hwaddr_aton'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/dhcpcd.o: in function parse_option:external/dhcpcd/dhcpcd.c:398: error: undefined reference to 'inet_cidrtoaddr'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/dhcpcd.o: in function main:external/dhcpcd/dhcpcd.c:902: error: undefined reference to 'do_interface'
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/ld: out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/dhcpcd.o: in function main:external/dhcpcd/dhcpcd.c:1034: error: undefined reference to 'dhcp_run'
collect2: ld returned 1 exit status
make: *** [out/target/product/crespo/obj/EXECUTABLES/dhcpcd_intermediates/LINKED/dhcpcd] Error 1
Can you help me? I use Ubuntu 10.04,3 x86_64 and I used a source.android.com how to for this process...
Resolved using "make clean" and reusing "make -j2 otapackage".
Thank you guys.
Kernel Compiled and working: see http://forum.xda-developers.com/showthread.php?t=1833136
I tried to compile the new 3.1 kernel with voodoo sound in it. I specifically copied and replaced
Kconfig.voodoo
Makefile
wm8994_p3
wm8994_samsung.c
wm8994_voodoo.c
wm8994_voodoo.h
in the directory (source root)/sound/soc/codecs with the ones found in the pershoot git. I also swapped the file (source root)/sound/soc/Kconfig and commented out the line "#source "sound/soc/s3c24xx/Kconfig". When I tried to compile it, I get these compile errors
Code:
CC sound/soc/codecs/wm8994_samsung.o
sound/soc/codecs/wm8994_samsung.c: In function 'wm899x_outpga_put_volsw_vu':
sound/soc/codecs/wm8994_samsung.c:247:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_get_voip_call':
sound/soc/codecs/wm8994_samsung.c:320:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_set_voip_call':
sound/soc/codecs/wm8994_samsung.c:331:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_get_loopback_path':
sound/soc/codecs/wm8994_samsung.c:343:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_set_loopback_path':
sound/soc/codecs/wm8994_samsung.c:354:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c:356:6: warning: unused variable 'val'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_get_codec_tuning':
sound/soc/codecs/wm8994_samsung.c:400:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_set_codec_tuning':
sound/soc/codecs/wm8994_samsung.c:412:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_get_mic_path':
sound/soc/codecs/wm8994_samsung.c:427:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_set_mic_path':
sound/soc/codecs/wm8994_samsung.c:438:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_get_path':
sound/soc/codecs/wm8994_samsung.c:479:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_set_path':
sound/soc/codecs/wm8994_samsung.c:490:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_get_voice_path':
sound/soc/codecs/wm8994_samsung.c:576:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_set_voice_path':
sound/soc/codecs/wm8994_samsung.c:587:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_get_input_source':
sound/soc/codecs/wm8994_samsung.c:642:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_set_input_source':
sound/soc/codecs/wm8994_samsung.c:653:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_set_headset_analog_vol':
sound/soc/codecs/wm8994_samsung.c:676:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c:722:43: error: 'struct snd_soc_codec' has no member named 'delayed_work'
sound/soc/codecs/wm8994_samsung.c:735:6: error: 'struct snd_soc_codec' has no member named 'delayed_work'
sound/soc/codecs/wm8994_samsung.c:736:34: error: 'struct snd_soc_codec' has no member named 'delayed_work'
sound/soc/codecs/wm8994_samsung.c:676:22: warning: unused variable 'wm8994'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_add_controls':
sound/soc/codecs/wm8994_samsung.c:848:13: error: too few arguments to function 'snd_soc_cnew'
include/sound/soc.h:366:22: note: declared here
sound/soc/codecs/wm8994_samsung.c:848:13: warning: passing argument 1 of 'snd_ctl_add' from incompatible pointer type
include/sound/control.h:114:5: note: expected 'struct snd_card *' but argument is of type 'struct snd_soc_card *'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_add_widgets':
sound/soc/codecs/wm8994_samsung.c:863:4: warning: passing argument 1 of 'snd_soc_dapm_new_controls' from incompatible pointer type
include/sound/soc-dapm.h:348:5: note: expected 'struct snd_soc_dapm_context *' but argument is of type 'struct snd_soc_codec *'
sound/soc/codecs/wm8994_samsung.c:865:44: warning: passing argument 1 of 'snd_soc_dapm_add_routes' from incompatible pointer type
include/sound/soc-dapm.h:355:5: note: expected 'struct snd_soc_dapm_context *' but argument is of type 'struct snd_soc_codec *'
sound/soc/codecs/wm8994_samsung.c:867:2: warning: passing argument 1 of 'snd_soc_dapm_new_widgets' from incompatible pointer type
include/sound/soc-dapm.h:353:5: note: expected 'struct snd_soc_dapm_context *' but argument is of type 'struct snd_soc_codec *'
sound/soc/codecs/wm8994_samsung.c: In function 'configure_clock':
sound/soc/codecs/wm8994_samsung.c:873:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_set_bias_level':
sound/soc/codecs/wm8994_samsung.c:1050:12: error: 'struct snd_soc_codec' has no member named 'bias_level'
sound/soc/codecs/wm8994_samsung.c:1090:7: error: 'struct snd_soc_codec' has no member named 'bias_level'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_set_sysclk':
sound/soc/codecs/wm8994_samsung.c:1099:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_set_dai_fmt':
sound/soc/codecs/wm8994_samsung.c:1123:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_hw_params':
sound/soc/codecs/wm8994_samsung.c:1225:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_startup':
sound/soc/codecs/wm8994_samsung.c:1385:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: At top level:
sound/soc/codecs/wm8994_samsung.c:1410:13: error: static declaration of 'wm8994_shutdown' follows non-static declaration
sound/soc/codecs/wm8994_samsung.h:249:6: note: previous declaration of 'wm8994_shutdown' was here
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_shutdown':
sound/soc/codecs/wm8994_samsung.c:1414:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: At top level:
sound/soc/codecs/wm8994_samsung.c:1522:2: error: unknown field 'playback' specified in initializer
sound/soc/codecs/wm8994_samsung.c:1522:2: warning: braces around scalar initializer
sound/soc/codecs/wm8994_samsung.c:1522:2: warning: (near initialization for 'wm8994_dai.id')
sound/soc/codecs/wm8994_samsung.c:1523:8: error: field name not in record or union initializer
sound/soc/codecs/wm8994_samsung.c:1523:8: error: (near initialization for 'wm8994_dai.id')
sound/soc/codecs/wm8994_samsung.c:1523:8: warning: initialization makes integer from pointer without a cast
sound/soc/codecs/wm8994_samsung.c:1524:8: error: field name not in record or union initializer
sound/soc/codecs/wm8994_samsung.c:1524:8: error: (near initialization for 'wm8994_dai.id')
sound/soc/codecs/wm8994_samsung.c:1524:8: warning: excess elements in scalar initializer
sound/soc/codecs/wm8994_samsung.c:1524:8: warning: (near initialization for 'wm8994_dai.id')
sound/soc/codecs/wm8994_samsung.c:1525:8: error: field name not in record or union initializer
sound/soc/codecs/wm8994_samsung.c:1525:8: error: (near initialization for 'wm8994_dai.id')
sound/soc/codecs/wm8994_samsung.c:1525:8: warning: excess elements in scalar initializer
sound/soc/codecs/wm8994_samsung.c:1525:8: warning: (near initialization for 'wm8994_dai.id')
sound/soc/codecs/wm8994_samsung.c:1526:8: error: field name not in record or union initializer
sound/soc/codecs/wm8994_samsung.c:1526:8: error: (near initialization for 'wm8994_dai.id')
sound/soc/codecs/wm8994_samsung.c:1526:8: warning: excess elements in scalar initializer
sound/soc/codecs/wm8994_samsung.c:1526:8: warning: (near initialization for 'wm8994_dai.id')
sound/soc/codecs/wm8994_samsung.c:1527:8: error: field name not in record or union initializer
sound/soc/codecs/wm8994_samsung.c:1527:8: error: (near initialization for 'wm8994_dai.id')
sound/soc/codecs/wm8994_samsung.c:1527:8: warning: excess elements in scalar initializer
sound/soc/codecs/wm8994_samsung.c:1527:8: warning: (near initialization for 'wm8994_dai.id')
sound/soc/codecs/wm8994_samsung.c:1529:2: error: unknown field 'capture' specified in initializer
sound/soc/codecs/wm8994_samsung.c:1529:2: warning: braces around scalar initializer
sound/soc/codecs/wm8994_samsung.c:1529:2: warning: (near initialization for 'wm8994_dai.dev')
sound/soc/codecs/wm8994_samsung.c:1530:7: error: field name not in record or union initializer
sound/soc/codecs/wm8994_samsung.c:1530:7: error: (near initialization for 'wm8994_dai.dev')
sound/soc/codecs/wm8994_samsung.c:1530:7: warning: initialization from incompatible pointer type
sound/soc/codecs/wm8994_samsung.c:1531:7: error: field name not in record or union initializer
sound/soc/codecs/wm8994_samsung.c:1531:7: error: (near initialization for 'wm8994_dai.dev')
sound/soc/codecs/wm8994_samsung.c:1531:7: warning: excess elements in scalar initializer
sound/soc/codecs/wm8994_samsung.c:1531:7: warning: (near initialization for 'wm8994_dai.dev')
sound/soc/codecs/wm8994_samsung.c:1532:7: error: field name not in record or union initializer
sound/soc/codecs/wm8994_samsung.c:1532:7: error: (near initialization for 'wm8994_dai.dev')
sound/soc/codecs/wm8994_samsung.c:1532:7: warning: excess elements in scalar initializer
sound/soc/codecs/wm8994_samsung.c:1532:7: warning: (near initialization for 'wm8994_dai.dev')
sound/soc/codecs/wm8994_samsung.c:1533:7: error: field name not in record or union initializer
sound/soc/codecs/wm8994_samsung.c:1533:7: error: (near initialization for 'wm8994_dai.dev')
sound/soc/codecs/wm8994_samsung.c:1533:7: warning: excess elements in scalar initializer
sound/soc/codecs/wm8994_samsung.c:1533:7: warning: (near initialization for 'wm8994_dai.dev')
sound/soc/codecs/wm8994_samsung.c:1534:7: error: field name not in record or union initializer
sound/soc/codecs/wm8994_samsung.c:1534:7: error: (near initialization for 'wm8994_dai.dev')
sound/soc/codecs/wm8994_samsung.c:1534:7: warning: excess elements in scalar initializer
sound/soc/codecs/wm8994_samsung.c:1534:7: warning: (near initialization for 'wm8994_dai.dev')
sound/soc/codecs/wm8994_samsung.c:1537:2: error: unknown field 'ops' specified in initializer
sound/soc/codecs/wm8994_samsung.c:3164:5: warning: function declaration isn't a prototype
sound/soc/codecs/wm8994_samsung.c: In function 'Is_call_active':
sound/soc/codecs/wm8994_samsung.c:3168:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_init':
sound/soc/codecs/wm8994_samsung.c:3209:2: error: 'struct snd_soc_codec' has no member named 'delayed_work'
sound/soc/codecs/wm8994_samsung.c:3209:2: error: 'struct snd_soc_codec' has no member named 'delayed_work'
sound/soc/codecs/wm8994_samsung.c:3209:2: error: 'struct snd_soc_codec' has no member named 'delayed_work'
sound/soc/codecs/wm8994_samsung.c:3209:2: error: 'struct snd_soc_codec' has no member named 'delayed_work'
sound/soc/codecs/wm8994_samsung.c:3209:2: error: 'struct snd_soc_codec' has no member named 'delayed_work'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_i2c_probe':
sound/soc/codecs/wm8994_samsung.c:3263:45: error: dereferencing pointer to incomplete type
sound/soc/codecs/wm8994_samsung.c:3275:7: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c:3326:7: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_probe':
sound/soc/codecs/wm8994_samsung.c:3390:16: error: dereferencing pointer to incomplete type
sound/soc/codecs/wm8994_samsung.c:3392:23: error: 'struct snd_soc_codec' has no member named 'dapm_widgets'
sound/soc/codecs/wm8994_samsung.c:3393:23: error: 'struct snd_soc_codec' has no member named 'dapm_paths'
sound/soc/codecs/wm8994_samsung.c:3395:7: error: 'struct snd_soc_codec' has no member named 'owner'
sound/soc/codecs/wm8994_samsung.c:3398:27: warning: assignment from incompatible pointer type
sound/soc/codecs/wm8994_samsung.c:3399:7: error: 'struct snd_soc_codec' has no member named 'reg_cache_size'
sound/soc/codecs/wm8994_samsung.c:3400:7: error: 'struct snd_soc_codec' has no member named 'set_bias_level'
sound/soc/codecs/wm8994_samsung.c:3401:7: error: 'struct snd_soc_codec' has no member named 'dai'
sound/soc/codecs/wm8994_samsung.c:3403:8: error: dereferencing pointer to incomplete type
sound/soc/codecs/wm8994_samsung.c:3406:2: error: implicit declaration of function 'snd_soc_new_pcms'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_remove':
sound/soc/codecs/wm8994_samsung.c:3426:2: error: implicit declaration of function 'snd_soc_free_pcms'
sound/soc/codecs/wm8994_samsung.c:3427:2: warning: passing argument 1 of 'snd_soc_dapm_free' from incompatible pointer type
include/sound/soc-dapm.h:354:6: note: expected 'struct snd_soc_dapm_context *' but argument is of type 'struct snd_soc_device *'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_reset_analog_vol_work':
sound/soc/codecs/wm8994_samsung.c:3442:3: error: 'struct snd_soc_codec' has no member named 'delayed_work'
sound/soc/codecs/wm8994_samsung.c:3442:3: warning: type defaults to 'int' in declaration of '__mptr'
sound/soc/codecs/wm8994_samsung.c:3442:3: warning: initialization from incompatible pointer type
sound/soc/codecs/wm8994_samsung.c:3442:3: error: 'struct snd_soc_codec' has no member named 'delayed_work'
sound/soc/codecs/wm8994_samsung.c:3443:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c:3443:22: warning: unused variable 'wm8994'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_suspend':
sound/soc/codecs/wm8994_samsung.c:3466:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_resume':
sound/soc/codecs/wm8994_samsung.c:3489:36: error: 'struct snd_soc_codec' has no member named 'drvdata'
sound/soc/codecs/wm8994_samsung.c: At top level:
sound/soc/codecs/wm8994_samsung.c:3508:8: error: variable 'soc_codec_dev_wm8994' has initializer but incomplete type
sound/soc/codecs/wm8994_samsung.c:3509:2: error: unknown field 'probe' specified in initializer
sound/soc/codecs/wm8994_samsung.c:3509:2: warning: excess elements in struct initializer
sound/soc/codecs/wm8994_samsung.c:3509:2: warning: (near initialization for 'soc_codec_dev_wm8994')
sound/soc/codecs/wm8994_samsung.c:3510:2: error: unknown field 'remove' specified in initializer
sound/soc/codecs/wm8994_samsung.c:3510:2: warning: excess elements in struct initializer
sound/soc/codecs/wm8994_samsung.c:3510:2: warning: (near initialization for 'soc_codec_dev_wm8994')
sound/soc/codecs/wm8994_samsung.c:3512:2: error: unknown field 'suspend' specified in initializer
sound/soc/codecs/wm8994_samsung.c:3512:2: warning: excess elements in struct initializer
sound/soc/codecs/wm8994_samsung.c:3512:2: warning: (near initialization for 'soc_codec_dev_wm8994')
sound/soc/codecs/wm8994_samsung.c:3513:2: error: unknown field 'resume' specified in initializer
sound/soc/codecs/wm8994_samsung.c:3513:2: warning: excess elements in struct initializer
sound/soc/codecs/wm8994_samsung.c:3513:2: warning: (near initialization for 'soc_codec_dev_wm8994')
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_modinit':
sound/soc/codecs/wm8994_samsung.c:3520:2: warning: passing argument 1 of 'snd_soc_register_dai' from incompatible pointer type
include/sound/soc-dai.h:97:5: note: expected 'struct device *' but argument is of type 'struct snd_soc_dai *'
sound/soc/codecs/wm8994_samsung.c:3520:2: error: too few arguments to function 'snd_soc_register_dai'
include/sound/soc-dai.h:97:5: note: declared here
sound/soc/codecs/wm8994_samsung.c: In function 'wm8994_exit':
sound/soc/codecs/wm8994_samsung.c:3531:2: warning: passing argument 1 of 'snd_soc_unregister_dai' from incompatible pointer type
include/sound/soc-dai.h:99:6: note: expected 'struct device *' but argument is of type 'struct snd_soc_dai *'
sound/soc/codecs/wm8994_samsung.c: At top level:
sound/soc/codecs/wm8994_samsung.c:1034:12: warning: 'wm8994_set_bias_level' defined but not used
sound/soc/codecs/wm8994_samsung.c:1354:12: warning: 'wm8994_digital_mute' defined but not used
make[3]: *** [sound/soc/codecs/wm8994_samsung.o] Error 1
make[2]: *** [sound/soc/codecs] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2
[[email protected] p75102]$
Any ideas? Also, under menuconfig I enabled p3 sound and disabled p4 sound to get the voodoo option.
Wish I could help you out. I just wanted to bump this up. I miss my voodoo sound. Good Luck.
From what I could gather from looking at the sources, you could try replacing all the "codec->drvdata" lines with "snd_soc_codec_get_drvdata(codec)" and "&codec->delayed_work" with "&wm8994->delayed_work" and so on.
EDIT: Comparing the files even more, it might be enough to just add in the few lines with Voodoo in to the source. I've added a file where I've done that so you can try with it but I wont give any guarantees that it will work with just that. To be honest, it sounds too simple for it to work with just those changes.
CazeW said:
From what I could gather from looking at the sources, you could try replacing all the "codec->drvdata" lines with "snd_soc_codec_get_drvdata(codec)" and "&codec->delayed_work" with "&wm8994->delayed_work" and so on.
EDIT: Comparing the files even more, it might be enough to just add in the few lines with Voodoo in to the source. I've added a file where I've done that so you can try with it but I wont give any guarantees that it will work with just that. To be honest, it sounds too simple for it to work with just those changes.
Click to expand...
Click to collapse
Thanks for that. I managed to get voodoo sound compiled in but for some reason the wifi doesn't work anymore and neither does adb. I did try the voodoo control app and it worked just fine. Any suggestions for why wifi suddenly died out? I am looking at pershoot's git config but I can't find anything markedly different.(I attached mine) Also, in the about section my kernel string info didn't appear. It said something along the lines of error retrieving string. (Note my tablet is not running the voodoo sound kernel right now since it would have no wifi and no adb which makes it kinda useless).
I got the wifi with voodoo sound working. However, adb/mtp usb functions still do not work. When I try to compile the so called "fsl_usb" "fsl_tegra" thingy I get the following error messages:
Code:
drivers/usb/gadget/fsl_tegra_udc.c:113:6: warning: function declaration isn't a prototype
LD [M] drivers/usb/gadget/fsl_usb2_udc.o
Building modules, stage 2.
MODPOST 4 modules
ERROR: "tegra_usb_phy_close" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
ERROR: "tegra_usb_phy_charger_detect" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
ERROR: "tegra_usb_phy_memory_prefetch_on" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
ERROR: "tegra_usb_phy_power_on" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
ERROR: "tegra_usb_phy_open" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
ERROR: "tegra_usb_phy_memory_prefetch_off" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
ERROR: "tegra_usb_phy_power_off" [drivers/usb/gadget/fsl_usb2_udc.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
I am really at quite a loss as for how to correct source code errors. I am by no means a kernel developer by even the most lenient definitions. Just an enthusiast who wants to compile in voodoo sound while waiting for cm9 with a bit of know how. If I compile with the fsl_tegra/usb thingy as built in and not a module I get no errors but it still doesn't work. I attached a logcat from the tablet showing some kind of usb file error.
This issue has been fixed. See first post for working link.
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/bash/bash_logout)
bootable/recovery/extendedcommands.c: In function 'choose_file_menu':
bootable/recovery/extendedcommands.c:288: warning: passing argument 1 of 'get_menu_selection' from incompatible pointer type
bootable/recovery/recovery_ui.h:86: note: expected 'char **' but argument is of type 'const char **'
bootable/recovery/extendedcommands.c: In function 'show_choose_zip_menu':
bootable/recovery/extendedcommands.c:327: warning: passing argument 3 of 'choose_file_menu' from incompatible pointer type
bootable/recovery/extendedcommands.c:250: note: expected 'const char **' but argument is of type 'char **'
bootable/recovery/extendedcommands.c: In function 'show_nandroid_restore_menu':
bootable/recovery/extendedcommands.c:351: warning: passing argument 3 of 'choose_file_menu' from incompatible pointer type
bootable/recovery/extendedcommands.c:250: note: expected 'const char **' but argument is of type 'char **'
bootable/recovery/extendedcommands.c: In function 'show_mount_usb_storage_menu':
bootable/recovery/extendedcommands.c:369: warning: 'return' with a value, in function returning void
bootable/recovery/extendedcommands.c:376: warning: 'return' with a value, in function returning void
bootable/recovery/extendedcommands.c:396: warning: 'return' with a value, in function returning void
bootable/recovery/extendedcommands.c:403: warning: 'return' with a value, in function returning void
bootable/recovery/extendedcommands.c: In function 'confirm_selection':
bootable/recovery/extendedcommands.c:413: warning: initialization discards qualifiers from pointer target type
bootable/recovery/extendedcommands.c: In function 'format_device':
bootable/recovery/extendedcommands.c:450: warning: implicit declaration of function 'format_rfs_device'
bootable/recovery/extendedcommands.c:495: warning: implicit declaration of function 'reset_ext4fs_info'
bootable/recovery/extendedcommands.c:496: warning: implicit declaration of function 'make_ext4fs'
target Prebuilt: system_etcdir (out/target/product/shakira/system/etc/bash/bashrc)
bootable/recovery/extendedcommands.c: In function 'format_unknown_device':
bootable/recovery/extendedcommands.c:534: warning: implicit declaration of function 'format_ext3_device'
bootable/recovery/extendedcommands.c:543: warning: implicit declaration of function 'format_ext2_device'
bootable/recovery/extendedcommands.c: In function 'show_partition_menu':
bootable/recovery/extendedcommands.c:636: warning: passing argument 1 of 'sprintf' from incompatible pointer type
bionic/libc/include/stdio.h:265: note: expected 'char *' but argument is of type 'char (*)[255]'
bootable/recovery/extendedcommands.c:637: warning: passing argument 1 of 'sprintf' from incompatible pointer type
bionic/libc/include/stdio.h:265: note: expected 'char *' but argument is of type 'char (*)[255]'
bootable/recovery/extendedcommands.c:640: warning: passing argument 1 of 'is_safe_to_format' discards qualifiers from pointer target type
bootable/recovery/extendedcommands.c:585: note: expected 'char *' but argument is of type 'const char *'
bootable/recovery/extendedcommands.c:641: warning: passing argument 1 of 'sprintf' from incompatible pointer type
bionic/libc/include/stdio.h:265: note: expected 'char *' but argument is of type 'char (*)[255]'
bootable/recovery/extendedcommands.c:646: warning: passing argument 1 of 'is_safe_to_format' discards qualifiers from pointer target type
bootable/recovery/extendedcommands.c:585: note: expected 'char *' but argument is of type 'const char *'
bootable/recovery/extendedcommands.c:648: warning: passing argument 1 of 'sprintf' from incompatible pointer type
bionic/libc/include/stdio.h:265: note: expected 'char *' but argument is of type 'char (*)[255]'
bootable/recovery/extendedcommands.c:666: warning: implicit declaration of function 'is_path_mounted'
bootable/recovery/extendedcommands.c:682: warning: passing argument 2 of 'get_menu_selection' from incompatible pointer type
bootable/recovery/recovery_ui.h:86: note: expected 'char **' but argument is of type 'char * (*)[255]'
bootable/recovery/extendedcommands.c: In function 'show_nandroid_advanced_restore_menu':
bootable/recovery/extendedcommands.c:745: warning: passing argument 3 of 'choose_file_menu' from incompatible pointer type
bootable/recovery/extendedcommands.c:250: note: expected 'const char **' but argument is of type 'char **'
bootable/recovery/extendedcommands.c: In function 'show_nandroid_menu':
bootable/recovery/extendedcommands.c:831: warning: format '%d' expects type 'int', but argument 3 has type 'time_t *'
bootable/recovery/extendedcommands.c:855: warning: format '%d' expects type 'int', but argument 3 has type 'time_t *'
bootable/recovery/extendedcommands.c: In function 'show_advanced_menu':
bootable/recovery/extendedcommands.c:992: warning: assignment makes integer from pointer without a cast
bootable/recovery/extendedcommands.c:1044: warning: assignment makes integer from pointer without a cast
bootable/recovery/extendedcommands.c: In function 'process_volumes':
bootable/recovery/extendedcommands.c:1155: warning: format '%d' expects type 'int', but argument 3 has type 'time_t *'
make: *** [out/target/product/shakira/obj/EXECUTABLES/recovery_intermediates/extendedcommands.o] 错误 1
make: *** 正在等待未完成的任务....
who can help me how to do ?
Thank you very much !!!
i am sorry for my bad English
Delete the out folder..try to build again
Sent by Vince™
Vınce said:
Delete the out folder..try to build again
Sent by Vince™
Click to expand...
Click to collapse
OK,i will try ~~ thank you ~!!
Hi Everyone,
I thought someone will be able to help. I'm getting those build errors when building cm11 from source. This is just at the end when building apks. Is it me or cm source?
Code:
In file included from external/chromium_org/content/common/android/hash_set.cc:5:0:
/root/cm/out/target/product/m7ul/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:10:26: error: extra tokens at end of #ifndef directive [-Werror]
/root/cm/out/target/product/m7ul/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:11:26: error: missing whitespace after the macro name [-Werror]
target thumb C++: content_content_common_gyp <= external/chromium_org/content/common/browser_rendering_stats.cc
target thumb C++: content_content_common_gyp <= external/chromium_org/content/common/cc_messages.cc
target thumb C++: content_content_common_gyp <= external/chromium_org/content/common/child_process_host_impl.cc
In file included from external/chromium_org/content/common/android/hash_set.cc:5:0:
/root/cm/out/target/product/m7ul/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:24:20: error: expected initializer before '<' token
/root/cm/out/target/product/m7ul/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:26:17: error: expected initializer before '<' token
/root/cm/out/target/product/m7ul/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:29:22: error: expected '{' before '<' token
/root/cm/out/target/product/m7ul/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:29:22: error: expected unqualified-id before '<' token
external/chromium_org/content/common/android/hash_set.cc:30:1: error: expected '}' at end of input
cc1plus: all warnings being treated as errors
make: *** [/root/cm/out/target/product/m7ul/obj/STATIC_LIBRARIES/content_content_common_gyp_intermediates/content/common/android/hash_set.o] Error 1
make: *** Waiting for unfinished jobs....
golcheck said:
Hi Everyone,
I thought someone will be able to help. I'm getting those build errors when building cm11 from source. This is just at the end when building apks. Is it me or cm source?
Code:
In file included from external/chromium_org/content/common/android/hash_set.cc:5:0:
/root/cm/out/target/product/m7ul/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:10:26: error: extra tokens at end of #ifndef directive [-Werror]
/root/cm/out/target/product/m7ul/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:11:26: error: missing whitespace after the macro name [-Werror]
target thumb C++: content_content_common_gyp <= external/chromium_org/content/common/browser_rendering_stats.cc
target thumb C++: content_content_common_gyp <= external/chromium_org/content/common/cc_messages.cc
target thumb C++: content_content_common_gyp <= external/chromium_org/content/common/child_process_host_impl.cc
In file included from external/chromium_org/content/common/android/hash_set.cc:5:0:
/root/cm/out/target/product/m7ul/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:24:20: error: expected initializer before '<' token
/root/cm/out/target/product/m7ul/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:26:17: error: expected initializer before '<' token
/root/cm/out/target/product/m7ul/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:29:22: error: expected '{' before '<' token
/root/cm/out/target/product/m7ul/obj/GYP/shared_intermediates/content/jni/HashSet_jni.h:29:22: error: expected unqualified-id before '<' token
external/chromium_org/content/common/android/hash_set.cc:30:1: error: expected '}' at end of input
cc1plus: all warnings being treated as errors
make: *** [/root/cm/out/target/product/m7ul/obj/STATIC_LIBRARIES/content_content_common_gyp_intermediates/content/common/android/hash_set.o] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
Try this
http://www.playfuldroidz.com/wiki/How_to_Fix_HashSet_Issues_Building_Android
crt60 said:
Try this
http://www.playfuldroidz.com/wiki/How_to_Fix_HashSet_Issues_Building_Android
Click to expand...
Click to collapse
It was actually my fault. Was building with Java 7. Switched back to Java 6 and all good now. Thanks anyway
Build issues with openjdk-6-jdk_6b30
Hi,
just wanted to mention that I got the very same issue, introduced by a system update which also did update the jdk to 6b30. Took me some time to figure out that this was the actual issue, and it could only be resolved by switching back to 6b27 (which I had installed before)
Just in case someone comes across the same issue on Ubuntu precise, go back instantly and don't lose that much time as I did looking for the root cause somewhere else.
Interestingly, the newer raring, swarty releases are still on 6b27