[DEV] Kernel 3.4 - WIP - Desire Android Development

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.

Related

[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...?

[SOLVED] Help with building jellybean aokp from source.

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

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.

AOSP 2.3.7 compilation error

Please help. I am getting the error when i compile 2.3.7 from source for my p500
Code:
In file included from device/lge/p500/libaudio/AudioHardware.cpp:36:
frameworks/base/include/media/AudioRecord.h:145: error: expected unqualified-id before numeric constant
frameworks/base/include/media/AudioRecord.h:145: error: expected '}' before numeric constant
frameworks/base/include/media/AudioRecord.h:145: error: expected unqualified-id before numeric constant
frameworks/base/include/media/AudioRecord.h:150: error: expected unqualified-id before 'int'
frameworks/base/include/media/AudioRecord.h:150: error: expected ')' before 'int'
frameworks/base/include/media/AudioRecord.h:165: error: expected constructor, destructor, or type conversion before ';' token
frameworks/base/include/media/AudioRecord.h:182: error: 'callback_t' has not been declared
frameworks/base/include/media/AudioRecord.h:194: error: non-member function 'android::status_t android::initCheck()' cannot have cv-qualifier
frameworks/base/include/media/AudioRecord.h:200: error: non-member function 'uint32_t android::latency()' cannot have cv-qualifier
frameworks/base/include/media/AudioRecord.h:204: error: non-member function 'int android::format()' cannot have cv-qualifier
frameworks/base/include/media/AudioRecord.h:205: error: non-member function 'int android::channelCount()' cannot have cv-qualifier
frameworks/base/include/media/AudioRecord.h:206: error: non-member function 'int android::channels()' cannot have cv-qualifier
frameworks/base/include/media/AudioRecord.h:207: error: non-member function 'uint32_t android::frameCount()' cannot have cv-qualifier
frameworks/base/include/media/AudioRecord.h:208: error: non-member function 'int android::frameSize()' cannot have cv-qualifier
frameworks/base/include/media/AudioRecord.h:209: error: non-member function 'int android::inputSource()' cannot have cv-qualifier
frameworks/base/include/media/AudioRecord.h:222: error: non-member function 'bool android::stopped()' cannot have cv-qualifier
frameworks/base/include/media/AudioRecord.h:313: error: 'Buffer' was not declared in this scope
frameworks/base/include/media/AudioRecord.h:313: error: 'audioBuffer' was not declared in this scope
frameworks/base/include/media/AudioRecord.h:313: error: expected primary-expression before 'waitCount'
frameworks/base/include/media/AudioRecord.h:313: error: initializer expression list treated as compound expression
frameworks/base/include/media/AudioRecord.h:314: error: variable or field 'releaseBuffer' declared void
frameworks/base/include/media/AudioRecord.h:314: error: 'Buffer' was not declared in this scope
frameworks/base/include/media/AudioRecord.h:314: error: 'audioBuffer' was not declared in this scope
In file included from device/lge/p500/libaudio/AudioHardware.cpp:36:
frameworks/base/include/media/AudioRecord.h:329: error: expected unqualified-id before 'private'
frameworks/base/include/media/AudioRecord.h:332: error: 'android::AudioRecord& android::operator=(const android::AudioRecord&)' must be a nonstatic member function
frameworks/base/include/media/AudioRecord.h:373: error: 'callback_t' does not name a type
frameworks/base/include/media/AudioRecord.h:387: error: expected declaration before '}' token
make: *** [out/target/product/p500/obj/SHARED_LIBRARIES/libaudio_intermediates/AudioHardware.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/aosp$
Please help

Problems building cm 11

Hi,
I don't know if this question belongs here, so mods feel free to move it to a more appropriate place.
I tried to build cm11 from source to help testing, but it ran into an error with libril which I don't know how to fix.
I followed the instructions given here: https://github.com/M2Dev/local_manifest
but after brunch runs a while it spits out the following error:
Code:
device/sony/qcom-common/libril/ril.cpp:149:33: warning: 'rild' initialized and declared 'extern' [enabled by default]
In file included from device/sony/qcom-common/libril/ril.cpp:274:0:
device/sony/qcom-common/libril/ril_commands.h:138:6: error: 'RIL_REQUEST_SIM_TRANSMIT_BASIC' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:139:6: error: 'RIL_REQUEST_SIM_OPEN_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:140:6: error: 'RIL_REQUEST_SIM_CLOSE_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:141:6: error: 'RIL_REQUEST_SIM_TRANSMIT_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:142:6: error: 'RIL_REQUEST_SIM_GET_ATR' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp: In function 'void android::dispatchSIM_IO(android::Parcel&, android::RequestInfo*)':
device/sony/qcom-common/libril/ril.cpp:782:14: error: 'struct RIL_SIM_IO_v6' has no member named 'cla'
device/sony/qcom-common/libril/ril.cpp:783:35: error: 'RIL_REQUEST_SIM_TRANSMIT_BASIC' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:784:40: error: 'RIL_REQUEST_SIM_TRANSMIT_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:786:18: error: 'struct RIL_SIM_IO_v6' has no member named 'cla'
device/sony/qcom-common/libril/ril.cpp: In function 'int android::responseGetDataCallProfile(android::Parcel&, void*, size_t)':
device/sony/qcom-common/libril/ril.cpp:3014:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/sony/qcom-common/libril/ril.cpp: In function 'const char* android::requestToString(int)':
device/sony/qcom-common/libril/ril.cpp:4064:14: error: 'RIL_REQUEST_SIM_TRANSMIT_BASIC' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4065:14: error: 'RIL_REQUEST_SIM_OPEN_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4066:14: error: 'RIL_REQUEST_SIM_CLOSE_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4067:14: error: 'RIL_REQUEST_SIM_TRANSMIT_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4068:14: error: 'RIL_REQUEST_SIM_GET_ATR' was not declared in this scope
build/core/binary.mk:432: recipe for target '/data/build/cm11/out/target/product/eagle/obj/SHARED_LIBRARIES/libril_intermediates/ril.o' failed
make: *** [/data/build/cm11/out/target/product/eagle/obj/SHARED_LIBRARIES/libril_intermediates/ril.o] Error 1
So what did I do wrong?
sudden36 said:
Hi,
I don't know if this question belongs here, so mods feel free to move it to a more appropriate place.
I tried to build cm11 from source to help testing, but it ran into an error with libril which I don't know how to fix.
I followed the instructions given here: https://github.com/M2Dev/local_manifest
but after brunch runs a while it spits out the following error:
Code:
device/sony/qcom-common/libril/ril.cpp:149:33: warning: 'rild' initialized and declared 'extern' [enabled by default]
In file included from device/sony/qcom-common/libril/ril.cpp:274:0:
device/sony/qcom-common/libril/ril_commands.h:138:6: error: 'RIL_REQUEST_SIM_TRANSMIT_BASIC' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:139:6: error: 'RIL_REQUEST_SIM_OPEN_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:140:6: error: 'RIL_REQUEST_SIM_CLOSE_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:141:6: error: 'RIL_REQUEST_SIM_TRANSMIT_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril_commands.h:142:6: error: 'RIL_REQUEST_SIM_GET_ATR' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp: In function 'void android::dispatchSIM_IO(android::Parcel&, android::RequestInfo*)':
device/sony/qcom-common/libril/ril.cpp:782:14: error: 'struct RIL_SIM_IO_v6' has no member named 'cla'
device/sony/qcom-common/libril/ril.cpp:783:35: error: 'RIL_REQUEST_SIM_TRANSMIT_BASIC' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:784:40: error: 'RIL_REQUEST_SIM_TRANSMIT_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:786:18: error: 'struct RIL_SIM_IO_v6' has no member named 'cla'
device/sony/qcom-common/libril/ril.cpp: In function 'int android::responseGetDataCallProfile(android::Parcel&, void*, size_t)':
device/sony/qcom-common/libril/ril.cpp:3014:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
device/sony/qcom-common/libril/ril.cpp: In function 'const char* android::requestToString(int)':
device/sony/qcom-common/libril/ril.cpp:4064:14: error: 'RIL_REQUEST_SIM_TRANSMIT_BASIC' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4065:14: error: 'RIL_REQUEST_SIM_OPEN_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4066:14: error: 'RIL_REQUEST_SIM_CLOSE_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4067:14: error: 'RIL_REQUEST_SIM_TRANSMIT_CHANNEL' was not declared in this scope
device/sony/qcom-common/libril/ril.cpp:4068:14: error: 'RIL_REQUEST_SIM_GET_ATR' was not declared in this scope
build/core/binary.mk:432: recipe for target '/data/build/cm11/out/target/product/eagle/obj/SHARED_LIBRARIES/libril_intermediates/ril.o' failed
make: *** [/data/build/cm11/out/target/product/eagle/obj/SHARED_LIBRARIES/libril_intermediates/ril.o] Error 1
So what did I do wrong?
Click to expand...
Click to collapse
@sudden36 did u find the solution?
Yes the proper commands to build are in this post: http://forum.xda-developers.com/showthread.php?p=56341637

Categories

Resources