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