Hi i was compiling wlan.ko for the kernel 2.6.32.9. Its gives following error:
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c: In function 'setup_netif':
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:766: error: 'struct net_device' has no member named 'open'
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:767: error: 'struct net_device' has no member named 'stop'
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:768: error: 'struct net_device' has no member named 'hard_start_xmit'
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:769: error: 'struct net_device' has no member named 'get_stats'
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c: In function 'tiwlan_init_drv':
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:1415: error: 'struct net_device' has no member named 'hard_start_xmit'
make[2]: *** [/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.o] Error 1
make[1]: *** [_module_/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32] Error 2
make[1]: Leaving directory `/home/peshal/kernel/msm'
Any help is greatly appreciated.. Thanx
peshal said:
Hi i was compiling wlan.ko for the kernel 2.6.32.9. Its gives following error:
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c: In function 'setup_netif':
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:766: error: 'struct net_device' has no member named 'open'
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:767: error: 'struct net_device' has no member named 'stop'
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:768: error: 'struct net_device' has no member named 'hard_start_xmit'
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:769: error: 'struct net_device' has no member named 'get_stats'
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c: In function 'tiwlan_init_drv':
/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.c:1415: error: 'struct net_device' has no member named 'hard_start_xmit'
make[2]: *** [/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32/./pform/linux/src/esta_drv.o] Error 1
make[1]: *** [_module_/home/peshal/aosp/system/wlan/ti/sta_dk_4_0_4_32] Error 2
make[1]: Leaving directory `/home/peshal/kernel/msm'
Any help is greatly appreciated.. Thanx
Click to expand...
Click to collapse
i have the same problem
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
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
I'm trying to compile cyanogenmod 10.2 from sources for samsung janice (i9070) but i edited files to match my device (Samsung gavini (I8530))
I write here, because my device isn't so popular, but it is very similar to S Advance.
When i try to compile CYanogenmod everything goes well untill it starts to compile kernel. At one moment it stopps with this error:
Code:
ARCH=arm CROSS_COMPILE=" /home/denisrus/Documents/CYANOGENMOD/i9070/prebuilt/linux-x86/toolchain/arm-eabi-4.6/bin/arm-eabi-"
...
In file included from /home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:16:0:
...
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:747:2: error: unknown field 'atchcalst' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:747:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:747:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:748:2: error: unknown field 'atchcalsthr' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:748:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:748:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:749:2: error: unknown field 'tchthr_batt' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:749:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:749:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:750:2: error: unknown field 'tchthr_charging' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:750:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:750:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:751:2: error: unknown field 'tchthr_batt_e' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:751:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:751:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:752:2: error: unknown field 'tchthr_charging_e' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:752:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:752:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:753:2: error: unknown field 'calcfg_batt_e' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:753:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:753:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:754:2: error: unknown field 'calcfg_charging_e' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:754:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:754:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:755:2: error: unknown field 'atchfrccalthr_e' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:755:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:755:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:756:2: error: unknown field 'atchfrccalratio_e' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:756:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:756:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:757:2: error: unknown field 't48_config_batt_e' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:757:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:757:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:758:2: error: unknown field 't48_config_chrg_e' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:758:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:758:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:759:2: error: unknown field 'power_con' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:759:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:759:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:761:2: error: unknown field 'read_ta_status' specified in initializer
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:761:2: warning: excess elements in struct initializer [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:761:2: warning: (near initialization for 'mxt224_data') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1002:3: error: initializer element is not constant
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1002:3: error: (near initialization for 'gavini_r0_1_gpio_i2c5_devices[0].irq')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1955:1: error: 'NMK_GPIO_ALT_A' undeclared here (not in a function)
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1955:1: error: invalid operands to binary << (have 'struct i2c_board_info *' and 'int')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1955:2: error: invalid operands to binary | (have 'int' and 'struct i2c_board_info *')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1955:2: error: invalid operands to binary | (have 'int' and 'struct i2c_board_info *')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1955:20: error: 'NMK_GPIO_PULL_UP' undeclared here (not in a function)
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1955:20: error: invalid operands to binary << (have 'struct i2c_board_info *' and 'int')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1955:20: error: invalid operands to binary | (have 'int' and 'struct i2c_board_info *')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1955:18: error: invalid operands to binary | (have 'struct i2c_board_info *' and 'struct i2c_board_info *')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1955:2: error: initializer element is not constant
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1955:2: error: (near initialization for 'mop500_pins_uart0[0]')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1956:1: error: invalid operands to binary << (have 'struct i2c_board_info *' and 'int')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1956:2: error: invalid operands to binary | (have 'int' and 'struct i2c_board_info *')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1956:2: error: invalid operands to binary | (have 'int' and 'struct i2c_board_info *')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1956:18: error: invalid operands to binary | (have 'struct i2c_board_info *' and 'int')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1956:2: error: initializer element is not constant
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1956:2: error: (near initialization for 'mop500_pins_uart0[1]')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1957:1: error: invalid operands to binary << (have 'struct i2c_board_info *' and 'int')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1957:2: error: invalid operands to binary | (have 'int' and 'struct i2c_board_info *')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1957:2: error: invalid operands to binary | (have 'int' and 'struct i2c_board_info *')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1957:20: error: invalid operands to binary << (have 'struct i2c_board_info *' and 'int')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1957:20: error: invalid operands to binary | (have 'int' and 'struct i2c_board_info *')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1957:18: error: invalid operands to binary | (have 'struct i2c_board_info *' and 'struct i2c_board_info *')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1957:2: error: initializer element is not constant
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1957:2: error: (near initialization for 'mop500_pins_uart0[2]')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1958:1: error: invalid operands to binary << (have 'struct i2c_board_info *' and 'int')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1958:2: error: invalid operands to binary | (have 'int' and 'struct i2c_board_info *')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1958:2: error: invalid operands to binary | (have 'int' and 'struct i2c_board_info *')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1958:18: error: invalid operands to binary | (have 'struct i2c_board_info *' and 'int')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1958:2: error: initializer element is not constant
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1958:2: error: (near initialization for 'mop500_pins_uart0[3]')
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:2015:2: warning: initialization from incompatible pointer type [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:2015:2: warning: (near initialization for 'uart0_plat.amba_pl011_wake_peer') [enabled by default]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c: In function 'gavini_init_machine':
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:2342:2: error: implicit declaration of function 'nmk_gpio_clocks_enable' [-Werror=implicit-function-declaration]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:2382:2: error: implicit declaration of function 'mms136_ts_init' [-Werror=implicit-function-declaration]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:2383:2: error: implicit declaration of function 'nmk_gpio_clocks_disable' [-Werror=implicit-function-declaration]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c: At top level:
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:190:37: warning: 'mpu_data' defined but not used [-Wunused-variable]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:517:13: warning: 'tsu6111_reset' defined but not used [-Wunused-function]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:582:13: warning: 'mxt224_register_callback' defined but not used [-Wunused-function]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:734:36: warning: 'mxt224_data' defined but not used [-Wunused-variable]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:999:41: warning: 'gavini_r0_1_gpio_i2c5_devices' defined but not used [-Wunused-variable]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1949:31: warning: 'sec_device_rfkill' defined but not used [-Wunused-variable]
/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500/arch/arm/mach-ux500/board-gavini.c:1999:13: warning: 'bt_wake_peer' defined but not used [-Wunused-function]
cc1: some warnings being treated as errors
make[3]: *** [arch/arm/mach-ux500/board-gavini.o] Error 1
make[2]: *** [arch/arm/mach-ux500] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/denisrus/Documents/CYANOGENMOD/i9070/kernel/samsung/u8500'
make: *** [TARGET_KERNEL_BINARIES] Error 2
Interesting. Finally we found someone who has a gavini. I'll take a look at the error tomorrow
Inviato dal mio GT-I9070 utilizzando Tapatalk
I don't have much experience in compiling cyanogenmod roms, i only know how to compile kernels... All the time, i've compiled kernels from stock sources, i've never seen such errors, but how to solve this, I don't know. So if you know solution or have some recommendations, i'm ready to try them. So if it is possible, look at this error when you have time.
Did you try another toolchain to build?
Sent from my GT-I9505 using xda app-developers app
Yes. As i remember, i tried Code Sourcery toolchain and Google toolchain. May be i just made something wrong with files? If i put cyanogenmod config and ramdisk to stock kernel source files, will it be possible to compile it? And i'm not sure that platform is compiling correctly, because it has some differents from janice, i'v tried to modify files to match my board, but i'm not sure it works.
If you have some ideas, i can try them.
If you need some more information about files that i'm using or PC configuration, i can write everything that you need.
------
Sorry for bad English, it's not my native language.