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.
Related
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.
I have been working with one other person to build liquid smooth for the Samsung vibrant. The device is no longer supported so we have worked our way through all the errors that should have appeared with an unsupported device. This so the error I'm getting noe when the build is almost finished. My friend literally just resynced and built it without this error so I need some help as he has not seen this error. I'm using Ubuntu 13.10 java jdk 6 and this is the error
target Dex: Gallery2
target Dex: Contacts
target Dex: Dialer
target Dex: Launcher3
collect2: error: ld returned 1 exit status
make: *** [/home/skinzy98/liquid/out/target/product/vibrantmtd/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1
make: *** Waiting for unfinished jobs....
Sent from my Nexus 4 using xda app-developers app
Just a comment my friend seems to think it could be something with my build environment but he's not sure. Any help?
Sent from my Nexus 4 using xda app-developers app
skinzy98 said:
I have been working with one other person to build liquid smooth for the Samsung vibrant. The device is no longer supported so we have worked our way through all the errors that should have appeared with an unsupported device. This so the error I'm getting noe when the build is almost finished. My friend literally just resynced and built it without this error so I need some help as he has not seen this error. I'm using Ubuntu 13.10 java jdk 6 and this is the error
target Dex: Gallery2
target Dex: Contacts
target Dex: Dialer
target Dex: Launcher3
collect2: error: ld returned 1 exit status
make: *** [/home/skinzy98/liquid/out/target/product/vibrantmtd/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1
make: *** Waiting for unfinished jobs....
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I also have this error, did you find a solution to share it? I am compiling for Galaxy Ace 3 LTE
kostoulhs said:
I also have this error, did you find a solution to share it? I am compiling for Galaxy Ace 3 LTE
Click to expand...
Click to collapse
I'm pretty sure that all of a sudden the error went away after I repo synced after a couple days. It seems to be something they were changing. If not try installing a different java. I think 6 not 7
clean installs are love. clean installs are life
skinzy98 said:
I'm pretty sure that all of a sudden the error went away after I repo synced after a couple days. It seems to be something they were changing. If not try installing a different java. I think 6 not 7
clean installs are love. clean installs are life
Click to expand...
Click to collapse
i have oracle JDK 6 somewhere i read that you should change branches to framework/base from kitkat3 to kitkat2
I didn't have to use that I think I changed to javasun maybe. I searched that error also and I believe overstack had something about it
clean installs are love. clean installs are life
Normally, that error means you don't had sufficient RAM
marcomarinho said:
Normally, that error means you don't had sufficient RAM
Click to expand...
Click to collapse
:/ 15GB ram not enough?
kirito9 said:
:/ 15GB ram not enough?
Click to expand...
Click to collapse
Yes, but there're other processes running on your PC xD do a clean build and see if worked.
marcomarinho said:
Yes, but there're other processes running on your PC xD do a clean build and see if worked.
Click to expand...
Click to collapse
Hmm, I usually get this error in cm11 but when compiling in cm12. There's no error. I already did make clean and same error, did a repo sync, still same error. Not really sure what is the problem. I had this before lol and I solved it but I don't remember what I did.
kirito9 said:
Hmm, I usually get this error in cm11 but when compiling in cm12. There's no error. I already did make clean and same error, did a repo sync, still same error. Not really sure what is the problem. I had this before lol and I solved it but I don't remember what I did.
Click to expand...
Click to collapse
Post here the log
marcomarinho said:
Post here the log
Click to expand...
Click to collapse
http://pastebin.com/d22irFJs
or
Code:
target Executable: busybox (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/busybox_intermediates/LINKED/busybox)
target Executable: e2fsck (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/e2fsck_intermediates/LINKED/e2fsck)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libext2fs.so
target Executable: mke2fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/mke2fs_intermediates/LINKED/mke2fs)
target Executable: tune2fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/tune2fs_intermediates/LINKED/tune2fs)
target SharedLib: libcorkscrew (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/SHARED_LIBRARIES/libcorkscrew_intermediates/LINKED/libcorkscrew.so)
target SharedLib: libusbhost (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/SHARED_LIBRARIES/libusbhost_intermediates/LINKED/libusbhost.so)
target Symbolic: libjpeg (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/lib/libjpeg.so)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libft2.so
target Symbolic: libminadbd (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/lib/libminadbd.so)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libtar.so
target Symbolic: toolbox_recovery (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/recovery/root/sbin/toolbox)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libext4_utils.so
target Symbolic: libaosprecovery (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/lib/libaosprecovery.so)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/openaes
target Executable: make_ext4fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/make_ext4fs_intermediates/LINKED/make_ext4fs)
target Symbolic: reboot (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/bin/reboot)
target Symbolic: dump_image (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/recovery/root/sbin/dump_image)
target Symbolic: erase_image (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/recovery/root/sbin/erase_image)
target Symbolic: flash_image (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/recovery/root/sbin/flash_image)
target Symbolic: e2fsck (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/bin/e2fsck)
target Symbolic: mke2fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/bin/mke2fs)
target Symbolic: tune2fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/bin/tune2fs)
target Symbolic: libcorkscrew (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/lib/libcorkscrew.so)
target Symbolic: libusbhost (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/lib/libusbhost.so)
target Strip: libjpeg (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/lib/libjpeg.so)
target Strip: libminadbd (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/lib/libminadbd.so)
target Strip: toolbox_recovery (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/toolbox_recovery_intermediates/toolbox)
target Strip: libaosprecovery (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/lib/libaosprecovery.so)
target Symbolic: make_ext4fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/symbols/system/bin/make_ext4fs)
target Strip: reboot (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/reboot_intermediates/reboot)
target Strip: dump_image (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/RECOVERY_EXECUTABLES/dump_image_intermediates/dump_image)
target Strip: erase_image (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/RECOVERY_EXECUTABLES/erase_image_intermediates/erase_image)
target Strip: flash_image (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/RECOVERY_EXECUTABLES/flash_image_intermediates/flash_image)
target Strip: e2fsck (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/e2fsck_intermediates/e2fsck)
target Strip: mke2fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/mke2fs_intermediates/mke2fs)
target Strip: tune2fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/tune2fs_intermediates/tune2fs)
target Strip: libcorkscrew (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/lib/libcorkscrew.so)
target Strip: libusbhost (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/lib/libusbhost.so)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libjpeg.so
target SharedLib: libminuitwrp (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/SHARED_LIBRARIES/libminuitwrp_intermediates/LINKED/libminuitwrp.so)
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libminadbd.so
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/toolbox
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/lib/libaosprecovery.so
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/system/bin/reboot
target Strip: make_ext4fs (/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/EXECUTABLES/make_ext4fs_intermediates/make_ext4fs)
Symlink: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/start -> toolbox
Symlink: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/stop -> toolbox
Symlink: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/getprop -> toolbox
Symlink: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/setprop -> toolbox
Symlink: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/load_policy -> toolbox
system/core/include/utils/SortedVector.h:161: error: undefined reference to 'android::VectorImpl::finish_vector()'
system/core/include/utils/SortedVector.h:161: error: undefined reference to 'android::SortedVectorImpl::~SortedVectorImpl()'
system/core/include/utils/SortedVector.h:161: error: undefined reference to 'android::VectorImpl::finish_vector()'
system/core/include/utils/SortedVector.h:161: error: undefined reference to 'android::SortedVectorImpl::~SortedVectorImpl()'
system/core/include/utils/Vector.h:240: error: undefined reference to 'android::VectorImpl::finish_vector()'
system/core/include/utils/Vector.h:240: error: undefined reference to 'android::VectorImpl::~VectorImpl()'
system/core/include/utils/Vector.h:338: error: undefined reference to 'android::VectorImpl::add(void const*)'
system/core/include/utils/SortedVector.h:207: error: undefined reference to 'android::SortedVectorImpl::add(void const*)'
system/core/include/utils/SortedVector.h:212: error: undefined reference to 'android::SortedVectorImpl::indexOf(void const*) const'
system/core/include/utils/SortedVector.h:212: error: undefined reference to 'android::SortedVectorImpl::indexOf(void const*) const'
system/core/include/utils/SortedVector.h:212: error: undefined reference to 'android::SortedVectorImpl::indexOf(void const*) const'
system/core/include/utils/Vector.h:338: error: undefined reference to 'android::VectorImpl::add(void const*)'
system/core/include/utils/Vector.h:68: error: undefined reference to 'android::VectorImpl::clear()'
system/core/include/utils/SortedVector.h:58: error: undefined reference to 'android::VectorImpl::clear()'
system/core/include/utils/SortedVector.h:58: error: undefined reference to 'android::VectorImpl::clear()'
system/core/include/utils/SortedVector.h:58: error: undefined reference to 'android::VectorImpl::clear()'
system/core/include/utils/SortedVector.h:207: error: undefined reference to 'android::SortedVectorImpl::add(void const*)'
system/core/include/utils/SortedVector.h:207: error: undefined reference to 'android::SortedVectorImpl::add(void const*)'
system/core/include/utils/SortedVector.h:150: error: undefined reference to 'android::SortedVectorImpl::SortedVectorImpl(unsigned int, unsigned int)'
system/core/include/utils/SortedVector.h:150: error: undefined reference to 'android::SortedVectorImpl::SortedVectorImpl(unsigned int, unsigned int)'
system/core/include/utils/Vector.h:224: error: undefined reference to 'android::VectorImpl::VectorImpl(unsigned int, unsigned int)'
system/core/include/utils/SortedVector.h:161: error: undefined reference to 'android::VectorImpl::finish_vector()'
system/core/include/utils/SortedVector.h:161: error: undefined reference to 'android::SortedVectorImpl::~SortedVectorImpl()'
system/core/include/utils/SortedVector.h:212: error: undefined reference to 'android::SortedVectorImpl::indexOf(void const*) const'
system/core/include/utils/SortedVector.h:150: error: undefined reference to 'android::SortedVectorImpl::SortedVectorImpl(unsigned int, unsigned int)'
system/core/include/utils/SortedVector.h:237: error: undefined reference to 'android::VectorImpl::removeItemsAt(unsigned int, unsigned int)'
system/core/include/utils/SortedVector.h:207: error: undefined reference to 'android::SortedVectorImpl::add(void const*)'
collect2: error: ld returned 1 exit status
Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/erase_image
make: *** [/home/kirito9/cm11/out/target/product/yaris_m_gsm/obj/SHARED_LIBRARIES/libminuitwrp_intermediates/LINKED/libminuitwrp.so] Error 1
make: Install: /home/kirito9/cm11/out/target/product/yaris_m_gsm/recovery/root/sbin/dump_image
*** Waiting for unfinished jobs....
kirito9 said:
http://pastebin.com/d22irFJs
Click to expand...
Click to collapse
That's a different error .. You have errors in system/core. Are you using system/core from cm11 repo or from another source?
marcomarinho said:
That's a different error .. You have errors in system/core. Are you using system/core from cm11 repo or from another source?
Click to expand...
Click to collapse
I'm using from cm11 sources. They're the latest sources. On my PC, I'm using compressed sources of cm11 which weren't probably updated. Btw This gave me a clue. I remembered what I did haha. I just remembered I have to revert some commits. Thanks man .
I have to revert this.
kirito9 said:
I'm using from cm11 sources. They're the latest sources. On my PC, I'm using compressed sources of cm11 which weren't probably updated. Btw This gave me a clue. I remembered what I did haha. I just remembered I have to revert some commits. Thanks man .
I have to revert this.
Click to expand...
Click to collapse
Eheheh no problem. I'm glad you've solved the problem!! :highfive:
I keep getting kernel compilation error when trying to compile CM kernel from sources.
Code:
/tmp/cc0DKVco.s: Assembler messages:
/tmp/cc0DKVco.s:172: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc0DKVco.s:199: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
CC arch/arm/mach-msm/smd_private.o
CC arch/arm/mach-msm/smem.o
CC arch/arm/kernel/pmu.o
CC kernel/resource.o
CC arch/arm/kernel/perf_event.o
CC arch/arm/mach-msm/smd_init_dt.o
CC kernel/sysctl.o
arch/arm/mach-msm/smd_init_dt.c:24:25: fatal error: smd_private.h: No such file or directory
#include <smd_private.h>
^
compilation terminated.
make[1]: *** [arch/arm/mach-msm/smd_init_dt.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
No mods or tweaks has been added, just compiling with A7 optimized (linaro) toolchain on Ubuntu 13.10. I'm pretty sure I have installed all the necessary files and set-up the build environment. I'm new to this so could a dev help me?
bu,p
Same for me, where is the problem? can anyone help?
here is my output:
Code:
arch/arm/mach-msm/smd_init_dt.c:24:25: error: smd_private.h: No such file or directory
arch/arm/mach-msm/smd_init_dt.c: In function 'msm_smsm_probe':
arch/arm/mach-msm/smd_init_dt.c:66: error: 'disable_smsm_reset_handshake' undeclared (first use in this function)
arch/arm/mach-msm/smd_init_dt.c:66: error: (Each undeclared identifier is reported only once
arch/arm/mach-msm/smd_init_dt.c:66: error: for each function it appears in.)
arch/arm/mach-msm/smd_init_dt.c:88: error: 'msm_smd_debug_mask' undeclared (first use in this function)
arch/arm/mach-msm/smd_init_dt.c:88: error: 'MSM_SMSM_DEBUG' undeclared (first use in this function)
arch/arm/mach-msm/smd_init_dt.c:88: error: 'smd_log_ctx' undeclared (first use in this function)
arch/arm/mach-msm/smd_init_dt.c:114: error: implicit declaration of function 'smd_get_intr_config'
arch/arm/mach-msm/smd_init_dt.c:114: warning: assignment makes pointer from integer without a cast
error, forbidden warning: smd_init_dt.c:114
make[1]: *** [arch/arm/mach-msm/smd_init_dt.o] Errore 1
make: *** [arch/arm/mach-msm] Errore 2
make: *** Attesa per i processi non terminati....
CC arch/arm/kernel/pmu.o
LD arch/arm/perfmon/built-in.o
CC arch/arm/kernel/perf_event.o
arch/arm/kernel/bootinfo.c: In function 'bootinfo_bck_buf_check':
arch/arm/kernel/bootinfo.c:277: warning: integer constant is too large for 'long' type
error, forbidden warning: bootinfo.c:277
EDIT: I solved the smd_privae.h not found simply by copying it from mach-msm into mach-msm/include/mach and replacing
Code:
#include <smd_private.h>
with
Code:
#include <mach/smd_private.h>
But i still have this problem: in bootinfo.c the value BOOTINFO_BCK_MAGIC (defined as #define BOOTINFO_BCK_MAGIC 0x626f6f74696e666f) is an integer costant which is too large for 'long' type (at line 277 in the expression if (bck->magic != BOOTINFO_BCK_MAGIC))
Any help?
EDIT2: solved it thanks to google and stackoverflow, just replace 0x626F6F74696E666F with 0x626F6F74696E666FULL (where ULL = Unsigned Long Long, not sure about the meaning, still a complete noob at C++ (not even sure it is C++) :silly:
Hello!
I am quite new to this comunity. I am trying to build my own Cyanogenmod 12.1 for the Samsung p5100.
I always get stuck with the following error:
Code:
target Executable: pvrsrvinit (/home/user/Development/Cyanogenmod/android/system/out/target/product/p5100/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit)
/home/user/Development/Cyanogenmod/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsrv_init_SGX540_120
/home/user/Development/Cyanogenmod/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsrv_um_SGX540_120
hardware/ti/omap4/pvrsrvinit/pvrsrvinit.c:8: error: undefined reference to 'SrvInit'
collect2: error: ld returned 1 exit status
make: *** [/home/user/Development/Cyanogenmod/android/system/out/target/product/p5100/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/user/Development/Cyanogenmod/android/system'
I would have liked to post this Question in the right forum but i am not allowed to unless i have 10 posts. So i am doing it here.
I have searched the forums already but i didnt find any answer that worked for me.
Any help would be greatly appreciated!
THX!
Are there any solutions?
I run into the same problem.
Code:
.../android/cm-12.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsrv_init_SGX540_120
.../android/cm-12.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsrv_um_SGX540_120
hardware/ti/omap4/pvrsrvinit/pvrsrvinit.c:8: error: undefined reference to 'SrvInit'
collect2: error: ld returned 1 exit status
make: *** [.../android/cm-12.1/out/target/product/p5100/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit] Fehler 1
jameson777 said:
Hello!
I am quite new to this comunity. I am trying to build my own Cyanogenmod 12.1 for the Samsung p5100.
I always get stuck with the following error:
Code:
target Executable: pvrsrvinit (/home/user/Development/Cyanogenmod/android/system/out/target/product/p5100/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit)
/home/user/Development/Cyanogenmod/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsrv_init_SGX540_120
/home/user/Development/Cyanogenmod/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsrv_um_SGX540_120
hardware/ti/omap4/pvrsrvinit/pvrsrvinit.c:8: error: undefined reference to 'SrvInit'
collect2: error: ld returned 1 exit status
make: *** [/home/user/Development/Cyanogenmod/android/system/out/target/product/p5100/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/home/user/Development/Cyanogenmod/android/system'
I would have liked to post this Question in the right forum but i am not allowed to unless i have 10 posts. So i am doing it here.
I have searched the forums already but i didnt find any answer that worked for me.
Any help would be greatly appreciated!
THX!
Click to expand...
Click to collapse
I found a solution.
add
Code:
<project name="CyanogenMod/android_device_samsung_omap4-common" path="device/samsung/omap4-common" remote="github" revision="refs/heads/cm-12.1" />
to
Code:
roomservice.xml
and then run
Code:
./extract-files.sh
with your device connected. The proprietary blobs will be downloaded and the error is gone.
OldSparky said:
I found a solution.
add
Code:
<project name="CyanogenMod/android_device_samsung_omap4-common" path="device/samsung/omap4-common" remote="github" revision="refs/heads/cm-12.1" />
to
Code:
roomservice.xml
and then run
Code:
./extract-files.sh
with your device connected. The proprietary blobs will be downloaded and the error is gone.
Click to expand...
Click to collapse
I'm trying to build a maguro 12.1 image and this didn't work. The build is still dying on:
Code:
target Strip: ping (/Cyanogenmod/out/target/product/maguro/obj/EXECUTABLES/ping_intermediates/ping)
target Executable: ping6 (/Cyanogenmod/out/target/product/maguro/obj/EXECUTABLES/ping6_intermediates/LINKED/ping6)
target Executable: pngtest (/Cyanogenmod/out/target/product/maguro/obj/EXECUTABLES/pngtest_intermediates/LINKED/pngtest)
target Executable: pvrsrvinit (/Cyanogenmod/out/target/product/maguro/obj/EXECUTABLES/pvrsrvinit_intermediates/LINKED/pvrsrvinit)
target Strip: librilutils (/Cyanogenmod/out/target/product/maguro/obj/lib/librilutils.so)
/Cyanogenmod/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsrv_init_SGX540_120
/Cyanogenmod/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lsrv_um_SGX540_120
hardware/ti/omap4/pvrsrvinit/pvrsrvinit.c:8: error: undefined reference to 'SrvInit'
Im pretty late but have the same issue have any of you guys x0ra , jameson777, OldSparky be able to fix it?
When I try to compile CM12 for Galaxy Mini 2, I always get this Error:
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp:1064: error: undefined reference to 'android::MEDIA_MIMETYPE_AUDIO_EVRC'
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp:2136: error: undefined reference to 'android::FMA2DPWriter::FMA2DPWriter()'
frameworks/av/media/libmediaplayerservice/StagefrightRecorder.cpp:2159: error: undefined reference to 'android::ExtendedWriter::ExtendedWriter(int)'
collect2: error: ld returned 1 exit status
build/core/shared_library_internal.mk:68: recipe for target '/home/simo/Bureau/cm12/out/target/product/jena/obj/SHARED_LIBRARIES/libmediaplayerservice_intermediates/LINKED/libmediaplayerservice.so' failed
make: *** [/home/simo/Bureau/cm12/out/target/product/jena/obj/SHARED_LIBRARIES/libmediaplayerservice_intermediates/LINKED/libmediaplayerservice.so] Error 1
real 92m12.781s
user 16m3.820s
sys 1m38.248s
What does it mean? Can somebody help me?
Thanks[emoji2]
Sent from my SM-G930F using XDA-Developers mobile app