problem with librpc.so while compile AOSP 2.2 - Desire Android Development

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

suppose librpc is missing from the Mk's, can add it under bravo.mk for instance under
PRODUCT_PACKAGES += \
bla bla \
etc \
librpc
Click to expand...
Click to collapse

Thanks for your response,
So I only has to add librpc to the file bravo.mk?
or specify a path to some file as well?
Thanks again!
Enviado desde mi Nexus One usando Tapatalk

Related

trouble building cyanogen-mod kernel

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

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

[Q] Building Kernel from cm-kernel error

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

[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

Nexus 6 kernel won't compile with CONFIG_MODULES=y

# 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

Categories

Resources