[KERNEL][kernel-copyleft-14.4.A.0.xxx-backports] - Xperia Z1 Original Android Development

Just a few backports for stock 4.4.4.
Bacports from:
- kernel-copyleft-14.5.A.0.xxx
- kernel_sony_msm8974
- android_kernel_sonyz_msm8974
Features (i remember)
* memutils
* kgsl (kernel-copyleft-14.5.A.0.xxx)
* Kexec hardboot (needs testing!)
Sources:
https://github.com/threader/kernel-copyleft-14.4.A.0.xxx-backports
Requires unloced bootloader naturally, would be thankfull if someone could test it with multirom.
I have some questions to other developers, im having a hard time with Multirom, i simply cannot get the recovery partition booting so i can inject multirom, must i relock my bootloader or something?

Try it
threader said:
Just a few backports for stock 4.4.4.
Bacports from:
- kernel-copyleft-14.5.A.0.xxx
- kernel_sony_msm8974
- android_kernel_sonyz_msm8974
Features (i remember)
* memutils
* kgsl (kernel-copyleft-14.5.A.0.xxx)
* Kexec hardboot (needs testing!)
Sources:
https://github.com/threader/kernel-copyleft-14.4.A.0.xxx-backports
Requires unloced bootloader naturally, would be thankfull if someone could test it with multirom.
I have some questions to other developers, im having a hard time with Multirom, i simply cannot get the recovery partition booting so i can inject multirom, must i relock my bootloader or something?
Click to expand...
Click to collapse
For multirom working you need unlocked bootloader.
Try to inject multirom directly in your boot.img, there is option in MultiRom TWRP to inject multirom directly to boot.img, and then try to flash kernel with preinjected Multirom
It must work .
Or simply try Trinity Ultimate MultiBoot Kernel, I'm using it, but little bit edited by me, and it's working perfectly
---------- Post added at 04:33 PM ---------- Previous post was at 04:21 PM ----------
I suggest you to port MultiRom TWRP from this kernel, because it work better than others.

Hi ,
Thanks, and nice work on criskelo-multirom. i'll investigate this weekend, still a few things from kernel-copyleft-14.5.A.0.xxx that might be doable.
I could edit the ramdisk directly.
Observed some differences in the the base offset, is it such that one or the other is compatible with multiboot?
Code:
mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --base 0x1dfff00 --cmdline 'androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 msm_rtb.enable=0 lpj=192598 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y' --board 'mrom20150201-00' -o new_boot.img
and i use
Code:
mkbootimg --cmdline "androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x37 ehci-hcd.park=3 lpj=192598 dwc3.maximum_speed=high dwc3_msm.prop_chg_detect=Y vmalloc=400M" --base 0x00000000 --kernel xperia-c6903-z1-source-final-4.4.4-0/arch/arm/boot/zImage --ramdisk boot-xperia-c6903-z1-sony-kernel-0/157/kernel_S1-SW-LIVE-6732-PID1-0005-MMC.elf.ramdisk --ramdisk_offset 0x02000000 -o boot.img --dt dt-0.img --tags_offset 0x01E00000

And thank you
I'm very glad that you found this information useful
---------- Post added at 02:26 PM ---------- Previous post was at 02:14 PM ----------
Trinity Ultimate MultiBoot Kernel use *.cpio compressed z-images for dual recovery and Ramdisk booting.
So I changed CWM Recovery Ramdisk to Philz recovery, I like it more and it have more options and functions.
I ported Philz recovery from [NUT] Kernel.
So all kernels from aroma installer contains same recoveries.
Only MultiBoot Kernel contains Multirom TWRP.

I can confirm it works well with XZDualRecovery by [NUT] http://nut.xperia-files.com/ , also discovered why multirom by Garcia98 - http://forum.xda-developers.com/xperia-z1/orig-development/mod-multirom-v30x-t3006363 - install failed, added did it manually, simply used the installer for XZDualRecovery .
Looking into making a multirom 14.5.A.0.XXX - .270 zip, thats possible, no?

Now I almost always use stock based Rom, but I was looking inside Original Multirom Installer, and like I understand its made for CM Based roms. That's why offline charging screen looks bad. I was trying to fix it, but f(x)THaxxorX made it first, so I used his Perfect Work.
And the MultiRom will work good for any combination of roms, because it only changes partition mounts, so for secondary roms System, Data and Cache are mounted on the same partition mmcblk0p25 (DATA), or other if the rom is installed on SD Card1, I partitioned my Memory card with 3 partitions mmcblk1p1 FAT32(VFAT), mmcblk1p2 Linux Swap(I'm using 1,4 Gb for Swap Ram memory) and mmcblk1p3 EXT4 for secondary roms, all was working good apart the boot and loading speed, because my Class 10 Memory Card is not so fast like Xperia Z1 internal memory
It depends only from the rom and installer stability .

Agreed, especially in this case where there is DRM involved i dont see it as particularly practical reinventing the entire rom, i'll try my hand on a codeurora in time, when im done with the kernels, but i've figured sony has done a very good job here with both the kernel and rom, only thing i would like to maintain is ssl and such.
Read the same thing regarding multirom built against CM, and the problems they had with the CM team not merging the code making development for multirom easy.
Mostly understood multirom now, though i think 5.x changed the partition layout somewhat? I havent had time to put it all together yet, been trying to get a framebuffered console up on 14.4.a.xxx, its just not there, at all... will be trying this https://github.com/xperia-aosp-proj...UX_ANDROID_LA.BF64.1.2.1_RB1.05.00.02.019.067 - though i've read, heard and gathered that a mainline kernel will run on the thing! All thats needed is porting the panel driver to get started.
I've also got a class 10 sdcard, thought these would be as fast or comparable to the internal sd... I just split mine in two, one fat32 and one ext4 with kali. So that'll be my fist target i guess, i just really need a fbconsole
btw, http://www.techworm.net/2015/06/and...announced-for-select-sony-xperia-devices.html
The various Xperia models listed by the Japanese company that will support the Android M Developer Preview includes the Xperia Z3, Xperia Z3 Compact, Xperia Z3 Tablet Compact, Xperia Z2, Xperia Z2 Tablet, Xperia Z1, Xperia Z1 Compact, Xperia Z Ultra, Xperia E3, Xperia M2, Xperia T2 Ultra, and Xperia T3.
Click to expand...
Click to collapse
Edit:
Oooofh... Well, the 3.10.49 kernel on https://github.com/xperia-aosp-proj...UX_ANDROID_LA.BF64.1.2.1_RB1.05.00.02.019.067 seems quite broken for Z1, yet it's used here ... http://forum.xda-developers.com/xpe...-aosp-5-0-alpha-v0-1-lollipop-xperia-t2930638
drivers/built-in.o: In function `mdss_dsi_panel_bklt_pwm':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/video/msm/mdss/mdss_dsi_panel_driver.c:181: undefined reference to `pwm_config_us'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/video/msm/mdss/mdss_dsi_panel_driver.c:159: undefined reference to `pwm_config_us'
drivers/built-in.o: In function `diag_process_apps_pkt':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/char/diag/diagfwd.c:1171: undefined reference to `msm_set_restart_mode'
drivers/built-in.o: In function `diag_dci_process_apps_pkt':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/char/diag/diag_dci.c:1723: undefined reference to `msm_set_restart_mode'
drivers/built-in.o: In function `kgsl_gem_get_glock_handles_ioctl':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/gpu/msm/kgsl_drm.c:947: undefined reference to `genlock_get_fd_handle'
drivers/built-in.o: In function `kgsl_gem_set_glock_handles_ioctl':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/gpu/msm/kgsl_drm.c:976: undefined reference to `genlock_get_handle_fd'
drivers/built-in.o: In function `kgsl_gem_free_memory':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/gpu/msm/kgsl_drm.c:340: undefined reference to `genlock_put_handle'
drivers/built-in.o: In function `pn544_hci_dep_link_down':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:492: undefined reference to `nfc_hci_send_event'
drivers/built-in.o: In function `pn544_hci_event_received':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:756: undefined reference to `nfc_hci_send_event'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:741: undefined reference to `nfc_hci_get_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:746: undefined reference to `nfc_tm_activated'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:772: undefined reference to `nfc_tm_data_received'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:739: undefined reference to `nfc_hci_target_discovered'
drivers/built-in.o: In function `pn544_hci_check_presence':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:706: undefined reference to `nfc_hci_send_cmd'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:716: undefined reference to `nfc_hci_send_cmd'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:698: undefined reference to `nfc_hci_send_cmd'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:710: undefined reference to `nfc_hci_send_cmd'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:713: undefined reference to `nfc_hci_send_cmd'
drivers/built-in.o:/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:540: more undefined references to `nfc_hci_send_cmd' follow
drivers/built-in.o: In function `pn544_hci_complete_target_discovered':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:544: undefined reference to `nfc_hci_get_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:554: undefined reference to `nfc_hci_send_cmd'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:559: undefined reference to `nfc_hci_send_cmd'
drivers/built-in.o: In function `pn544_hci_tm_send':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:684: undefined reference to `nfc_hci_send_event'
drivers/built-in.o: In function `pn544_hci_xmit':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:343: undefined reference to `nfc_hci_get_clientdata'
drivers/built-in.o: In function `pn544_hci_im_transceive':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:618: undefined reference to `nfc_hci_get_clientdata'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:669: undefined reference to `nfc_hci_send_event'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:663: undefined reference to `nfc_hci_send_cmd_async'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:658: undefined reference to `nfc_hci_send_cmd_async'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:643: undefined reference to `nfc_hci_send_cmd_async'
drivers/built-in.o: In function `pn544_hci_dep_link_up':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:466: undefined reference to `nfc_hci_get_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:478: undefined reference to `nfc_set_remote_general_bytes'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:482: undefined reference to `nfc_dep_link_is_up'
drivers/built-in.o: In function `pn544_hci_ready':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:267: undefined reference to `nfc_hci_send_cmd'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:288: undefined reference to `nfc_hci_set_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:294: undefined reference to `nfc_hci_set_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:300: undefined reference to `nfc_hci_set_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:305: undefined reference to `nfc_hci_send_event'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:311: undefined reference to `nfc_hci_set_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:317: undefined reference to `nfc_hci_set_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:322: undefined reference to `nfc_hci_get_param'
drivers/built-in.o: In function `pn544_hci_start_poll':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:362: undefined reference to `nfc_hci_send_event'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:369: undefined reference to `nfc_hci_set_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:375: undefined reference to `nfc_hci_set_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:390: undefined reference to `nfc_hci_set_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:434: undefined reference to `nfc_hci_set_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:439: undefined reference to `nfc_hci_set_param'
drivers/built-in.o:/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:444: more undefined references to `nfc_hci_set_param' follow
drivers/built-in.o: In function `pn544_hci_start_poll':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:450: undefined reference to `nfc_hci_send_event'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:406: undefined reference to `nfc_hci_send_event'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:412: undefined reference to `nfc_hci_set_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:418: undefined reference to `nfc_hci_set_param'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:424: undefined reference to `nfc_hci_send_event'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:428: undefined reference to `nfc_hci_send_event'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:396: undefined reference to `nfc_get_local_general_bytes'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:453: undefined reference to `nfc_hci_send_event'
drivers/built-in.o: In function `pn544_hci_close':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:159: undefined reference to `nfc_hci_get_clientdata'
drivers/built-in.o: In function `pn544_hci_open':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:137: undefined reference to `nfc_hci_get_clientdata'
drivers/built-in.o: In function `pn544_hci_probe':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:839: undefined reference to `nfc_hci_allocate_device'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:849: undefined reference to `nfc_hci_set_clientdata'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:851: undefined reference to `nfc_hci_register_device'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:860: undefined reference to `nfc_hci_free_device'
drivers/built-in.o: In function `pn544_hci_remove':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:872: undefined reference to `nfc_hci_get_clientdata'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:874: undefined reference to `nfc_hci_unregister_device'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/nfc/pn544/pn544.c:875: undefined reference to `nfc_hci_free_device'
drivers/built-in.o: In function `qpnp_pwm_init':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/leds/leds-qpnp.c:2171: undefined reference to `pwm_lut_config'
drivers/built-in.o: In function `qpnp_rgb_set':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/leds/leds-qpnp.c:1743: undefined reference to `pwm_config_us'
drivers/built-in.o: In function `qpnp_mpp_set':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/leds/leds-qpnp.c:912: undefined reference to `pwm_config_us'
drivers/built-in.o: In function `qpnp_kpdbl_set':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/leds/leds-qpnp.c:1666: undefined reference to `pwm_config_us'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/leds/leds-qpnp.c:1600: undefined reference to `pwm_config_us'
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/drivers/leds/leds-qpnp.c:1623: undefined reference to `pwm_config_us'
net/built-in.o: In function `recalc_header':
/home/mike/dev/nix/xperia/unified/kernel-c69xx-3.10/net/netfilter/nf_conntrack_sip.c:232: undefined reference to `__nf_nat_l3proto_find'
Makefile:797: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
Click to expand...
Click to collapse
Edit:
Aah , maybe the official and maintained one will work better. https://github.com/sonyxperiadev/kernel
Update:
Indeed it did compile, adding genlock.c and .h, but crashes somewhere, and did not even have the option for a framebuffered console.. Guess i could try adding a ram console and try debugging that way, though its hideously tedious and upside down way of doing things...
Working on the issue some more it seems that first boot was a oneshot.. It simply doesnt find the DTB, even though i tried zimage-dtb and a dt.img
downloading 'boot.img'...
OKAY [ 0.360s]
booting...
FAILED (remote: dtb not found)
finished. total time: 0.458s

http://fossbytes.com/super-rare-hybrid-nintendo-playstation-found-by-gamer-in-junk/ - hmmm, psxe(?) on gallium and freedreno then?

Related

RK2918 ICS compilation error

Hello guys,
I set up my Ubuntu 10.04 VM, sync repo, setup adb and everything went far till now. I received variours errors like these during make process:
Code:
/root/ICS_SOURCE/external/clang/lib/CodeGen/CodeGenFunction.cpp:156: undefined reference to `clang::CodeGen::CodeGenFunction::PopCleanupBlocks(clang::CodeGen::EHScopeStack::stable_iterator)'
/root/ICS_SOURCE/external/clang/lib/CodeGen/CodeGenFunction.cpp:166: undefined reference to `clang::CodeGen::CGDebugInfo::setLocation(clang::SourceLocation)'
/root/ICS_SOURCE/external/clang/lib/CodeGen/CodeGenFunction.cpp:167: undefined reference to `clang::CodeGen::CGDebugInfo::EmitFunctionEnd(llvm::IRBuilder<false, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<false> >&)'
/root/ICS_SOURCE/external/clang/lib/CodeGen/CodeGenFunction.cpp:170: undefined reference to `clang::CodeGen::CodeGenFunction::EmitFunctionEpilog(clang::CodeGen::CGFunctionInfo const&)'
/root/ICS_SOURCE/external/clang/lib/CodeGen/CodeGenFunction.cpp:171: undefined reference to `clang::CodeGen::CodeGenFunction::EmitEndEHSpec(clang::Decl const*)'
out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/libclangCodeGen.a(CodeGenFunction.o): In function `clang::CodeGen::CodeGenFunction::EmitBranchOnBoolExpr(clang::Expr const*, llvm::BasicBlock*, llvm::BasicBlock*)':
It seems to be related with some CodeGen. I already tried to install some additional libs but it didn't helped at all
Do any of you know where the problem should be? Thx

Why this error happens?{Kernel building}

Device Drivers->USB support->USB Gadget Support->USB Gadget Drivers->Serial Gadget (with CDC ACM and CDC OBEX support) gives error
Code:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK kernel/config_data.h
CC drivers/usb/gadget/serial.o
CHK include/generated/compile.h
CC drivers/usb/usb-common.o
In file included from drivers/usb/gadget/serial.c:45:0:
drivers/usb/gadget/f_acm.c:90:14: error: 'GSERIAL_NO_PORTS' undeclared here (not in a function)
drivers/usb/gadget/f_acm.c:90:3: warning: 'gacm_ports' defined but not used [-Wunused-variable]
drivers/usb/gadget/f_acm.c:102:12: warning: 'acm_port_setup' defined but not used [-Wunused-function]
drivers/usb/gadget/f_acm.c:989:12: warning: 'acm_init_port' defined but not used [-Wunused-function]
In file included from drivers/usb/gadget/serial.c:47:0:
drivers/usb/gadget/f_serial.c:273:12: warning: 'gport_setup' defined but not used [-Wunused-function]
drivers/usb/gadget/f_serial.c:951:12: warning: 'gserial_init_port' defined but not used [-Wunused-function]
make[3]: *** [drivers/usb/gadget/serial.o] Error 1
make[2]: *** [drivers/usb/gadget] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [drivers/usb] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [drivers] Error 2
after adding
Code:
#define GSERIAL_NO_PORTS 3
to drivers/usb/gadget/f_acm.c gives this errors:
Code:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
CC drivers/usb/gadget/serial.o
In file included from drivers/usb/gadget/serial.c:45:0:
drivers/usb/gadget/f_acm.c:104:12: warning: 'acm_port_setup' defined but not used [-Wunused-function]
drivers/usb/gadget/f_acm.c:991:12: warning: 'acm_init_port' defined but not used [-Wunused-function]
In file included from drivers/usb/gadget/serial.c:47:0:
drivers/usb/gadget/f_serial.c:273:12: warning: 'gport_setup' defined but not used [-Wunused-function]
drivers/usb/gadget/f_serial.c:951:12: warning: 'gserial_init_port' defined but not used [-Wunused-function]
LD drivers/usb/gadget/g_serial.o
LD drivers/usb/gadget/built-in.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `gport_disconnect':
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:393: undefined reference to `gsdio_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:396: undefined reference to `gsmd_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:399: undefined reference to `ghsic_ctrl_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:400: undefined reference to `ghsic_data_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:403: undefined reference to `ghsuart_data_disconnect'
drivers/built-in.o: In function `gport_connect':
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:341: undefined reference to `gsdio_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:344: undefined reference to `gsmd_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:347: undefined reference to `ghsic_ctrl_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:353: undefined reference to `ghsic_data_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:357: undefined reference to `ghsic_ctrl_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:362: undefined reference to `ghsuart_data_connect'
drivers/built-in.o: In function `acm_port_disconnect':
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:204: undefined reference to `gsdio_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:207: undefined reference to `gsmd_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:210: undefined reference to `ghsic_ctrl_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:211: undefined reference to `ghsic_data_disconnect'
drivers/built-in.o: In function `acm_port_connect':
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:160: undefined reference to `gsdio_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:163: undefined reference to `gsmd_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:166: undefined reference to `ghsic_ctrl_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:172: undefined reference to `ghsic_data_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:176: undefined reference to `ghsic_ctrl_disconnect'
make: *** [.tmp_vmlinux1] Error 1
Please help)
and source https://github.com/CyanogenMod/android_kernel_sony_apq8064/tree/cm-11.0/drivers/usb/gadget
suleymanovemil8 said:
Device Drivers->USB support->USB Gadget Support->USB Gadget Drivers->Serial Gadget (with CDC ACM and CDC OBEX support) gives error
Code:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK kernel/config_data.h
CC drivers/usb/gadget/serial.o
CHK include/generated/compile.h
CC drivers/usb/usb-common.o
In file included from drivers/usb/gadget/serial.c:45:0:
drivers/usb/gadget/f_acm.c:90:14: error: 'GSERIAL_NO_PORTS' undeclared here (not in a function)
drivers/usb/gadget/f_acm.c:90:3: warning: 'gacm_ports' defined but not used [-Wunused-variable]
drivers/usb/gadget/f_acm.c:102:12: warning: 'acm_port_setup' defined but not used [-Wunused-function]
drivers/usb/gadget/f_acm.c:989:12: warning: 'acm_init_port' defined but not used [-Wunused-function]
In file included from drivers/usb/gadget/serial.c:47:0:
drivers/usb/gadget/f_serial.c:273:12: warning: 'gport_setup' defined but not used [-Wunused-function]
drivers/usb/gadget/f_serial.c:951:12: warning: 'gserial_init_port' defined but not used [-Wunused-function]
make[3]: *** [drivers/usb/gadget/serial.o] Error 1
make[2]: *** [drivers/usb/gadget] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [drivers/usb] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [drivers] Error 2
after adding
Code:
#define GSERIAL_NO_PORTS 3
to drivers/usb/gadget/f_acm.c gives this errors:
Code:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
CC drivers/usb/gadget/serial.o
In file included from drivers/usb/gadget/serial.c:45:0:
drivers/usb/gadget/f_acm.c:104:12: warning: 'acm_port_setup' defined but not used [-Wunused-function]
drivers/usb/gadget/f_acm.c:991:12: warning: 'acm_init_port' defined but not used [-Wunused-function]
In file included from drivers/usb/gadget/serial.c:47:0:
drivers/usb/gadget/f_serial.c:273:12: warning: 'gport_setup' defined but not used [-Wunused-function]
drivers/usb/gadget/f_serial.c:951:12: warning: 'gserial_init_port' defined but not used [-Wunused-function]
LD drivers/usb/gadget/g_serial.o
LD drivers/usb/gadget/built-in.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `gport_disconnect':
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:393: undefined reference to `gsdio_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:396: undefined reference to `gsmd_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:399: undefined reference to `ghsic_ctrl_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:400: undefined reference to `ghsic_data_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:403: undefined reference to `ghsuart_data_disconnect'
drivers/built-in.o: In function `gport_connect':
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:341: undefined reference to `gsdio_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:344: undefined reference to `gsmd_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:347: undefined reference to `ghsic_ctrl_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:353: undefined reference to `ghsic_data_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:357: undefined reference to `ghsic_ctrl_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:362: undefined reference to `ghsuart_data_connect'
drivers/built-in.o: In function `acm_port_disconnect':
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:204: undefined reference to `gsdio_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:207: undefined reference to `gsmd_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:210: undefined reference to `ghsic_ctrl_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:211: undefined reference to `ghsic_data_disconnect'
drivers/built-in.o: In function `acm_port_connect':
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:160: undefined reference to `gsdio_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:163: undefined reference to `gsmd_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:166: undefined reference to `ghsic_ctrl_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:172: undefined reference to `ghsic_data_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:176: undefined reference to `ghsic_ctrl_disconnect'
make: *** [.tmp_vmlinux1] Error 1
Please help)
and source https://github.com/CyanogenMod/android_kernel_sony_apq8064/tree/cm-11.0/drivers/usb/gadget
Click to expand...
Click to collapse
I am having this problem too where you able to solve it?
borillion_star said:
I am having this problem too where you able to solve it?
Click to expand...
Click to collapse
it is still unsolved
suleymanovemil8 said:
Device Drivers->USB support->USB Gadget Support->USB Gadget Drivers->Serial Gadget (with CDC ACM and CDC OBEX support) gives error
Code:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK kernel/config_data.h
CC drivers/usb/gadget/serial.o
CHK include/generated/compile.h
CC drivers/usb/usb-common.o
In file included from drivers/usb/gadget/serial.c:45:0:
drivers/usb/gadget/f_acm.c:90:14: error: 'GSERIAL_NO_PORTS' undeclared here (not in a function)
drivers/usb/gadget/f_acm.c:90:3: warning: 'gacm_ports' defined but not used [-Wunused-variable]
drivers/usb/gadget/f_acm.c:102:12: warning: 'acm_port_setup' defined but not used [-Wunused-function]
drivers/usb/gadget/f_acm.c:989:12: warning: 'acm_init_port' defined but not used [-Wunused-function]
In file included from drivers/usb/gadget/serial.c:47:0:
drivers/usb/gadget/f_serial.c:273:12: warning: 'gport_setup' defined but not used [-Wunused-function]
drivers/usb/gadget/f_serial.c:951:12: warning: 'gserial_init_port' defined but not used [-Wunused-function]
make[3]: *** [drivers/usb/gadget/serial.o] Error 1
make[2]: *** [drivers/usb/gadget] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [drivers/usb] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [drivers] Error 2
after adding
Code:
#define GSERIAL_NO_PORTS 3
to drivers/usb/gadget/f_acm.c gives this errors:
Code:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
CC drivers/usb/gadget/serial.o
In file included from drivers/usb/gadget/serial.c:45:0:
drivers/usb/gadget/f_acm.c:104:12: warning: 'acm_port_setup' defined but not used [-Wunused-function]
drivers/usb/gadget/f_acm.c:991:12: warning: 'acm_init_port' defined but not used [-Wunused-function]
In file included from drivers/usb/gadget/serial.c:47:0:
drivers/usb/gadget/f_serial.c:273:12: warning: 'gport_setup' defined but not used [-Wunused-function]
drivers/usb/gadget/f_serial.c:951:12: warning: 'gserial_init_port' defined but not used [-Wunused-function]
LD drivers/usb/gadget/g_serial.o
LD drivers/usb/gadget/built-in.o
LD drivers/usb/built-in.o
LD drivers/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `gport_disconnect':
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:393: undefined reference to `gsdio_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:396: undefined reference to `gsmd_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:399: undefined reference to `ghsic_ctrl_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:400: undefined reference to `ghsic_data_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:403: undefined reference to `ghsuart_data_disconnect'
drivers/built-in.o: In function `gport_connect':
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:341: undefined reference to `gsdio_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:344: undefined reference to `gsmd_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:347: undefined reference to `ghsic_ctrl_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:353: undefined reference to `ghsic_data_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:357: undefined reference to `ghsic_ctrl_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_serial.c:362: undefined reference to `ghsuart_data_connect'
drivers/built-in.o: In function `acm_port_disconnect':
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:204: undefined reference to `gsdio_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:207: undefined reference to `gsmd_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:210: undefined reference to `ghsic_ctrl_disconnect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:211: undefined reference to `ghsic_data_disconnect'
drivers/built-in.o: In function `acm_port_connect':
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:160: undefined reference to `gsdio_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:163: undefined reference to `gsmd_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:166: undefined reference to `ghsic_ctrl_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:172: undefined reference to `ghsic_data_connect'
/home/emil/odin/kernel/sony/apq8064/drivers/usb/gadget/f_acm.c:176: undefined reference to `ghsic_ctrl_disconnect'
make: *** [.tmp_vmlinux1] Error 1
Please help)
and source https://github.com/CyanogenMod/android_kernel_sony_apq8064/tree/cm-11.0/drivers/usb/gadget
Click to expand...
Click to collapse
You solve it ?

[Q] Kernel Compilation Error for HTC One m8

Im trying to compile a kernel in kali linux using the slimrom kernel source code provided for the htc one m8. I have tried numerous times to solve this error and it is driving me nuts Any help would be greatly appreciated. What could I possibly do to rectify this problem? Im using the latest slim for the htc one m8 with android 4.4.4. Im also using the arm-eabi-4.7 cross compiler.
Kali Linux 64 bit ISO version 1.0.8
Any more information that I might need to give out to assist in finding a solution?
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `video_open':
/root/Kernel/drivers/media/radio/radio-iris.c:5069: undefined reference to `hci_fm_smd_register'
drivers/built-in.o: In function `iris_remove':
/root/Kernel/drivers/media/radio/radio-iris.c:5226: undefined reference to `hci_fm_smd_deregister'
make: *** [.tmp_vmlinux1] Error 1
Click to expand...
Click to collapse

[Q&A] [GUIDE][Lollipop][D855] How to build your own Cyanogenmod 12

Q&A for [GUIDE][Lollipop][D855] How to build your own Cyanogenmod 12
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [GUIDE][Lollipop][D855] How to build your own Cyanogenmod 12. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
manups4e said:
Hi there, since lots of you asked me how to build and how to solve errors, i decided to make this guide to help you.
I use Ubuntu 14.04 x64 since it's best for Lollipop (at least Google say this ).
Now we set the environment (you can copy and paste).
1) First of all install java, it must be openjdk-7 or the building environment will give you error.
In terminal type:
Code:
sudo apt-get update
sudo apt-get install openjdk-7-jdk
After that we must install the essential things
Code:
sudo apt-get install bison g++-multilib git gperf libxml2-utils
You can optionally tell the build to use the ccache compilation tool. Ccache acts as a compiler cache that can be used to speed-up rebuilds. This works very well if you do "make clean" often, or if you frequently switch between different build products.
Put the following in your .bashrc or equivalent.
Code:
export USE_CCACHE=1
In terminal (be sure to be in your home folder typing "cd") type:
Code:
mkdir -p ~/bin
mkdir -p ~/android/system
Enter the following to download the "repo" binary and make it executable (runnable):
Code:
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
2) Now we can download the cyanogenmod sources
In terminal type:
Code:
cd ~/android/system/
repo init -u https://github.com/CyanogenMod/android.git -b cm-12.0
Once you are ready to download lots of Gigabytes of data type
Code:
repo sync
Note: use the --jN option to run multiple downloads (default is 4) example: repo sync -j8 to run 8 parallel downloads.
you can use repo sync everytime you want to sync with latest cyanogenmod changes.
3) Once you have downloaded all the sources available just download our device repos (thanks @sooti):
create a folder called local_manifests under the .repo directory (in system folder), then create an XML file (text file with .xml extension) inside that directory. You can call the XML file anything you like, as long as it ends in .xml and rerun repo sync after you have created the relatives folders.
Put this inside the local_manifest.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/lge/g3-common" name="sooti/android_device_lge_g3-common" remote="github" revision="cm-12.0" />
<project path="device/lge/d855" name="sooti/android_device_lge_d855" remote="github" revision="cm-12.0" />
<project path="kernel/lge/g3" name="sooti/android_kernel_lge_g3" remote="github" revision="cm-12.0" />
<project path="device/qcomm_common" name="cyanogenmod/android_device_qcom_common" remote="github" revision="cm-12.0" />
</manifest>
4) Now we are ready to rock
do theese steps evertime you want to build
First build will take some time so while building you can relax doing other stuff like watch a movie or listen music
Open terminal and type:
Code:
cd android/system
. build/envsetup.sh
breakfast d855
brunch d855
and wait for build to finish
5) Once finished you should have a the update zip into the folder android/system/out/target/product/d855.
I don't know why but right now the zip is unflashable ^^ so now i will tell you how to make it flashable
Read and follow theese instructions carefully.
open the zip and delete everything except the "file_contexts" file
now take system folder and drag&drop it into the zip
take the boot.img and drag&drop it into the zip
download the META-INF zip down the post and copy the inside into the zip.
now you are ready to flash it with the gapps and the superSU Enjoy your personal Cyanogenmod 12
---------------------------------------------
If you liked my guide and found that is useful ^^ make me a little Christmas gift here with a donation ^^ :angel:
Click to expand...
Click to collapse
ciao manu(ti scrivo in italiano visto che siamo connazionali)innanzitutto ti stimo troppo per il lavoro svolto,la tua cm12 va che è una meraviglia,è la mia rom di tutti i giorni da quasi 1 settimana,poi ti volevo chiedere se hai intenzione di fare un video esplicativo per questo procedimento o di affidarlo ai ragazzi di androidblog.it.In ogni caso grazie 1000 del lavoro svolto e continua così'!!:good:
ahahahah grazie ^^ but here i think that for everyone's reading it's better speak english i don't know maybe i will do an explicative video let's see if more people ask for it
I can make on Windows? How?
I tried to build but get the below error, can someone help?
============================================
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
find: `src': No such file or directory
external/sepolicy/Android.mk:56: *** No sepolicy file found for app.te in device/qcom/sepolicy/msm8974. Stop.
Just wanted to say
This looks fantastic. I love custom ROMs and am a big fan of CM, but have never had time to figure out how to build it all myself. This guide looks like a godsend - Thank you!
Shouldn't there be one more
Code:
repo sync
after creating the local_manifests.xml and the related directories ?
do i need sign boot.img with bump?
Does GPU works properly
Just a heads up, I found that I needed to run the following command in order to get it to build on Xubuntu 64-bit
sudo apt-get install lib32z1
I was missing the 32-bit libraries for libpng which are apparently still needed. The error I was getting was: aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
DOUBLE POST - ONLY JUST FOUNF Q&A Thread
Finally got source fixed, repo fixed and now i get this build error.
Any Ideas ????
Install: /home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot
Gyp action: android_webview_android_webview_gyp_android_webvie w_pak_target_repack_android_webview_pack (/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/android_webview_apk/assets/webviewchromium.pak)
acp: partial write to '/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot' (4096 of 8192)
make: *** [/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot] Error 1
make: *** Deleting file `/home/tom/android/system/out/target/product/d855/obj/GYP/shared_intermediates/mksnapshot'
make: *** Waiting for unfinished jobs....
[email protected]:~/android/system$
Hello, I'm trying to build CM12 for F400, which is korean G3, but everytime I try to build, it faces error.
So, I tried to build D855 to see whether it completes, but also it prints same error.
I re-repo the whole android source/local manifests, changed toolchain/java heap size, but nothing gets better.
Anyone got idea?
------------------------------------------------------------------------------------------------------------
external/chromium_org/v8/src/arm/lithium-arm.cc:1503: error: undefined reference to 'v8::internal::HValue::UseCount() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2079: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2185: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2454: error: undefined reference to 'v8::internal::HCapturedObject::ReplayEnvironment(v8::internal::HEnvironment*)'
external/chromium_org/v8/src/arm/lithium-arm.cc:2496: error: undefined reference to 'v8::internal::HSimulate::ReplayEnvironment(v8::internal::HEnvironment*)'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.h:2226: error: undefined reference to 'v8::internal::HStoreKeyed::NeedsCanonicalization()'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5059: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5041: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3321: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3287: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:2943: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'
external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'
external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-bce.cc:189: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:346: error: undefined reference to 'v8::internal::InductionVariableData::ChecksRelatedToLength::CloseCurrentBlock()'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-canonicalize.cc:29: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'
external/chromium_org/v8/src/hydrogen-canonicalize.cc:26: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'
external/chromium_org/v8/src/hydrogen-check-elimination.cc:474: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'
external/chromium_org/v8/src/hydrogen-check-elimination.cc:470: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'
external/chromium_org/v8/src/hydrogen-instructions.h:3234: error: undefined reference to 'vtable for v8::internal::HPhi'
external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'
external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'
collect2: ld returned 1 exit status
make: *** [/home/thenoface303/android/cm12/out/host/linux-x86/obj32/EXECUTABLES/v8_tools_gyp_mksnapshot_arm_host_gyp_intermediates/mksnapshot] error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/cm12$
-------------------------------------------------------------------------------------------------------------------------------
fprhqkrtk303 said:
Hello, I'm trying to build CM12 for F400, which is korean G3, but everytime I try to build, it faces error.
So, I tried to build D855 to see whether it completes, but also it prints same error.
I re-repo the whole android source/local manifests, changed toolchain/java heap size, but nothing gets better.
Anyone got idea?
------------------------------------------------------------------------------------------------------------
external/chromium_org/v8/src/arm/lithium-arm.cc:1503: error: undefined reference to 'v8::internal::HValue::UseCount() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2079: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2185: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.cc:2454: error: undefined reference to 'v8::internal::HCapturedObject::ReplayEnvironment(v8::internal::HEnvironment*)'
external/chromium_org/v8/src/arm/lithium-arm.cc:2496: error: undefined reference to 'v8::internal::HSimulate::ReplayEnvironment(v8::internal::HEnvironment*)'
external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'
external/chromium_org/v8/src/arm/lithium-arm.h:2226: error: undefined reference to 'v8::internal::HStoreKeyed::NeedsCanonicalization()'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5059: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5041: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3321: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3287: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'
external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:2943: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'
external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'
external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'
external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-bce.cc:189: error: undefined reference to 'v8::internal::HInstruction::Unlink()'
external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:346: error: undefined reference to 'v8::internal::InductionVariableData::ChecksRelatedToLength::CloseCurrentBlock()'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'
external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'
external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData:ecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'
external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'
external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'
external/chromium_org/v8/src/hydrogen-canonicalize.cc:29: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'
external/chromium_org/v8/src/hydrogen-canonicalize.cc:26: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'
external/chromium_org/v8/src/hydrogen-check-elimination.cc:474: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'
external/chromium_org/v8/src/hydrogen-check-elimination.cc:470: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'
external/chromium_org/v8/src/hydrogen-instructions.h:3234: error: undefined reference to 'vtable for v8::internal::HPhi'
external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'
external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'
collect2: ld returned 1 exit status
make: *** [/home/thenoface303/android/cm12/out/host/linux-x86/obj32/EXECUTABLES/v8_tools_gyp_mksnapshot_arm_host_gyp_intermediates/mksnapshot] error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android/cm12$
-------------------------------------------------------------------------------------------------------------------------------
Click to expand...
Click to collapse
I just reinstalled Ubuntu. I think something just went wrong during installing or updating system.

[Q] Adding sqlcipher to android kernel

Hi everyone.
I repleaced sqlite to sqlcipher, I spend some time to this and now code is compilable, but I have other issue:
host SharedLib: libsqlite_jni (out/host/linux-x86/obj/lib/libsqlite_jni.so)
external/sqlite/dist/sqlite3.c: In function 'backupOnePage':
external/sqlite/dist/sqlite3.c:63260:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/sqlite/dist/sqlite3.c: In function 'sqlite3Pragma':
external/sqlite/dist/sqlite3.c:103492:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
target SharedLib: libsqlite (out/target/product/generic/obj/SHARED_LIBRARIES/libsqlite_intermediates/LINKED/libsqlite.so)
Install: out/host/linux-x86/lib/libsqlite_jni.so
external/sqlite/dist/sqlite3.c:16539: error: undefined reference to 'EVP_sha1'
external/sqlite/dist/sqlite3.c:16539: error: undefined reference to 'EVP_MD_size'
external/sqlite/dist/sqlite3.c:16535: error: undefined reference to 'EVP_CIPHER_block_size'
external/sqlite/dist/sqlite3.c:16531: error: undefined reference to 'EVP_CIPHER_iv_length'
external/sqlite/dist/sqlite3.c:16527: error: undefined reference to 'EVP_CIPHER_key_length'
external/sqlite/dist/sqlite3.c:16523: error: undefined reference to 'EVP_CIPHER_nid'
external/sqlite/dist/sqlite3.c:16523: error: undefined reference to 'OBJ_nid2sn'
external/sqlite/dist/sqlite3.c:16518: error: undefined reference to 'EVP_get_cipherbyname'
external/sqlite/dist/sqlite3.c:16503: error: undefined reference to 'EVP_CipherInit'
external/sqlite/dist/sqlite3.c:16504: error: undefined reference to 'EVP_CIPHER_CTX_set_padding'
external/sqlite/dist/sqlite3.c:16505: error: undefined reference to 'EVP_CipherInit'
external/sqlite/dist/sqlite3.c:16506: error: undefined reference to 'EVP_CipherUpdate'
external/sqlite/dist/sqlite3.c:16509: error: undefined reference to 'EVP_CipherFinal'
external/sqlite/dist/sqlite3.c:16511: error: undefined reference to 'EVP_CIPHER_CTX_cleanup'
external/sqlite/dist/sqlite3.c:16495: error: undefined reference to 'PKCS5_PBKDF2_HMAC_SHA1'
external/sqlite/dist/sqlite3.c:16485: error: undefined reference to 'HMAC_CTX_init'
external/sqlite/dist/sqlite3.c:16486: error: undefined reference to 'EVP_sha1'
external/sqlite/dist/sqlite3.c:16486: error: undefined reference to 'HMAC_Init_ex'
external/sqlite/dist/sqlite3.c:16487: error: undefined reference to 'HMAC_Update'
external/sqlite/dist/sqlite3.c:16488: error: undefined reference to 'HMAC_Update'
external/sqlite/dist/sqlite3.c:16489: error: undefined reference to 'HMAC_Final'
external/sqlite/dist/sqlite3.c:16490: error: undefined reference to 'HMAC_CTX_cleanup'
external/sqlite/dist/sqlite3.c:16391: error: undefined reference to 'RAND_add'
external/sqlite/dist/sqlite3.c:16475: error: undefined reference to 'RAND_bytes'
external/sqlite/dist/sqlite3.c:16448: error: undefined reference to 'EVP_cleanup'
external/sqlite/dist/sqlite3.c:16410: error: undefined reference to 'EVP_get_cipherbyname'
external/sqlite/dist/sqlite3.c:16419: error: undefined reference to 'OPENSSL_add_all_algorithms_noconf'
Can anyone help me?

Categories

Resources