I'm trying to build CarbonROM 7.0 for the Samsung T580 device and I'm getting the following error.
Code:
FAILED: /mnt/UserData/Projects/Android-Source/CarbonRom-7.0/out/soong/build.ninja
/mnt/UserData/Projects/Android-Source/CarbonRom-7.0/out/soong/.bootstrap/bin/soong_build -t -l /mnt/UserData/Projects/Android-Source/CarbonRom-7.0/out/.module_paths/Android.bp.list -b /mnt/UserData/Projects/Android-Source/CarbonRom-7.0/out/soong -n /mnt/UserData/Projects/Android-Source/CarbonRom-7.0/out -d /mnt/UserData/Projects/Android-Source/CarbonRom-7.0/out/soong/build.ninja.d -o /mnt/UserData/Projects/Android-Source/CarbonRom-7.0/out/soong/build.ninja Android.bp
(0x8fdf20,0xc4201110e0)error: vendor/carbon/build/soong/Android.bp:31:8: module "generated_kernel_includes": cmd: unknown variable '$(KERNEL_MAKE_FLAGS)'
I'm using the command "make carbon -j4" to build the rom. Am I using he wrong command? If so what is the right command? Does CarbonROM only support building GSI roms? The only articles I can find in my search has to do with project treble.
Thanks
Related
im trying to build android from source on ubuntu 10.04. im on a 64 bit system . but this is what im stuck on.
when i enter the repo command:
repo init -u git://android.git.kernel.org/platform/manifest.git -b eclair
it get this error back
exec: 23: python: not found
any ideas.
python: not found
yeah how do i fix it though?
thanks
install python
i have it installed already v2.6
You may have to install a version of python prior to the version you've got installed. Check which version the SDK is compatible with. =)
INSANENEIVIESIS said:
im trying to build android from source on ubuntu 10.04. im on a 64 bit system . but this is what im stuck on.
when i enter the repo command:
repo init -u git://android.git.kernel.org/platform/manifest.git -b eclair
it get this error back
exec: 23: python: not found
any ideas.
Click to expand...
Click to collapse
Unsure what you have done up to this point. It seems as though your PATH to repo is not set. I'm assuming you have already done this:
$ mkdir ~/bin
$ curl http://android.git.kernel.org/repo >~/bin/repo
$ chmod +x ~/bin/repo
$ export PATH="${PATH}:~/bin"
$ mkdir ~/xdandroid
$ cd ~/xdandroid
Have you checked your PATH settings to make sure ~/bin is in there?
Code:
echo $PATH
If you are following the wiki, the command that's on there for path doesn't work for Ubuntu (I experienced it myself and haven't looked into why...it could be because it needs to be done as sudo). Try this in terminal:
Code:
gedit ~/.bashrc
then go to the end of the file and add this to the end:
Code:
PATH=~/bin:"${PATH}"
Close any terminal windows you have open and then reopen terminal. Try the command again...
If you get the error: selected processor does not support ARM mode `smc #0' when trying to compile kernel on OS X, please go to the scripts folder in the kernel source tree and change in Kbuild.include from:
Code:
/bin/echo -e "$(1)" | $(CC) $(KBUILD_AFLAGS) -c -xassembler -o "$$TMP" -,$(2),$(3))
to:
Code:
printf "%s\n" "$(1)" | $(CC) $(KBUILD_AFLAGS) -c -xassembler -o "$$TMP" -,$(2),$(3))
Hi, I have a problem to compile badadroid sources, my console (on linux) give this error after this command:
Code:
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
I'm following this guide: http://forum.xda-developers.com/showthread.php?t=2276481
thanks for answers
rebus007
Hi everyone!
I'm trying to build LineageOS 15.1 for my Samsung Galaxy S5 - klte. Everything is good until I start compiling and then the build fails with an error "ninja failed with: exit status 1".
I've gone through the output from the build, but I can't find anything that sticks out. I also have tried Googling the problem, but I can't find anything that matches my problem. Here are my build steps:
## Create the directories
mkdir -p ~/bin
mkdir -p ~/android/lineage
## Install the repo
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
## Put the ~/bin directory in my path
nano ~/.profile
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
source ~/.profile
## Initialize the source repository
cd ~/android/lineage
repo init -u https://github.com/LineageOS/android.git -b lineage-15.1
## Download the source code
repo sync -f --force-sync -j8 -c
source build/envsetup.sh
breakfast klte
cd ~/android/lineage/device/samsung/klte
./extract-files.sh
cd ~/android/lineage
export USE_CCACHE=1
./prebuilts/sdk/tools/jack-admin kill-server
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx15g"
./prebuilts/sdk/tools/jack-admin start-server
## Prepare the device-specific code
source build/envsetup.sh
breakfast klte
## Start the build
croot
brunch klte
Here is a link for the output from the build:
http://www.ohsmeg.com/bill/projects/android/lineageos/ninja_error.html
My build machine is an i7-950 with 16gb of memory, running Ubuntu 16.04 headless.
Any suggestions?
Thanks!
zog
Hi,
I'm building Androd 11 for my Phytec Board but i'm geting this error while building AOSP.
FAILED: out/soong/.minibootstrap/minibp
out/soong/.bootstrap/build.ninja
Outputs: out/soong/.bootstrap/build.ninja
Error: exited with code: 1
Command: out/soong/.minibootstrap/minibp -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/.bootstrap/build.ninja.d -globFile out/soong/.minibootstrap/build-globs.ninja -o out/soong/.bootstrap/build.ninja Android.bp
Output:
^[[31merror:^[[0m build/tools/fs_config/Android.bp:15:1: module "soong-fs_config" already defined
build/make/tools/fs_config/Android.bp:15:1 <-- previous definition here
if someone knows this issue give your inputs here please.
Thanks