[SOLVED] Help with building jellybean aokp from source. - AT&T Samsung Galaxy S II Skyrocket SGH-I727

I'm getting stuck at this.
Code:
make: *** [out/target/product/skyrocket/obj/SHARED_LIBRARIES/gps.msm8660_intermediates/LINKED/gps.msm8660.so] Error 1
Any help would greatly appreciated.
Here's more..
If anybody else has this problem:
sk8erwitskil said:
if you edit device/samsung/msm8660-common/BoardConfigCommon.mk and comment out these lines:
Code:
BOARD_USES_QCOM_GPS := true
BOARD_VENDOR_QCOM_GPS_LOC_API_AMSS_VERSION := 50000
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := msm8660
and edit device/samsung/msm8660-common/msm8660.mk and comment out these lines:
Code:
PRODUCT_PACKAGES += \
gps.msm8660
Click to expand...
Click to collapse
Code:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.1
TARGET_PRODUCT=aokp_skyrocket
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-26-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JRO03C
OUT_DIR=out
============================================
find: `src': No such file or directory
build/core/base_rules.mk:533: warning: overriding commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: ignoring old commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: overriding commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: ignoring old commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: overriding commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: ignoring old commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: overriding commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: ignoring old commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: overriding commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: ignoring old commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: overriding commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: ignoring old commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: overriding commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: ignoring old commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: overriding commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: ignoring old commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: overriding commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
build/core/base_rules.mk:533: warning: ignoring old commands for target `out/target/product/skyrocket/system/media/bootanimation.zip'
No private recovery resources for TARGET_DEVICE skyrocket
target SharedLib: gps.msm8660 (out/target/product/skyrocket/obj/SHARED_LIBRARIES/gps.msm8660_intermediates/LINKED/gps.msm8660.so)
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: error: out/target/product/skyrocket/obj/lib/librpc.so: file is empty
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_rpc_glue.o): in function loc_apicbprog_freeresult:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_rpc_glue.c:143: error: undefined reference to 'xdr_free'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_rpc_glue.o): in function loc_api_glue_init:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_rpc_glue.c:251: error: undefined reference to 'clnt_create'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_apicb_appinit.o): in function loc_apicb_app_init:hardware/qcom/gps/loc_api/libloc_api-rpc/src/loc_apicb_appinit.c:36: error: undefined reference to 'svcrtr_create'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_apicb_appinit.o): in function loc_apicb_app_init:hardware/qcom/gps/loc_api/libloc_api-rpc/src/loc_apicb_appinit.c:40: error: undefined reference to 'xprt_register'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_apicb_appinit.o): in function loc_apicb_app_init:hardware/qcom/gps/loc_api/libloc_api-rpc/src/loc_apicb_appinit.c:41: error: undefined reference to 'svc_register'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_apicb_appinit.o): in function loc_apicb_app_deinit:hardware/qcom/gps/loc_api/libloc_api-rpc/src/loc_apicb_appinit.c:57: error: undefined reference to 'xprt_unregister'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_apicb_appinit.o): in function loc_apicb_app_deinit:hardware/qcom/gps/loc_api/libloc_api-rpc/src/loc_apicb_appinit.c:58: error: undefined reference to 'svc_destroy'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_clnt.o): in function rpc_loc_api_null_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_clnt.c:15: error: undefined reference to 'clnt_call'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_clnt.o): in function rpc_loc_api_null_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_clnt.c:19: error: undefined reference to 'xdr_void'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_clnt.o): in function rpc_loc_api_rpc_glue_code_info_remote_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_clnt.c:24: error: undefined reference to 'clnt_call'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_clnt.o): in function rpc_loc_api_rpc_glue_code_info_remote_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_clnt.c:28: error: undefined reference to 'xdr_void'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_clnt.o): in function rpc_loc_open_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_clnt.c:33: error: undefined reference to 'clnt_call'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_clnt.o): in function rpc_loc_close_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_clnt.c:42: error: undefined reference to 'clnt_call'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_clnt.o): in function rpc_loc_api_api_versions_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_clnt.c:82: error: undefined reference to 'xdr_void'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_cb_svc.o): in function loc_apicbprog_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_cb_svc.c:34: error: undefined reference to 'svc_sendreply'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_cb_svc.o): in function loc_apicbprog_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_cb_svc.c:48: error: undefined reference to 'svc_getargs'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_cb_svc.o): in function loc_apicbprog_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_cb_svc.c:44: error: undefined reference to 'svcerr_noproc'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_cb_svc.o): in function loc_apicbprog_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_cb_svc.c:49: error: undefined reference to 'svcerr_decode'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_cb_svc.o): in function loc_apicbprog_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_cb_svc.c:53: error: undefined reference to 'svc_sendreply'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_cb_svc.o): in function loc_apicbprog_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_cb_svc.c:54: error: undefined reference to 'svcerr_systemerr'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_cb_svc.o): in function loc_apicbprog_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_cb_svc.c:56: error: undefined reference to 'svc_freeargs'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_cb_svc.o): in function loc_apicbprog_0x00050001:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_cb_svc.c:64: error: undefined reference to 'xdr_void'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_xdr.o): in function xdr_rpc_loc_api_api_versions_return_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_xdr.c:13: error: undefined reference to 'xdr_array'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_xdr.o): in function xdr_rpc_loc_ioctl_args:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_xdr.c:80: error: undefined reference to 'xdr_pointer'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_xdr.o): in function xdr_rpc_loc_api_api_versions_rets:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_xdr.c:168: error: undefined reference to 'xdr_pointer'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_cb_xdr.o): in function xdr_rpc_loc_event_cb_f_type_args:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_cb_xdr.c:19: error: undefined reference to 'xdr_pointer'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:843: error: undefined reference to 'xdr_string'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_struct_loc_time_download_source_s_type_servers_ptr:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:810: error: undefined reference to 'xdr_string'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_uint32:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:23: error: undefined reference to 'xdr_u_long'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_boolean:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:13: error: undefined reference to 'xdr_bool'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_uint16:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:33: error: undefined reference to 'xdr_u_short'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_uint8:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:43: error: undefined reference to 'xdr_u_char'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_int32:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:53: error: undefined reference to 'xdr_long'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_wiper_ap_info_s_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:1316: error: undefined reference to 'xdr_opaque'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_uint64:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:73: error: undefined reference to 'xdr_u_quad_t'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_session_status_e_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:123: error: undefined reference to 'xdr_enum'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_calendar_time_s_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:135: error: undefined reference to 'xdr_u_char'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_calendar_time_s_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:137: error: undefined reference to 'xdr_u_char'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_calendar_time_s_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:139: error: undefined reference to 'xdr_u_char'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_gnss_info_s_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:293: error: undefined reference to 'xdr_array'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_nmea_report_s_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:307: error: undefined reference to 'xdr_opaque'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_server_addr_url_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:406: error: undefined reference to 'xdr_opaque'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_ni_vx_requester_id_s_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:503: error: undefined reference to 'xdr_opaque'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_struct_loc_time_download_source_s_type_servers:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:820: error: undefined reference to 'xdr_vector'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:853: error: undefined reference to 'xdr_vector'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_reserved_payload_s_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:1022: error: undefined reference to 'xdr_bytes'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_predicted_orbits_data_s_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:1154: error: undefined reference to 'xdr_bytes'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_wiper_ap_set_s_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:1335: error: undefined reference to 'xdr_vector'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_efs_data_s_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:1389: error: undefined reference to 'xdr_bytes'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_assist_data_delete_s_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:1440: error: undefined reference to 'xdr_vector'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_common_xdr.o): in function xdr_rpc_loc_event_payload_u_type:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_common_xdr.c:1604: error: undefined reference to 'xdr_u_quad_t'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_fixup.o):hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_fixup.c:40: error: undefined reference to 'xdr_long'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_fixup.o): in function xdr_double:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_fixup.c:48: error: undefined reference to 'xdr_long'
/home/gmillz/aokp-jb/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/skyrocket/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/libloc_api-rpc.a(loc_api_fixup.o): in function xdr_double:hardware/qcom/gps/loc_api/libloc_api-rpc/gen-50000/loc_api_fixup.c:49: error: undefined reference to 'xdr_long'
collect2: ld returned 1 exit status
make: *** [out/target/product/skyrocket/obj/SHARED_LIBRARIES/gps.msm8660_intermediates/LINKED/gps.msm8660.so] Error 1
make: *** Waiting for unfinished jobs....

First what version of Linux and is it 32 or 64 bit and did you install all the required packages
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2

Illnevertell said:
First what version of Linux and is it 32 or 64 bit and did you install all the required packages
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Ubuntu 12.04 64
yes I have all the required packages. I can build aokp jb for tf300t

Possible bad sync
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2

I'll resync and see if that fixes it.

I resync'd and same error

try to run "make clobber" and rebuild

Related

trouble building cyanogen-mod kernel

I am trying to build the Incredible CM kernel, but I am getting a series of errors. The kernel I am trying to build is f3345efe in the android-msm-2.6.37-incrediblec branch. However, I also have this problem on the master also.
I get the following errors:
Code:
arch/arm/mach-msm/built-in.o: In function `q6fm_open':
/home/gnychis/Documents/android/cm-kernel/arch/arm/mach-msm/qdsp6/q6audio.c:1605: undefined reference to `enable_aux_loopback'
arch/arm/mach-msm/built-in.o: In function `q6fm_close':
/home/gnychis/Documents/android/cm-kernel/arch/arm/mach-msm/qdsp6/q6audio.c:1613: undefined reference to `enable_aux_loopback'
drivers/built-in.o: In function `upload_ls_table':
/home/gnychis/Documents/android/cm-kernel/drivers/input/misc/cm3602_lightsensor_microp.c:111: undefined reference to `microp_i2c_write'
drivers/built-in.o: In function `ls_microp_intr_enable':
/home/gnychis/Documents/android/cm-kernel/drivers/input/misc/cm3602_lightsensor_microp.c:187: undefined reference to `microp_i2c_write'
/home/gnychis/Documents/android/cm-kernel/drivers/input/misc/cm3602_lightsensor_microp.c:189: undefined reference to `microp_write_interrupt'
drivers/built-in.o: In function `ls_enable_show':
/home/gnychis/Documents/android/cm-kernel/drivers/input/misc/cm3602_lightsensor_microp.c:396: undefined reference to `microp_i2c_read'
drivers/built-in.o: In function `get_ls_adc_level':
/home/gnychis/Documents/android/cm-kernel/drivers/input/misc/cm3602_lightsensor_microp.c:129: undefined reference to `microp_read_adc'
drivers/built-in.o: In function `lightsensor_probe':
/home/gnychis/Documents/android/cm-kernel/drivers/input/misc/cm3602_lightsensor_microp.c:522: undefined reference to `get_microp_client'
drivers/built-in.o: In function `curcial_oj_register_read':
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:115: undefined reference to `microp_i2c_write'
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:116: undefined reference to `microp_i2c_read'
drivers/built-in.o: In function `curcial_oj_polling_mode':
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:135: undefined reference to `microp_i2c_write'
drivers/built-in.o: In function `curcial_oj_early_suspend':
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:592: undefined reference to `microp_spi_vote_enable'
drivers/built-in.o: In function `curcial_oj_init':
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:151: undefined reference to `microp_i2c_read'
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:165: undefined reference to `microp_spi_vote_enable'
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:172: undefined reference to `microp_i2c_write'
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:199: undefined reference to `microp_i2c_write'
drivers/built-in.o: In function `curcial_oj_late_resume':
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:603: undefined reference to `microp_spi_vote_enable'
drivers/built-in.o: In function `curcial_oj_burst_read':
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:126: undefined reference to `microp_i2c_write'
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:127: undefined reference to `microp_i2c_read'
drivers/built-in.o: In function `HTC_update_ov8810_lsc_registers':
/home/gnychis/Documents/android/cm-kernel/drivers/media/video/msm/ov8810.c:1535: undefined reference to `get_cam_awb_cal'
drivers/built-in.o: In function `curcial_oj_probe':
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:691: undefined reference to `microp_spi_vote_enable'
drivers/built-in.o: In function `curcial_oj_remove':
/home/gnychis/Documents/android/cm-kernel/drivers/input/opticaljoystick/curcial.c:721: undefined reference to `microp_spi_vote_enable'
make: *** [.tmp_vmlinux1] Error 1
Has anyone seen these errors and/or know how to resolve them?
I encountered the same problem
Code:
LD .tmp_vmlinux1
arch/arm/mach-msm/built-in.o: In function `parse_tag_msm_partition':
/root/android/kernel/cm-kernel/arch/arm/mach-msm/nand_partitions.c:126: undefined reference to `msm_nand_data'
arch/arm/mach-msm/built-in.o: In function `sapphire_map_io':
/root/android/kernel/cm-kernel/arch/arm/mach-msm/board-sapphire.c:1282: undefined reference to `msm_num_clocks_7x01a'
/root/android/kernel/cm-kernel/arch/arm/mach-msm/board-sapphire.c:1282: undefined reference to `msm_clocks_7x01a'
arch/arm/mach-msm/built-in.o: In function `sapphire_init':
/root/android/kernel/cm-kernel/arch/arm/mach-msm/board-sapphire.c:1186: undefined reference to `msm_device_uart3'
/root/android/kernel/cm-kernel/arch/arm/mach-msm/board-sapphire.c:1186: undefined reference to `msm_device_uart_dm1'
arch/arm/mach-msm/built-in.o: In function `sapphire_init_panel':
/root/android/kernel/cm-kernel/arch/arm/mach-msm/board-sapphire-panel.c:1268: undefined reference to `msm_device_mdp'
/root/android/kernel/cm-kernel/arch/arm/mach-msm/board-sapphire-panel.c:1268: undefined reference to `msm_device_mddi0'
arch/arm/mach-msm/built-in.o: In function `sapphire_init_mmc':
/root/android/kernel/cm-kernel/arch/arm/mach-msm/board-sapphire-mmc.c:352: undefined reference to `msm_add_sdcc'
/root/android/kernel/cm-kernel/arch/arm/mach-msm/board-sapphire-mmc.c:355: undefined reference to `msm_add_sdcc'
arch/arm/mach-msm/built-in.o: In function `msm_add_usb_devices':
/root/android/kernel/cm-kernel/arch/arm/mach-msm/devices_htc.c:206: undefined reference to `msm_device_hsusb'
arch/arm/mach-msm/built-in.o:(.init.data+0xb0): undefined reference to `msm_device_smd'
arch/arm/mach-msm/built-in.o:(.init.data+0xb4): undefined reference to `msm_device_nand'
arch/arm/mach-msm/built-in.o:(.init.data+0xb8): undefined reference to `msm_device_i2c'
arch/arm/mach-msm/built-in.o:(.init.data+0xbc): undefined reference to `msm_device_uart1'
arch/arm/mach-msm/built-in.o:(.init.data+0xc0): undefined reference to `msm_device_uart_dm1'
drivers/built-in.o: In function `upload_ls_table':
/root/android/kernel/cm-kernel/drivers/input/misc/cm3602_lightsensor_microp.c:111: undefined reference to `microp_i2c_write'
drivers/built-in.o: In function `ls_microp_intr_enable':
/root/android/kernel/cm-kernel/drivers/input/misc/cm3602_lightsensor_microp.c:187: undefined reference to `microp_i2c_write'
/root/android/kernel/cm-kernel/drivers/input/misc/cm3602_lightsensor_microp.c:189: undefined reference to `microp_write_interrupt'
drivers/built-in.o: In function `ls_enable_show':
/root/android/kernel/cm-kernel/drivers/input/misc/cm3602_lightsensor_microp.c:396: undefined reference to `microp_i2c_read'
drivers/built-in.o: In function `get_ls_adc_level':
/root/android/kernel/cm-kernel/drivers/input/misc/cm3602_lightsensor_microp.c:129: undefined reference to `microp_read_adc'
drivers/built-in.o: In function `lightsensor_probe':
/root/android/kernel/cm-kernel/drivers/input/misc/cm3602_lightsensor_microp.c:522: undefined reference to `get_microp_client'
drivers/built-in.o: In function `curcial_oj_register_read':
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:115: undefined reference to `microp_i2c_write'
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:116: undefined reference to `microp_i2c_read'
drivers/built-in.o: In function `curcial_oj_polling_mode':
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:135: undefined reference to `microp_i2c_write'
drivers/built-in.o: In function `curcial_oj_early_suspend':
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:592: undefined reference to `microp_spi_vote_enable'
drivers/built-in.o: In function `curcial_oj_init':
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:151: undefined reference to `microp_i2c_read'
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:165: undefined reference to `microp_spi_vote_enable'
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:172: undefined reference to `microp_i2c_write'
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:199: undefined reference to `microp_i2c_write'
drivers/built-in.o: In function `curcial_oj_late_resume':
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:603: undefined reference to `microp_spi_vote_enable'
drivers/built-in.o: In function `curcial_oj_burst_read':
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:126: undefined reference to `microp_i2c_write'
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:127: undefined reference to `microp_i2c_read'
drivers/built-in.o: In function `curcial_oj_remove':
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:721: undefined reference to `microp_spi_vote_enable'
drivers/built-in.o: In function `curcial_oj_probe':
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:691: undefined reference to `microp_spi_vote_enable'
make: *** [.tmp_vmlinux1] error 1
Try a different branch like android-msm-2.6.35.
edit: Might want to do a make clean when switching branches (I'm not sure if you have to do this, maybe someone else can comment on this).
Man! its a full house when a ROM is released. The most important thing in a rom been up for awhile and get no traffic ?lol Anyways, the CM7.1 v2.3.7 kernel/2.6.37.6 with shade" name on it.
Guys know where I can find a DL link? just the kernel, already searched the site and no luck from here and CM site.
presidentccj said:
I encountered the same problem
Code:
LD .tmp_vmlinux1
...
/root/android/kernel/cm-kernel/drivers/input/opticaljoystick/curcial.c:691: undefined reference to `microp_spi_vote_enable'
make: *** [.tmp_vmlinux1] error 1
Click to expand...
Click to collapse
btw what for "/drivers/input/opticaljoystick/" ... on android device ? do you really need this driver. If Not just kick off this driver during make menuconfig.

problem with librpc.so while compile AOSP 2.2

Hello, I was compiling the sources of Android platform 2.2 for the HTC Desire.
After extract the files (./extract-files.sh) I follow the steps:
Code:
source build/envsetup.h
lunch full_bravo-eng
make otapackage
But after 20 minutes I got the following error:
Code:
# make otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.2.1
TARGET_PRODUCT=htc_bravo
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=MASTER
============================================
No private recovery resources for TARGET_DEVICE bravo
Install: out/target/product/bravo/system/app/Mms.apk
target Executable: app_process (out/target/product/bravo/obj/EXECUTABLES/app_process_intermediates/LINKED/app_process)
/root/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/../lib/gcc/arm-eabi/4.4.0/../../../../arm-eabi/bin/ld: warning: librpc.so, needed by out/target/product/bravo/obj/lib/libgps.so, not found (try using -rpath or -rpath-link)
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xprt_register'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `clnt_create'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_quad_t'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_char'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_opaque'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_long'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_u_long'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_bool'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_u_int'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svcerr_systemerr'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_short'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `clnt_call'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_enum'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_free'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_u_char'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svc_freeargs'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_u_short'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svc_getargs'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_string'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_pointer'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_bytes'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_vector'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svcerr_noproc'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svc_sendreply'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svcerr_decode'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_array'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svcrtr_create'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_void'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `clnt_destroy'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_u_quad_t'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `xdr_int'
out/target/product/bravo/obj/lib/libgps.so: undefined reference to `svc_register'
collect2: ld returned 1 exit status
make: *** [out/target/product/bravo/obj/EXECUTABLES/app_process_intermediates/LINKED/app_process] Error 1
As far I know the problem is with the librpc.so and the libgps.so, there are some steps previous to compile that I have to do?
Some workaround?
Thanks in advance,
suppose librpc is missing from the Mk's, can add it under bravo.mk for instance under
PRODUCT_PACKAGES += \
bla bla \
etc \
librpc
Click to expand...
Click to collapse
Thanks for your response,
So I only has to add librpc to the file bravo.mk?
or specify a path to some file as well?
Thanks again!
Enviado desde mi Nexus One usando Tapatalk

[Q] Compile kernel for Nexus One but got errors

I am using kernel source code from:
android.googlesource.com/kernel/msm.git
branch:
android-msm-2.6.35
tried to compile with google's toolchain on a 32bit Ubuntu
here are the errors:
Code:
...
LD init/built-in.o
LD .tmp_vmlinux1
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function parse_tag_msm_partition:nand_partitions.c(.init.text+0xbcc): error: undefined reference to 'msm_nand_data'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function sapphire_init:board-sapphire.c(.init.text+0x1b20): error: undefined reference to 'msm_device_uart3'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function sapphire_init:board-sapphire.c(.init.text+0x1b38): error: undefined reference to 'msm_device_uart_dm1'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function sapphire_map_io:board-sapphire.c(.init.text+0x1bc4): error: undefined reference to 'msm_clocks_7x01a'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function sapphire_map_io:board-sapphire.c(.init.text+0x1bc8): error: undefined reference to 'msm_num_clocks_7x01a'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function sapphire_init_panel:htc_headset.c(.init.text+0x1ec0): error: undefined reference to 'msm_device_mdp'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function sapphire_init_panel:htc_headset.c(.init.text+0x1ec8): error: undefined reference to 'msm_device_mddi0'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function sapphire_init_mmc:htc_headset.c(.init.text+0x2054): error: undefined reference to 'msm_add_sdcc'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function sapphire_init_mmc:htc_headset.c(.init.text+0x2074): error: undefined reference to 'msm_add_sdcc'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function msm_add_usb_devices:htc_headset.c(.init.text+0x24d0): error: undefined reference to 'msm_device_hsusb'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function devices:board-sapphire.c(.init.data+0xa0): error: undefined reference to 'msm_device_smd'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function devices:board-sapphire.c(.init.data+0xa4): error: undefined reference to 'msm_device_nand'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function devices:board-sapphire.c(.init.data+0xa8): error: undefined reference to 'msm_device_i2c'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function devices:board-sapphire.c(.init.data+0xac): error: undefined reference to 'msm_device_uart1'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: arch/arm/mach-msm/built-in.o: in function devices:board-sapphire.c(.init.data+0xb0): error: undefined reference to 'msm_device_uart_dm1'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: drivers/built-in.o: in function msm_i2c_recover_bus_busy:i2c-msm.c(.text+0x70868): error: undefined reference to 'msm_set_i2c_mux'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: drivers/built-in.o: in function msm_i2c_recover_bus_busy:i2c-msm.c(.text+0x70a40): error: undefined reference to 'msm_set_i2c_mux'
/home/zhangxiao/downloads/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-ld: drivers/built-in.o: in function msm_i2c_probe:i2c-msm.c(.text+0x70fec): error: undefined reference to 'msm_set_i2c_mux'
make: *** [.tmp_vmlinux1] Error 1
Does anyone know how to solve this problem...?

Building AOSP 4.2 for the Epic 4G Touch

Okay, I have some errors in the build. I thought I could fix them by pulling the .so it can't build from another device, and when I do that, it deletes it and tries to rebuild it.
target SharedLib: libOMX.SEC.AVC.Decoder (out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Decoder_intermediates/LINKED/libOMX.SEC.AVC.Decoder.so)
target SharedLib: libOMX.SEC.AVC.Encoder (out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Encoder_intermediates/LINKED/libOMX.SEC.AVC.Encoder.so)
target SharedLib: libOMX.SEC.M4V.Decoder (out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Decoder_intermediates/LINKED/libOMX.SEC.M4V.Decoder.so)
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Decoder_intermediates/SEC_OMX_Mpeg4dec.o: in function SEC_MFC_Mpeg4_Decode_Nonblock:hardware/samsung/exynos/multimedia/openmax/component/video/dec/mpeg4/SEC_OMX_Mpeg4dec.c:1462: error: undefined reference to 'SEC_OSAL_UnlockANB'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Decoder_intermediates/SEC_OMX_Mpeg4dec.o: in function SEC_MFC_Mpeg4_Decode_Nonblock:hardware/samsung/exynos/multimedia/openmax/component/video/dec/mpeg4/SEC_OMX_Mpeg4dec.c:1386: error: undefined reference to 'SEC_OSAL_LockANB'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Decoder_intermediates/SEC_OMX_Mpeg4dec.o: in function SEC_MFC_Mpeg4_Decode_Block:hardware/samsung/exynos/multimedia/openmax/component/video/dec/mpeg4/SEC_OMX_Mpeg4dec.c:1655: error: undefined reference to 'SEC_OSAL_LockANB'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Decoder_intermediates/SEC_OMX_Mpeg4dec.o: in function SEC_MFC_Mpeg4_Decode_Block:hardware/samsung/exynos/multimedia/openmax/component/video/dec/mpeg4/SEC_OMX_Mpeg4dec.c:1732: error: undefined reference to 'SEC_OSAL_UnlockANB'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/STATIC_LIBRARIES/libSEC_OMX_Vdec_intermediates/libSEC_OMX_Vdec.a(SEC_OMX_Vdec.o): in function SEC_OMX_VideoDecodeGetParameter:hardware/samsung/exynos/multimedia/openmax/component/video/dec/SEC_OMX_Vdec.c:1087: error: undefined reference to 'SEC_OSAL_GetANBParameter'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/STATIC_LIBRARIES/libSEC_OMX_Vdec_intermediates/libSEC_OMX_Vdec.a(SEC_OMX_Vdec.o): in function SEC_OMX_VideoDecodeSetParameter:hardware/samsung/exynos/multimedia/openmax/component/video/dec/SEC_OMX_Vdec.c:1173: error: undefined reference to 'SEC_OSAL_SetANBParameter'
collect2: ld returned 1 exit status
make: *** [out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.M4V.Decoder_intermediates/LINKED/libOMX.SEC.M4V.Decoder.so] Error 1
make: *** Waiting for unfinished jobs....
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Decoder_intermediates/SEC_OMX_H264dec.o: in function SEC_MFC_H264_Decode_Nonblock:hardware/samsung/exynos/multimedia/openmax/component/video/dec/h264/SEC_OMX_H264dec.c:1467: error: undefined reference to 'SEC_OSAL_UnlockANB'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Decoder_intermediates/SEC_OMX_H264dec.o: in function SEC_MFC_H264_Decode_Nonblock:hardware/samsung/exynos/multimedia/openmax/component/video/dec/h264/SEC_OMX_H264dec.c:1373: error: undefined reference to 'SEC_OSAL_LockANB'
/home/thenameisnigel/aosp/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Decoder_intermediates/SEC_OMX_H264dec.o: in function SEC_MFC_H264_Decode_Block:hardware/samsung/exynos/multimedia/openmax//component/video/dec/homeh264//thenameisnigelSEC_OMX_H264dec.c/:aosp1681/rebuilts /errorgcc:/ linuxundefined- x86reference/ armto/ arm'-SEC_OSAL_LockANBlinux'-
androideabi/-home4.6//thenameisnigelbin//aosp./.prebuilts//libgcc//gcclinux/-armx86-/linuxarm-/androideabiarm/-4.6.xlinux--googleandroideabi/-.4.6.//bin./../../.lib//.gcc.//armarm--linuxlinux--androideabiandroideabi//4.6.xbin-/googleld/:. .out//.target.//product./.d710//.obj.//STATIC_LIBRARIESarm/-libSEC_OMX_Venc_intermediateslinux/-libSEC_OMX_Venc.aandroideabi(/SEC_OMX_Venc.obin)/:ld :in outfunction/ targetSEC_Preprocessor_InputData/roducthardware//d710samsung//objexynos//SHARED_LIBRARIESmultimedia//libOMX.SEC.AVC.Decoder_intermediatesopenmax//SEC_OMX_H264dec.ocomponent:/ videoin/ encfunction/ SEC_OMX_Venc.cSEC_MFC_H264_Decode_Block::805hardware:/ samsungerror/:exynos /undefinedmultimedia /referenceopenmax /tocomponent /'videoSEC_OSAL_GetInfoFromMetaData/'dec
//h264home//SEC_OMX_H264dec.cthenameisnigel:/1758aosp:/ prebuiltserror/:gcc /undefinedlinux -referencex86 /toarm /'armSEC_OSAL_UnlockANB-'linux
-/androideabihome-/4.6thenameisnigel//binaosp//.prebuilts.//gcclib//linuxgcc-/x86arm/-armlinux/-armandroideabi-/linux4.6.x--androideabigoogle-/4.6./.bin//....//.lib.//gcc./.arm/-armlinux--linuxandroideabi-/androideabi4.6.x/-bingoogle//ld.:. /out./.target//.product.//d710./.obj//armSTATIC_LIBRARIES-/linuxlibSEC_OMX_Venc_intermediates-/androideabilibSEC_OMX_Venc.a/(binSEC_OMX_Venc.o/)ld:: inout /functiontarget /SEC_Preprocessor_InputDataproduct:/hardwared710//samsungobj//exynosSTATIC_LIBRARIES//multimedialibSEC_OMX_Vdec_intermediates//openmaxlibSEC_OMX_Vdec.a/(componentSEC_OMX_Vdec.o/)video:/ encin/ SEC_OMX_Venc.cfunction: 806SEC_OMX_VideoDecodeGetParameter:: hardwareerror/:samsung /undefinedexynos /referencemultimedia /toopenmax /'componentSEC_OSAL_LockANBHandle/'video
//dechome//SEC_OMX_Vdec.cthenameisnigel:/1087aosp:/ prebuiltserror/:gcc /undefinedlinux -referencex86 /toarm /'armSEC_OSAL_GetANBParameter-'linux
-/androideabihome-/4.6thenameisnigel//binaosp//.prebuilts.//gcclib//linuxgcc-/x86arm/-armlinux/-armandroideabi-/linux4.6.x--androideabigoogle-/4.6./.bin//....//.lib.//gcc./.arm/-armlinux--linuxandroideabi-/androideabi4.6.x/-bingoogle//ld.:. /out./.target//.product.//d710./.obj//armSTATIC_LIBRARIES-/linuxlibSEC_OMX_Venc_intermediates-/androideabilibSEC_OMX_Venc.a/(binSEC_OMX_Venc.o/)ld:: inout /functiontarget /SEC_Preprocessor_InputDataproduct:/hardwared710//samsungobj//exynosSTATIC_LIBRARIES//multimedialibSEC_OMX_Vdec_intermediates//openmaxlibSEC_OMX_Vdec.a/(componentSEC_OMX_Vdec.o/)video:/ encin/ SEC_OMX_Venc.cfunction: 812SEC_OMX_VideoDecodeSetParameter:: hardwareerror/:samsung /undefinedexynos /referencemultimedia /toopenmax /'componentSEC_OSAL_UnlockANBHandle/'video
//dechome//SEC_OMX_Vdec.cthenameisnigel:/1173aosp:/ prebuiltserror/:gcc /undefinedlinux -referencex86 /toarm /'armSEC_OSAL_SetANBParameter-'linux
-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/collect2: ../..ld returned 1 exit status/
../../arm-linux-androideabi/bin/ld: out/target/product/d710/obj/STATIC_LIBRARIES/libSEC_OMX_Venc_intermediates/libSEC_OMX_Venc.a(SEC_OMX_Venc.o): in function SEC_OMX_VideoEncodeSetParameter:hardware/samsung/exynos/multimedia/openmax/component/video/enc/SEC_OMX_Venc.c:1408: error: undefined reference to 'SEC_OSAL_SetANBParameter'
make: *** [out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Decoder_intermediates/LINKED/libOMX.SEC.AVC.Decoder.so] Error 1
collect2: ld returned 1 exit status
make: *** [out/target/product/d710/obj/SHARED_LIBRARIES/libOMX.SEC.AVC.Encoder_intermediates/LINKED/libOMX.SEC.AVC.Encoder.so] Error 1
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
aapt: warning: string 'gsm_alphabet_default_charset' has no default translation in frameworks/base/core/res/res; found: ko
[email protected]:~/aosp$
Please help. :|
Bump.
Bump.
Sent from my SPH-D710 using Tapatalk 2
Looks like no ones home!
You probably need ./extract-files.sh
Not sure what you mean by pulling a .so off of "another device". If anything you will need to pull some proprietary repos from CM or the other AOSP alpha builds on top of AOSP source repos. Then, you need to run the extract-files.sh from there while an E4GT is hooked up to pull the .so from a working device.
For CM, you need to pull those files from a phone that is already running CM (kind of a chicken and the egg deal)
FWIW, the kernel from AOSP could be built, maybe, by just finding the right vendor setup and building the kernel. Then again, it may fail horribly. But, what I can say is that you need a whole other bunch of repos to build any flavor or Android for the E4GT.

[DEV] Kernel 3.4 - WIP

I am working on kernel 3.4.39 for bravo/bravoc.
Currently lots needs to be done, but its almost compiling.
TODO: board files, mdp/kgsl, yaffs2, pm, memory, mmc, drivers (list not made yet), possible more.
Hopes: Vsync, ION, make it boot
If anyone would like to help please PM or pull request and join irc (not set up yet).
https://github.com/croniccorey/WIP-8x50
@Shaky156 Thanks for setting up the thread.
Last kmesg / Current build errors
Code:
Currently not compiling:
yaffs2_vfs
pm
memory
Code:
Errors compiling memory.c:
CC arch/arm/mach-msm/memory.o
In file included from arch/arm/mach-msm/include/mach/msm_memtypes.h:36:0,
from arch/arm/mach-msm/memory.c:29:
arch/arm/mach-msm/include/mach/memory.h:21:0: warning: "PHYS_OFFSET" redefined [enabled by default]
#define PHYS_OFFSET UL(CONFIG_PHYS_OFFSET)
^
In file included from /home/croniccorey/DEV/KERNEL/WIP-8x50/arch/arm/include/asm/page.h:170:0,
from include/linux/mmzone.h:20,
from include/linux/gfp.h:4,
from include/linux/mm.h:8,
from arch/arm/mach-msm/memory.c:17:
/home/croniccorey/DEV/KERNEL/WIP-8x50/arch/arm/include/asm/memory.h:161:0: note: this is the location of the previous definition
#define PHYS_OFFSET __pv_phys_offset
^
In file included from arch/arm/mach-msm/memory.c:39:0:
arch/arm/include/generated/../../mm/mm.h: In function 'set_top_pte':
arch/arm/include/generated/../../mm/mm.h:23:2: error: implicit declaration of function 'local_flush_tlb_kernel_page' [-Werror=implicit-function-declaration]
local_flush_tlb_kernel_page(va);
^
In file included from include/linux/mm.h:44:0,
from arch/arm/mach-msm/memory.c:17:
arch/arm/include/generated/../../mm/mm.h: In function 'pmd_off_k':
/home/croniccorey/DEV/KERNEL/WIP-8x50/arch/arm/include/asm/pgtable.h:163:40: error: 'init_mm' undeclared (first use in this function)
#define pgd_offset_k(addr) pgd_offset(&init_mm, addr)
^
/home/croniccorey/DEV/KERNEL/WIP-8x50/arch/arm/include/asm/pgtable.h:160:32: note: in definition of macro 'pgd_offset'
#define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr))
^
arch/arm/include/generated/../../mm/mm.h:34:31: note: in expansion of macro 'pgd_offset_k'
return pmd_offset(pud_offset(pgd_offset_k(virt), virt), virt);
^
/home/croniccorey/DEV/KERNEL/WIP-8x50/arch/arm/include/asm/pgtable.h:163:40: note: each undeclared identifier is reported only once for each function it appears in
#define pgd_offset_k(addr) pgd_offset(&init_mm, addr)
^
/home/croniccorey/DEV/KERNEL/WIP-8x50/arch/arm/include/asm/pgtable.h:160:32: note: in definition of macro 'pgd_offset'
#define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr))
^
arch/arm/include/generated/../../mm/mm.h:34:31: note: in expansion of macro 'pgd_offset_k'
return pmd_offset(pud_offset(pgd_offset_k(virt), virt), virt);
^
arch/arm/mach-msm/memory.c: In function 'arch_io_remap_pfn_range':
arch/arm/mach-msm/memory.c:46:3: error: implicit declaration of function 'pgprot_device' [-Werror=implicit-function-declaration]
prot = pgprot_device(prot);
^
arch/arm/mach-msm/memory.c:47:3: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'pgprot_t' [-Wformat=]
pr_debug("remapping device %lx\n", prot);
^
arch/arm/mach-msm/memory.c: In function 'calculate_reserve_limits':
arch/arm/mach-msm/memory.c:240:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'phys_addr_t' [-Wformat=]
pr_warning("unknown memory type for bank at %lx\n",
^
cc1: some warnings being treated as errors
make[1]: *** [arch/arm/mach-msm/memory.o] Error 1
Code:
Errors compiling pm.c:
CC arch/arm/mach-msm/pm.o
arch/arm/mach-msm/pm.c: In function 'msm_sleep':
arch/arm/mach-msm/pm.c:357:2: error: implicit declaration of function 'clk_enter_sleep' [-Werror=implicit-function-declaration]
clk_enter_sleep(from_idle);
^
arch/arm/mach-msm/pm.c:437:7: error: implicit declaration of function 'vfp_flush_context' [-Werror=implicit-function-declaration]
vfp_flush_context();
^
arch/arm/mach-msm/pm.c:450:9: error: implicit declaration of function 'vfp_reinit' [-Werror=implicit-function-declaration]
vfp_reinit();
^
arch/arm/mach-msm/pm.c:524:2: error: implicit declaration of function 'clk_exit_sleep' [-Werror=implicit-function-declaration]
clk_exit_sleep();
^
arch/arm/mach-msm/pm.c: In function 'arch_idle':
arch/arm/mach-msm/pm.c:554:3: error: implicit declaration of function 'has_wake_lock' [-Werror=implicit-function-declaration]
!has_wake_lock(WAKE_LOCK_IDLE) &&
^
arch/arm/mach-msm/pm.c: In function 'msm_pm_init':
arch/arm/mach-msm/pm.c:864:17: warning: assignment from incompatible pointer type [enabled by default]
arm_pm_restart = msm_pm_restart;
^
cc1: some warnings being treated as errors
make[1]: *** [arch/arm/mach-msm/pm.o] Error 1
Code:
Current errors at end of compile:
LD vmlinux
arch/arm/mach-msm/built-in.o:smd.c:function handle_modem_crash: error: undefined reference to 'msm_pm_flush_console'
arch/arm/mach-msm/built-in.o:htc_power_supply.c:function dock_get_edge: error: undefined reference to 'msm_read_fast_timer'
arch/arm/mach-msm/built-in.o:htc_power_supply.c:function dock_command_retry: error: undefined reference to 'msm_enable_fast_timer'
arch/arm/mach-msm/built-in.o:htc_power_supply.c:function dock_command_retry: error: undefined reference to 'msm_read_fast_timer'
arch/arm/mach-msm/built-in.o:htc_power_supply.c:function dock_command_retry: error: undefined reference to 'msm_read_fast_timer'
arch/arm/mach-msm/built-in.o:htc_power_supply.c:function dock_command_retry: error: undefined reference to 'msm_read_fast_timer'
arch/arm/mach-msm/built-in.o:htc_power_supply.c:function dock_command_retry: error: undefined reference to 'msm_disable_fast_timer'
arch/arm/mach-msm/built-in.o:msm_q6vdec.c:function vdec_close.isra.5: error: undefined reference to 'put_pmem_file'
arch/arm/mach-msm/built-in.o:msm_q6vdec.c:function vdec_ioctl: error: undefined reference to 'get_pmem_file'
arch/arm/mach-msm/built-in.o:msm_q6vdec.c:function vdec_ioctl: error: undefined reference to 'put_pmem_file'
arch/arm/mach-msm/built-in.o:msm_q6venc.c:function q6venc_release: error: undefined reference to 'put_pmem_file'
arch/arm/mach-msm/built-in.o:msm_q6venc.c:function venc_q6_callback: error: undefined reference to 'put_pmem_file'
arch/arm/mach-msm/built-in.o:msm_q6venc.c:function venc_add_pmem_to_list: error: undefined reference to 'get_pmem_file'
arch/arm/mach-msm/built-in.o:socinfo.c:function socinfo_create_files.constprop.9: error: undefined reference to 'sysdev_create_file'
arch/arm/mach-msm/built-in.o:socinfo.c:function socinfo_init_sysdev: error: undefined reference to 'sysdev_class_register'
arch/arm/mach-msm/built-in.o:socinfo.c:function socinfo_init_sysdev: error: undefined reference to 'sysdev_register'
arch/arm/mach-msm/built-in.o:nand_partitions.c:function parse_tag_msm_partition: error: undefined reference to 'msm_nand_data'
arch/arm/mach-msm/built-in.o:dsp_debug.c:function bravo_init_panel: error: undefined reference to 'msm_device_mdp'
arch/arm/mach-msm/built-in.o:board-bravo.c:function bravo_init: error: undefined reference to 'msm_device_uart_dm1'
arch/arm/mach-msm/built-in.o:board-bravo.c:function msm_uart_dm1_pdata: error: undefined reference to 'bcm_bt_lpm_exit_lpm_locked'
arch/arm/mach-msm/built-in.o:board-bravo.c:function devices: error: undefined reference to 'msm_device_uart1'
arch/arm/mach-msm/built-in.o:board-bravo.c:function devices: error: undefined reference to 'msm_device_uart_dm1'
arch/arm/mach-msm/built-in.o:board-bravo.c:function devices: error: undefined reference to 'msm_device_nand'
arch/arm/mach-msm/built-in.o:board-bravo.c:function devices: error: undefined reference to 'msm_device_i2c'
drivers/built-in.o:ds2784_battery.c:function ds2784_program_alarm: error: undefined reference to 'alarm_start_range'
drivers/built-in.o:ds2784_battery.c:function ds2784_battery_probe: error: undefined reference to 'alarm_get_elapsed_realtime'
drivers/built-in.o:ds2784_battery.c:function ds2784_battery_work: error: undefined reference to 'alarm_get_elapsed_realtime'
net/built-in.o:activity_stats.c:function wiphy_rfkill_start_polling: error: undefined reference to 'rfkill_resume_polling'
make: *** [vmlinux] Error 1
New OP
Maybe this sounds stupid, but it gives "msm" errors, and Desire is not a msm device..
Sent from my HTC Desire HD using xda app-developers app
TheRinseM said:
Maybe this sounfs stupid, but it gives "msm" errors, and Desire is not a msm device..
Sent from my HTC Desire HD using xda app-developers app
Click to expand...
Click to collapse
They are probably porting the kernel from a msm device, like the Nexus 4.
abaaaabbbb63 said:
They are probably porting the rom from a msm device, like the Nexus 4.
Click to expand...
Click to collapse
Mate Andoo, This is not a ROM, it's kernel 3.4
Hope you guys bring ION with it.
TheRinseM said:
Mate Andoo, This is not a ROM, it's kernel 3.4
Hope you guys bring ION with it.
Click to expand...
Click to collapse
Oops.. I meant kernel Wrote rom from reflex
Yeah they all use msm. MSM is right and should be there.

Categories

Resources