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...?
Related
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.
arch/arm/mach-msm/built-in.o: In function `parse_tag_msm_partition':
/home/wang/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_init':
/home/wang/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_map_io':
/home/wang/cm-kernel/arch/arm/mach-msm/board-sapphire.c:1282: undefined reference to `msm_num_clocks_7x01a'
/home/wang/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_panel':
/home/wang/cm-kernel/arch/arm/mach-msm/board-sapphire-panel.c:1268: undefined reference to `msm_device_mdp'
/home/wang/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':
/home/wang/cm-kernel/arch/arm/mach-msm/board-sapphire-mmc.c:352: undefined reference to `msm_add_sdcc'
/home/wang/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':
/home/wang/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+0xa0): undefined reference to `msm_device_smd'
arch/arm/mach-msm/built-in.o.init.data+0xa4): undefined reference to `msm_device_nand'
arch/arm/mach-msm/built-in.o.init.data+0xa8): undefined reference to `msm_device_i2c'
arch/arm/mach-msm/built-in.o.init.data+0xac): undefined reference to `msm_device_uart1'
arch/arm/mach-msm/built-in.o.init.data+0xb0): undefined reference to `msm_device_uart3'
arch/arm/mach-msm/built-in.o.init.data+0xb4): undefined reference to `msm_device_uart_dm1'
drivers/built-in.o: In function `msm_i2c_recover_bus_busy':
/home/wang/cm-kernel/drivers/i2c/busses/i2c-msm.c:276: undefined reference to `msm_set_i2c_mux'
/home/wang/cm-kernel/drivers/i2c/busses/i2c-msm.c:314: undefined reference to `msm_set_i2c_mux'
drivers/built-in.o: In function `msm_i2c_probe':
/home/wang/cm-kernel/drivers/i2c/busses/i2c-msm.c:492: undefined reference to `msm_set_i2c_mux'
that‘s my building error!!!!!!!
i am a new one . who can help me? ,please thanks!
i am waiting for help!!!!!!!!1
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
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.
# Problem
The kernel compiles fine with the initial settings in `shamu_defconfig`, however when I set `CONFIG_MODULES=y` compilation fails with the errors shown below.
# Setup
- Repository: android.googlesource.com/kernel/msm
- Branch: android-msm-shamu-3.10-nougat-mr1.7
- Cross compiler: android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8
- Host system: Linux 5.5.6-arch1-1
# Steps to reproduce
1. Clone the kernel repository and checkout the correct branch.
2. Download the cross compiler.
3. Edit `arch/arm/configs/shamu_defconfig` to add `CONFIG_MODULES=y` at the end of the file.
4. Set environment variables:
```
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=/path/to/arm-eabi-4.8/bin/arm-eabi-
```
5. `make shamu_defconfig`
6. `make`
# Error messages
```
drivers/built-in.o: In function `qcedev_open':
/home/jjk/Documents/master/RET/no_sync/kernel/drivers/crypto/msm/qcedev.c:285: undefined reference to `g_fips140_status'
drivers/built-in.o: In function `qcedev_probe':
/home/jjk/Documents/master/RET/no_sync/kernel/drivers/crypto/msm/qcedev.c:2041: undefined reference to `g_fips140_status'
drivers/built-in.o: In function `qcedev_ioctl':
/home/jjk/Documents/master/RET/no_sync/kernel/drivers/crypto/msm/qcedev.c:1907: undefined reference to `_do_msm_fips_drbg_init'
/home/jjk/Documents/master/RET/no_sync/kernel/drivers/crypto/msm/qcedev.c:1938: undefined reference to `g_fips140_status'
/home/jjk/Documents/master/RET/no_sync/kernel/drivers/crypto/msm/qcedev.c:1938: undefined reference to `drbg_call_back'
drivers/built-in.o: In function `_qcrypto_ahash_cra_init':
/home/jjk/Documents/master/RET/no_sync/kernel/drivers/crypto/msm/qcrypto.c:745: undefined reference to `g_fips140_status'
drivers/built-in.o: In function `_qcrypto_cipher_cra_init':
/home/jjk/Documents/master/RET/no_sync/kernel/drivers/crypto/msm/qcrypto.c:715: undefined reference to `g_fips140_status'
drivers/built-in.o: In function `_qcrypto_probe':
/home/jjk/Documents/master/RET/no_sync/kernel/drivers/crypto/msm/qcrypto.c:4665: undefined reference to `g_fips140_status'
net/built-in.o: In function `nf_tproxy_get_sock_v6':
/home/jjk/Documents/master/RET/no_sync/kernel/include/net/netfilter/nf_tproxy_core.h:177: undefined reference to `udp6_lib_lookup'
/home/jjk/Documents/master/RET/no_sync/kernel/include/net/netfilter/nf_tproxy_core.h:177: undefined reference to `udp6_lib_lookup'
/home/jjk/Documents/master/RET/no_sync/kernel/include/net/netfilter/nf_tproxy_core.h:177: undefined reference to `udp6_lib_lookup'
/home/jjk/Documents/master/RET/no_sync/kernel/include/net/netfilter/nf_tproxy_core.h:177: undefined reference to `udp6_lib_lookup'
net/built-in.o: In function `tcp_is_local6':
/home/jjk/Documents/master/RET/no_sync/kernel/net/ipv4/tcp.c:3554: undefined reference to `rt6_lookup'
net/built-in.o: In function `tcp_nuke_addr':
/home/jjk/Documents/master/RET/no_sync/kernel/net/ipv4/tcp.c:3645: undefined reference to `in6addr_any'
net/built-in.o: In function `tproxy_tg_init':
/home/jjk/Documents/master/RET/no_sync/kernel/net/netfilter/xt_TPROXY.c:415: undefined reference to `nf_defrag_ipv6_enable'
net/built-in.o: In function `socket_mt_init':
/home/jjk/Documents/master/RET/no_sync/kernel/net/netfilter/xt_socket.c:388: undefined reference to `nf_defrag_ipv6_enable'
make: *** [Makefile:785: vmlinux] Error 1
```
Try enable it via Menuconfig.
Thanks a lot, doing the following solved the issue:
1. make defconfig
2. make menuconfig, then select the module loading and save and exit.
3. make