[Q] Error while compiling CM for DS - Android Q&A, Help & Troubleshooting

Hi, I am compiling CM for Desire S. When I use CM frameworks/av it end but when I use modified one's that were working till recently, I get:
Code:
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/fmtconvert_neon.S
external/stagefright-plugins/libstagefright/FFmpegExtractor/FFmpegExtractor.cpp: In member function 'android::sp<android::MetaData> android::FFmpegExtractor::setAudioFormat(AVStream*)':
external/stagefright-plugins/libstagefright/FFmpegExtractor/FFmpegExtractor.cpp:498:24: error: 'kKeySampleBits' was not declared in this scope
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/fmtconvert_vfp.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/fmtconvert_vfp_armv6.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/h264cmc_neon.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/h264dsp_armv6.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/h264dsp_neon.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/h264idct_neon.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/h264pred_neon.S
make: *** [/home/marlab/cm11/out/target/product/saga/obj/SHARED_LIBRARIES/libFFmpegExtractor_intermediates/FFmpegExtractor.o] Error 1
make: *** Waiting for unfinished jobs....
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/h264qpel_neon.S
real 27m53.221s
user 192m26.982s
sys 14m17.400s
What is wrong and how do I fix it?

Related

[Q] Compiling Issues with AOSP 2.3.3

Hello everyone in XDA
I've decided to take the plunge with a group of friends to make an AOSP ROM for the Galaxy Ace (Codenamed Cooper) and it's not exactly as smooth-sailing as I thought.
I used to make generic builds last time , but ditched it because of the various errors that were induced.
So this time I decided to grab different Cooper sources from GitHub, mostly from coolya and Cyanogenmod.
I then realised that the AOSP doesn't have much files for an ARMv6-VFP device.
So I replaced android/frameworks/base completely with Cyanogenmod's android/frameworks/base.
And now I've been getting this error using:
Code:
make -j16 otapackage
Code:
frameworks/base/libs/ui/GraphicBuffer.cpp: In member function 'android::status_t android::GraphicBuffer::reallocate(uint32_t, uint32_t, android::PixelFormat, uint32_t)':
frameworks/base/libs/ui/GraphicBuffer.cpp:122: warning: comparison between signed and unsigned integer expressions
frameworks/base/libs/ui/GraphicBuffer.cpp:122: warning: comparison between signed and unsigned integer expressions
frameworks/base/libs/ui/GraphicBuffer.cpp:122: warning: comparison between signed and unsigned integer expressions
target thumb C++: libui <= frameworks/base/libs/ui/GraphicBufferMapper.cpp
target thumb C++: libui <= frameworks/base/libs/ui/GraphicLog.cpp
target thumb C++: libui <= frameworks/base/libs/ui/KeyLayoutMap.cpp
target thumb C++: libui <= frameworks/base/libs/ui/KeyCharacterMap.cpp
target thumb C++: libui <= frameworks/base/libs/ui/Input.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputDispatcher.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputManager.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputReader.cpp
target thumb C++: libui <= frameworks/base/libs/ui/InputTransport.cpp
target thumb C++: libui <= frameworks/base/libs/ui/IOverlay.cpp
target thumb C++: libui <= frameworks/base/libs/ui/Overlay.cpp
target thumb C++: libui <= frameworks/base/libs/ui/PixelFormat.cpp
frameworks/base/libs/ui/Overlay.cpp: In member function 'android::status_t android::Overlay::setFd(int)':
frameworks/base/libs/ui/Overlay.cpp:98: error: 'struct overlay_data_device_t' has no member named 'setFd'
make: *** [out/target/product/cooper/obj/SHARED_LIBRARIES/libui_intermediates/Overlay.o] Error 1
make: *** Waiting for unfinished jobs....
[email protected]:~/android#
If I used
Code:
make -j16
It would give a different error:
Code:
Install: out/host/linux-x86/framework/guavalib.jar
host Prebuilt: org-openide-util (out/host/common/obj/JAVA_LIBRARIES/org-openide-util_intermediates/javalib.jar)
host Prebuilt: org-netbeans-api-visual (out/host/common/obj/JAVA_LIBRARIES/org-netbeans-api-visual_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/idegen.jar
host Prebuilt: jarjar (out/host/common/obj/JAVA_LIBRARIES/jarjar_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/jdiff.jar
Install: out/host/linux-x86/framework/jsr305lib.jar
host Prebuilt: jython (out/host/common/obj/JAVA_LIBRARIES/jython_intermediates/javalib.jar)
host Prebuilt: kxml2-2.3.0 (out/host/common/obj/JAVA_LIBRARIES/kxml2-2.3.0_intermediates/javalib.jar)
make: *** No rule to make target `out/host/linux-x86/framework/layoutlib_api-prebuilt.jar', needed by `out/host/common/obj/JAVA_LIBRARIES/layoutlib_intermediates/javalib.jar'. Stop.
make: *** Waiting for unfinished jobs....
Did I do anything wrong?
Anyone ?
Sent from my GT-S5830 using XDA App

[GUIDE] How to build CM9/CM10/CM10.1 for Xperia P,U,Sola,Go and use Linaro toolchain

DISCLAMER
Although the procedures in this guide were tested on my pc/phone and produced a working build on the xperia U, I take no responsibility for any consequences derived from their use.
This guide applies to Ubuntu 13.04 Raring Ringtail 64 bit. Do not use 32 Bit.
If you want to use another ubuntu version, some things might be a little different. Just search on xda and you will find all the instructions that you need to complete the setup.
1) SET UP THE BUILD ENVIRONMENT
Remove openJDK and install Java 6 jdk. Open a terminal and type:
Code:
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*
This will uninstall openJDK.
Code:
sudo add-apt-repository ppa:webupd8team/java
Adds a PPA to your system, needed to download java.
Code:
sudo apt-get update && sudo apt-get install oracle-java6-installer
Download and installs java!
To make sure the correct version of Java is activated, run the following at the Terminal prompt:
Code:
java -version
You should see something like that:
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
Now type:
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python lzop
This will install the needed packages.
When done, do this:
Code:
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Now, install the repo binary:
Code:
mkdir ~/bin && curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo && chmod a+x ~/bin/repo
Edit .bashrc:
Code:
sudo nano ~/.bashrc
At the bottom of the file, add the following line:
Code:
export PATH=~/bin:$PATH
Save it (In nano type Ctrl-O and then Enter, then Ctrl-X to exit back to a prompt).
Restart bash:
Code:
source ~/.bashrc
From now the guide is for cm9/10 only, if you want to build cm10.1 look at 3rd post.
2) DOWNLOAD THE SOURCES:
Code:
mkdir ~/cyanogenmod
cd ~/cyanogenmod
This creates a folder named "cyanogenmod" and opens it.
Initialize the repo:
If you're building cm10 -
Code:
repo init -u git://github.com/CyanogenMod/android.git -b jellybean
Or for cm9 -
Code:
repo init -u git://github.com/CyanogenMod/android.git -b ics
Download time!
Code:
repo sync
It will download about 10gb of data, so be patient!
Download the prebuilts:
Code:
~/cyanogenmod/vendor/cm/get-prebuilts
Download device specific repos:
Code:
. build/envsetup.sh && breakfast name_of_device
Instead of "name_of_device" use "kumquat" for xperia U, "nypon" for xperia P, "pepper" for Sola and "lotus" for Go.
Download sony's prebuilts:
Open cyanogenmod folder, press ctrl+H to show hidden files, open .repo, open local_manifests and edit roomservice.xml:
Add this line:
for cm10 -
Code:
<project name="TheMuppets/proprietary_vendor_sony" path="vendor/sony" remote="github" revision="jellybean"/>
for cm9 -
Code:
<project name="TheMuppets/proprietary_vendor_sony" path="vendor/sony" remote="github" revision="ics"/>
At the end of the file, but BEFORE </manifest>. Save and exit. Then sync the repos again:
Code:
repo sync
3) BUILD THE ROM:
Code:
. build/envsetup.sh && brunch name_of_device
Where "name_of_device" is again "kumquat" for xperia U, "nypon" for xperia P, "pepper" for Sola and "lotus" for Go.
It will take some time (on my pc with 3GHz dual core and 4gb of ram about 2h30min)
If everything goes right the flashable zip of the rom will be in cyanogenmod/out/target/product/name_of_device/cm-10-XXXXXXXXX-UNOFFICIAL-name_of_device.zip
4) Install the rom on your phone!
-------------------------------------------------------------------------------------------------------------
Some other tips:
When you want to download latest fxp/cm changes open a new terminal and type:
Code:
cd cyanogenmod
repo sync
When you want to delete the build products (because something has gone wrong or you want to make a new build):
Code:
make clean
Then:
Code:
. build/envsetup.sh && brunch name_of_device
To start building again.
How to change toolchain to linaro
That part of guide is for JB only!
If you want to change the original toolchain to the one made by linaro, to improve performance of your source built rom, donwload the toolchain from here: http://releases.linaro.org/13.06/co...ndroid-toolchain-eabi-4.7-2013.06-x86.tar.bz2
Then extract it, you will have the toolchain in a folder called "android-toolchain-eabi".
Move that folder to cyanogenmod/prebuilts/gcc/linux-x86/arm/.
Now navigate to folder cyanogenmod/build and open with the text editor the file "envsetup.sh", go to line 151 and modify the line for arm toolchain as in this picture:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now you can start building your rom with linaro toolchain!
Build cm10.1
IF YOU WANT TO BUILD CM10.1 FOLLOW PART 1 FROM 1ST POST, THEN FOLLOW PART 2-3-4 HERE.
2) DOWNLOAD THE SOURCES:
Code:
mkdir ~/cyanogenmod
cd ~/cyanogenmod
This creates a folder named "cyanogenmod" and opens it.
Initialize the repo:
Code:
repo init -u git://github.com/STEricsson-Android/android.git -b cm-10.1-sony
This link is outdated, check here to get latest manifest for your rom: http://forum.xda-developers.com/showpost.php?p=46290810&postcount=71
Download time!
Code:
repo sync
It will download about 10gb of data, so be patient!
Download the prebuilts:
Code:
~/cyanogenmod/vendor/cm/get-prebuilts
3) BUILD THE ROM:
Code:
. build/envsetup.sh && brunch name_of_device
Where "name_of_device" is again "kumquat" for xperia U, "nypon" for xperia P, "pepper" for Sola and "lotus" for Go.
It will take some time (on my pc with 3GHz dual core and 4gb of ram about 2h30min)
If everything goes right the flashable zip of the rom will be in cyanogenmod/out/target/product/name_of_device/cm-10.1-XXXXXXXXX-UNOFFICIAL-name_of_device.zip
4) Install the rom on your phone!
-------------------------------------------------------------------------------------------------------------
Some other tips:
When you want to download latest fxp/cm changes open a new terminal and type:
Code:
cd cyanogenmod
repo sync
When you want to delete the build products (because something has gone wrong or you want to make a new build):
Code:
make clean
Then:
Code:
. build/envsetup.sh && brunch name_of_device
To start building again.
Great tutorial..maybe we will have more Rom now.can you also add how to build cwm tutorial.
I have questions:
how big will be download size of cm10 for single device and is possible to download only cwm essential and build it without downloading all?.thanks again.
etch04 said:
Great tutorial..maybe we will have more Rom now.can you also add how to build cwm tutorial.
I have questions:
how big will be download size of cm10 for single device and is possible to download only cwm essential and build it without downloading all?.thanks again.
Click to expand...
Click to collapse
I've never built only cwm, I'll see what I can do
Cm10 tree+device files are about 10-11 gb. There is also an official website that lets you to build cmw without downloading all sources: http://builder.clockworkmod.com/ (however I've never tried it).
Added the guide for switching to linaro toolchain in post #2!
elia222 said:
Added the guide for switching to linaro toolchain in post #2!
Click to expand...
Click to collapse
Thanks!
Hello,
First thanks for the tutorial, really neat !
Well I had a problem, after the last step, the brunch, I didn't had a cyanogenmod/out/target/product/name_of_device/cm-10-XXXXXXXXX-UNOFFICIAL-name_of_device.zip
I had the following error:
external/zlib/x86/adler32.c:747: error: ‘asm’ operand has impossible constraints
make: *** [/Users/lvcargnini/android/cyanogenmod/out/host/darwin-x86/obj/STATIC_LIBRARIES/libz_intermediates/adler32.o] Error 1
make: *** Waiting for unfinished jobs....
ld: warning: directory '/Users/lvcargnini/android/cyanogenmod/out/host/darwin-x86/obj/lib' following -L not found
true
CHK include/linux/version.h
UPD include/linux/version.h
HOSTCC scripts/unifdef
INSTALL include/trace (1 file)
INSTALL include/rdma (6 files)
INSTALL include/mtd (5 files)
INSTALL include/drm (13 files)
INSTALL include/sound (8 files)
INSTALL include/asm-generic (34 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/video (4 files)
INSTALL include/scsi (3 files)
INSTALL include/linux/can (4 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/linux/hsi (1 file)
INSTALL include/linux/isdn (1 file)
INSTALL include/xen (2 files)
INSTALL include (0 file)
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter/xt_CONNMARK.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter/.install'. Stop.
make[5]: *** Waiting for unfinished jobs....
INSTALL include/linux/mfd (1 file)
INSTALL include/linux/mmc (1 file)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter_arp (2 files)
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter_ipv4/ipt_ECN.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter_ipv4/.install'. Stop.
make[4]: *** [netfilter_ipv4] Error 2
make[4]: *** Waiting for unfinished jobs....
INSTALL include/linux/netfilter_bridge (18 files)
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter_ipv6/ip6t_HL.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter_ipv6/.install'. Stop.
make[4]: *** [netfilter_ipv6] Error 2
make[4]: *** [netfilter] Error 2
make[3]: *** [linux] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make: *** [/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr] Error 2
-MacBook-Pro:cyanogenmod lvcargnini ☢
Any idea on what I forgot ? What should I fix ?
lvcargnini said:
Hello,
First thanks for the tutorial, really neat !
Well I had a problem, after the last step, the brunch, I didn't had a cyanogenmod/out/target/product/name_of_device/cm-10-XXXXXXXXX-UNOFFICIAL-name_of_device.zip
I had the following error:
external/zlib/x86/adler32.c:747: error: ‘asm’ operand has impossible constraints
make: *** [/Users/lvcargnini/android/cyanogenmod/out/host/darwin-x86/obj/STATIC_LIBRARIES/libz_intermediates/adler32.o] Error 1
make: *** Waiting for unfinished jobs....
ld: warning: directory '/Users/lvcargnini/android/cyanogenmod/out/host/darwin-x86/obj/lib' following -L not found
true
CHK include/linux/version.h
UPD include/linux/version.h
HOSTCC scripts/unifdef
INSTALL include/trace (1 file)
INSTALL include/rdma (6 files)
INSTALL include/mtd (5 files)
INSTALL include/drm (13 files)
INSTALL include/sound (8 files)
INSTALL include/asm-generic (34 files)
INSTALL include/scsi/fc (4 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/video (4 files)
INSTALL include/scsi (3 files)
INSTALL include/linux/can (4 files)
INSTALL include/linux/dvb (8 files)
INSTALL include/linux/hdlc (1 file)
INSTALL include/linux/hsi (1 file)
INSTALL include/linux/isdn (1 file)
INSTALL include/xen (2 files)
INSTALL include (0 file)
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter/xt_CONNMARK.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter/.install'. Stop.
make[5]: *** Waiting for unfinished jobs....
INSTALL include/linux/mfd (1 file)
INSTALL include/linux/mmc (1 file)
INSTALL include/linux/netfilter/ipset (4 files)
INSTALL include/linux/netfilter_arp (2 files)
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter_ipv4/ipt_ECN.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter_ipv4/.install'. Stop.
make[4]: *** [netfilter_ipv4] Error 2
make[4]: *** Waiting for unfinished jobs....
INSTALL include/linux/netfilter_bridge (18 files)
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter_ipv6/ip6t_HL.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter_ipv6/.install'. Stop.
make[4]: *** [netfilter_ipv6] Error 2
make[4]: *** [netfilter] Error 2
make[3]: *** [linux] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make: *** [/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr] Error 2
-MacBook-Pro:cyanogenmod lvcargnini ☢
Any idea on what I forgot ? What should I fix ?
Click to expand...
Click to collapse
On which computer are you building? which os?
elia222 said:
On which computer are you building? which os?
Click to expand...
Click to collapse
Hi, I'm using a Mac OSX 10.6.X
But I found on the internet, that this is a problem related to the compilers version, so I used macports to install a new LLVM and a the LLVM-gcc and set my system to link to LLVM as wide compiler.
T solve the problem related to the message:
ld: warning: directory '/Users/lvcargnini/android/cyanogenmod/out/host/darwin-x86/obj/lib' following -L not found
Click to expand...
Click to collapse
Result, this problem seems to have been solved, but a new one appeared:
external/e2fsprogs/e2fsck/rehash.c:406:16: note: 'rec_len' was declared here
target thumb C: libc <= bionic/libc/unistd/sysconf.c
target thumb C: libc <= bionic/libc/bionic/__errno.c
target thumb C: libc <= bionic/libc/bionic/dlmalloc.c
target thumb C: libc <= bionic/libc/bionic/malloc_debug_common.c
target thumb C: libc <= bionic/libc/bionic/pthread_debug.c
target thumb C: libc <= bionic/libc/bionic/libc_init_dynamic.c
target SharedLib: libdl (/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/_exit.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/_exit_thread.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__fork.S
INSTALL include/asm-generic (34 files)
INSTALL include/drm (13 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__waitid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__sys_clone.S
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/can (4 files)
INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/execve.S
INSTALL include/linux/dvb (8 files)
INSTALL include/scsi (3 files)
INSTALL include/linux/hdlc (1 file)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__setuid.S
INSTALL include/sound (8 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getuid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getgid.S
INSTALL include/linux/hsi (1 file)
INSTALL include/trace (1 file)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mfd (1 file)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/geteuid.S
INSTALL include/linux/mmc (1 file)
INSTALL include/video (4 files)
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter/xt_CONNMARK.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter/.install'. Stop.
make[5]: *** Waiting for unfinished jobs....
INSTALL include/xen (2 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter/ipset (4 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getegid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getresuid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getresgid.S
INSTALL include/linux/netfilter_bridge (18 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/gettid.S
INSTALL include (0 file)
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter_ipv4/ipt_ECN.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter_ipv4/.install'. Stop.
make[4]: *** [netfilter_ipv4] Error 2
make[4]: *** Waiting for unfinished jobs....
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter_ipv6/ip6t_HL.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter_ipv6/.install'. Stop.
make[4]: *** [netfilter_ipv6] Error 2
target asm: libc_common <= bionic/libc/arch-arm/syscalls/readahead.S
make[4]: *** [netfilter] Error 2
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getgroups.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getpgid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getppid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setsid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setgid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__setreuid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__setresuid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setresgid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__brk.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__ptrace.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__getpriority.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setpriority.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setrlimit.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getrlimit.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getrusage.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setgroups.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setpgid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/vfork.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setregid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/chroot.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/prctl.S
make[3]: *** [linux] Error 2
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make: *** [/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr] Error 2
make: *** Waiting for unfinished jobs....
:cyanogenmod lvcargnini ☢
lvcargnini said:
Hi, I'm using a Mac OSX 10.6.X
But I found on the internet, that this is a problem related to the compilers version, so I used macports to install a new LLVM and a the LLVM-gcc and set my system to link to LLVM as wide compiler.
T solve the problem related to the message:
Result, this problem seems to have been solved, but a new one appeared:
external/e2fsprogs/e2fsck/rehash.c:406:16: note: 'rec_len' was declared here
target thumb C: libc <= bionic/libc/unistd/sysconf.c
target thumb C: libc <= bionic/libc/bionic/__errno.c
target thumb C: libc <= bionic/libc/bionic/dlmalloc.c
target thumb C: libc <= bionic/libc/bionic/malloc_debug_common.c
target thumb C: libc <= bionic/libc/bionic/pthread_debug.c
target thumb C: libc <= bionic/libc/bionic/libc_init_dynamic.c
target SharedLib: libdl (/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/_exit.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/_exit_thread.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__fork.S
INSTALL include/asm-generic (34 files)
INSTALL include/drm (13 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__waitid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__sys_clone.S
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/can (4 files)
INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/execve.S
INSTALL include/linux/dvb (8 files)
INSTALL include/scsi (3 files)
INSTALL include/linux/hdlc (1 file)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__setuid.S
INSTALL include/sound (8 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getuid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getgid.S
INSTALL include/linux/hsi (1 file)
INSTALL include/trace (1 file)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mfd (1 file)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/geteuid.S
INSTALL include/linux/mmc (1 file)
INSTALL include/video (4 files)
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter/xt_CONNMARK.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter/.install'. Stop.
make[5]: *** Waiting for unfinished jobs....
INSTALL include/xen (2 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter/ipset (4 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getegid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getresuid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getresgid.S
INSTALL include/linux/netfilter_bridge (18 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/gettid.S
INSTALL include (0 file)
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter_ipv4/ipt_ECN.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter_ipv4/.install'. Stop.
make[4]: *** [netfilter_ipv4] Error 2
make[4]: *** Waiting for unfinished jobs....
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter_ipv6/ip6t_HL.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter_ipv6/.install'. Stop.
make[4]: *** [netfilter_ipv6] Error 2
target asm: libc_common <= bionic/libc/arch-arm/syscalls/readahead.S
make[4]: *** [netfilter] Error 2
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getgroups.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getpgid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getppid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setsid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setgid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__setreuid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__setresuid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setresgid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__brk.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__ptrace.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__getpriority.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setpriority.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setrlimit.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getrlimit.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getrusage.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setgroups.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setpgid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/vfork.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setregid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/chroot.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/prctl.S
make[3]: *** [linux] Error 2
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make: *** [/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr] Error 2
make: *** Waiting for unfinished jobs....
:cyanogenmod lvcargnini ☢
Click to expand...
Click to collapse
I've searched a bit and it seems that it can't find in the toolchain the needed file to build, it's an issue related to building on mac os x.
Search on google "no rule to make /include/linux/netfilter/xt_CONNMARK.h", maybe you'll find a solution.
A question. It says to use the 13.04, but I am always sticking to the LTS versions. Will this guide apply for 12.04 lts too?
DigitalDreamer said:
A question. It says to use the 13.04, but I am always sticking to the LTS versions. Will this guide apply for 12.04 lts too?
Click to expand...
Click to collapse
The guide is almost the same, but some packages may be different. I recommend to search on xda a guide for 12.04 for setting up the build environment.
lvcargnini said:
Hi, I'm using a Mac OSX 10.6.X
But I found on the internet, that this is a problem related to the compilers version, so I used macports to install a new LLVM and a the LLVM-gcc and set my system to link to LLVM as wide compiler.
T solve the problem related to the message:
Result, this problem seems to have been solved, but a new one appeared:
external/e2fsprogs/e2fsck/rehash.c:406:16: note: 'rec_len' was declared here
target thumb C: libc <= bionic/libc/unistd/sysconf.c
target thumb C: libc <= bionic/libc/bionic/__errno.c
target thumb C: libc <= bionic/libc/bionic/dlmalloc.c
target thumb C: libc <= bionic/libc/bionic/malloc_debug_common.c
target thumb C: libc <= bionic/libc/bionic/pthread_debug.c
target thumb C: libc <= bionic/libc/bionic/libc_init_dynamic.c
target SharedLib: libdl (/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/_exit.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/_exit_thread.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__fork.S
INSTALL include/asm-generic (34 files)
INSTALL include/drm (13 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__waitid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__sys_clone.S
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
INSTALL include/mtd (5 files)
INSTALL include/linux/can (4 files)
INSTALL include/rdma (6 files)
INSTALL include/scsi/fc (4 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/execve.S
INSTALL include/linux/dvb (8 files)
INSTALL include/scsi (3 files)
INSTALL include/linux/hdlc (1 file)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__setuid.S
INSTALL include/sound (8 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getuid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getgid.S
INSTALL include/linux/hsi (1 file)
INSTALL include/trace (1 file)
INSTALL include/linux/isdn (1 file)
INSTALL include/linux/mfd (1 file)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/geteuid.S
INSTALL include/linux/mmc (1 file)
INSTALL include/video (4 files)
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter/xt_CONNMARK.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter/.install'. Stop.
make[5]: *** Waiting for unfinished jobs....
INSTALL include/xen (2 files)
INSTALL include/linux/netfilter_arp (2 files)
INSTALL include/linux/netfilter/ipset (4 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getegid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getresuid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getresgid.S
INSTALL include/linux/netfilter_bridge (18 files)
target asm: libc_common <= bionic/libc/arch-arm/syscalls/gettid.S
INSTALL include (0 file)
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter_ipv4/ipt_ECN.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter_ipv4/.install'. Stop.
make[4]: *** [netfilter_ipv4] Error 2
make[4]: *** Waiting for unfinished jobs....
make[5]: *** No rule to make target `/Users/lvcargnini/android/cyanogenmod/kernel/sony/u8500/include/linux/netfilter_ipv6/ip6t_HL.h', needed by `/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr/include/linux/netfilter_ipv6/.install'. Stop.
make[4]: *** [netfilter_ipv6] Error 2
target asm: libc_common <= bionic/libc/arch-arm/syscalls/readahead.S
make[4]: *** [netfilter] Error 2
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getgroups.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getpgid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getppid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setsid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setgid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__setreuid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__setresuid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setresgid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__brk.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__ptrace.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/__getpriority.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setpriority.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setrlimit.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getrlimit.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/getrusage.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setgroups.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setpgid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/vfork.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/setregid.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/chroot.S
target asm: libc_common <= bionic/libc/arch-arm/syscalls/prctl.S
make[3]: *** [linux] Error 2
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make: *** [/Users/lvcargnini/android/cyanogenmod/out/target/product/kumquat/obj/KERNEL_OBJ/usr] Error 2
make: *** Waiting for unfinished jobs....
:cyanogenmod lvcargnini ☢
Click to expand...
Click to collapse
the file mentioned are not present or renamed to filename[1].bla bal (this issues happens when you download the source as a zip).
Just remove [1] from file name and build again
What will happen if i install it on 32bit?
DroidModderXtreme said:
What will happen if i install it on 32bit?
Click to expand...
Click to collapse
You will get errors while building. You can only build android versions older than gingerbread on 32 bit.
Someone build cm7!
Sent from my 4.2.2 Xperia S via Tapatalk
Ben36 said:
Someone build cm7!
Sent from my 4.2.2 Xperia S via Tapatalk
Click to expand...
Click to collapse
Someone already tried in the past, but they didn't manage to get it booting.
percy_g2 said:
the file mentioned are not present or renamed to filename[1].bla bal (this issues happens when you download the source as a zip).
Just remove [1] from file name and build again
Click to expand...
Click to collapse
Could you please, tell to which file are you referring ?
lvcargnini said:
Could you please, tell to which file are you referring ?
Click to expand...
Click to collapse
type [1] in search and remove [1] from every file you see this .

Building Android 4.3 PAC-Man ROM for Unsupported Device

Hello there guys, i've recently installed ubuntu, and followed this guide along with some debugging and help from others to reach a certain point in getting a successful build. I am however stuck with the following:
Code:
host C++: libLLVMCore <= external/llvm/lib/IR/TypeFinder.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Use.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/User.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Value.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/ValueSymbolTable.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/ValueTypes.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Verifier.cpp
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/usr/share/zoneinfo/tzdata
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/root/property_contexts
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/root/seapp_contexts
target thumb C: libmake_ext4fs <= bootable/recovery/utilities/../../../system/extras/ext4_utils/make_ext4fs_main.c
Target buildinfo: /home/zohaib/rom/android/system/out/target/product/pyramid/system/build.prop
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/monkey)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/usr/share/bmd/RFFspeed_501.bmd)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/usr/share/bmd/RFFstd_501.bmd)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/bmgr)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/ime)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/input)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/pm)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/svc)
target Prebuilt: system_etcdir (/home/zohaib/rom/android/system/out/target/product/pyramid/system/etc/hosts)
target Export Resources: framework-res (/home/zohaib/rom/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
Install: /home/zohaib/rom/android/system/out/host/linux-x86/framework/doclava.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar
target Static Jar: android-support-v4-eclair (/home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-eclair_intermediates/javalib.jar)
target Java: guava (/home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/classes)
nothing matches overlay file default_wallpaper.jpg, for flavor ,,,,sw720dp,,,,,,,,,nodpi,,,,,,,
target StaticLib: libLLVMLinker (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMLinker_intermediates/libLLVMLinker.a)
target StaticLib: libLLVMipo (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMipo_intermediates/libLLVMipo.a)
target StaticLib: libLLVMBitWriter (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMBitWriter_intermediates/libLLVMBitWriter.a)
target StaticLib: libLLVMBitReader (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMBitReader_intermediates/libLLVMBitReader.a)
target StaticLib: libLLVMARMCodeGen (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMCodeGen_intermediates/libLLVMARMCodeGen.a)
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
target StaticLib: libLLVMARMAsmParser (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMAsmParser_intermediates/libLLVMARMAsmParser.a)
target StaticLib: libLLVMARMAsmPrinter (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMAsmPrinter_intermediates/libLLVMARMAsmPrinter.a)
target StaticLib: libLLVMARMInfo (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMInfo_intermediates/libLLVMARMInfo.a)
target StaticLib: libLLVMARMDesc (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMDesc_intermediates/libLLVMARMDesc.a)
target StaticLib: libLLVMARMDisassembler (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMDisassembler_intermediates/libLLVMARMDisassembler.a)
target StaticLib: libLLVMSelectionDAG (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMSelectionDAG_intermediates/libLLVMSelectionDAG.a)
target StaticLib: libLLVMCodeGen (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMCodeGen_intermediates/libLLVMCodeGen.a)
target StaticLib: libLLVMObject (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMObject_intermediates/libLLVMObject.a)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target StaticLib: libLLVMScalarOpts (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMScalarOpts_intermediates/libLLVMScalarOpts.a)
target StaticLib: libLLVMInstCombine (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMInstCombine_intermediates/libLLVMInstCombine.a)
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
target StaticLib: libLLVMInstrumentation (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMInstrumentation_intermediates/libLLVMInstrumentation.a)
target StaticLib: libLLVMTransformObjCARC (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMTransformObjCARC_intermediates/libLLVMTransformObjCARC.a)
target StaticLib: libLLVMTransformUtils (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMTransformUtils_intermediates/libLLVMTransformUtils.a)
target StaticLib: libLLVMipa (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMipa_intermediates/libLLVMipa.a)
target StaticLib: libLLVMAnalysis (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMAnalysis_intermediates/libLLVMAnalysis.a)
target StaticLib: libLLVMCore (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMCore_intermediates/libLLVMCore.a)
target StaticLib: libLLVMVectorize (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMVectorize_intermediates/libLLVMVectorize.a)
target StaticLib: libLLVMWrap (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMWrap_intermediates/libLLVMWrap.a)
target StaticLib: libLLVMBitReader_2_7 (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMBitReader_2_7_intermediates/libLLVMBitReader_2_7.a)
target StaticLib: libLLVMBitReader_3_0 (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMBitReader_3_0_intermediates/libLLVMBitReader_3_0.a)
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/lib/egl/egl.cfg
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/lib/libz.so
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/lib/libexpat.so
host StaticLib: libLLVMObject (/home/zohaib/rom/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMObject_intermediates/libLLVMObject.a)
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/etc/bluetooth/bt_stack.conf
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/etc/bluetooth/bt_did.conf
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/etc/bluetooth/auto_pair_devlist.conf
target Java: android-support-v13-ics-mr1 (/home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/android-support-v13-ics-mr1_intermediates/classes)
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/android-common-chips_intermediates/classes-jarjar.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/colorpicker_intermediates/classes-jarjar.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/android-opt-timezonepicker_intermediates/classes-jarjar.jar
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/ExtendedCodec.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/ThrottledSource.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/TimeSource.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/TimedEventQueue.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/Utils.cpp
frameworks/av/media/libstagefright/ExtendedCodec.cpp: In static member function 'static void android::ExtendedCodec::enableSmoothStreaming(const android::sp<android::IOMX>&, android::IOMX::node_id, bool*, const char*)':
frameworks/av/media/libstagefright/ExtendedCodec.cpp:368:27: error: expected primary-expression before ')' token
make: *** [/home/zohaib/rom/android/system/out/target/product/pyramid/obj/SHARED_LIBRARIES/libstagefright_intermediates/ExtendedCodec.o] Error 1
make: *** Waiting for unfinished jobs....
/home/zohaib/rom/android/system/out/target/product/pyramid/pac_pyramid-ota-eng.root.zip doesn't exist!
Total time elapsed: 29 minutes 33 seconds
[email protected]:~/rom/android/system#
I can see the error:
frameworks/av/media/libstagefright/ExtendedCodec.cpp:368:27: error: expected primary-expression before ')' token
But i dont know how to fix it, any help is appreciated
FYI im a total noob in terms of building and ubuntu, first time doing it
I am pretty sure the source was just broken, just update your sources and recompile

Error compiling Android 4.4

Hello,
I try to compile Android 4.4 on Ubuntu 13.04. But i get a some "unexpected EOF" errors.
Code:
including ./system/security/softkeymaster/Android.mk ...
including ./system/vold/Android.mk ...
including ./tools/external/fat32lib/Android.mk ...
target SharedLib: libandroid (out/target/product/generic/obj/SHARED_LIBRARIES/libandroid_intermediates/LINKED/libandroid.so)
target SharedLib: libwilhelm (out/target/product/generic/obj/SHARED_LIBRARIES/libwilhelm_intermediates/LINKED/libwilhelm.so)
Install: out/target/product/generic/system/lib/libstagefright.so
target SharedLib: libjnigraphics (out/target/product/generic/obj/SHARED_LIBRARIES/libjnigraphics_intermediates/LINKED/libjnigraphics.so)
target Strip: libbcc.sha1 (out/target/product/generic/obj/lib/libbcc.sha1.so)
target SharedLib: libwebviewchromium_plat_support (out/target/product/generic/obj/SHARED_LIBRARIES/libwebviewchromium_plat_support_intermediates/LINKED/libwebviewchromium_plat_support.so)
target SharedLib: libbluetooth_jni (out/target/product/generic/obj/SHARED_LIBRARIES/libbluetooth_jni_intermediates/LINKED/libbluetooth_jni.so)
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v4-jellybean-mr1_intermediates/classes.jar
Proguard: out/target/common/obj/APPS/Music_intermediates/proguard.classes.jar
target Symbolic: libjni_pacprocessor (out/target/product/generic/symbols/system/lib/libjni_pacprocessor.so)
Proguard: out/target/common/obj/APPS/PhotoTable_intermediates/proguard.classes.jar
target Symbolic: libttscompat (out/target/product/generic/symbols/system/lib/libttscompat.so)
Proguard: out/target/common/obj/APPS/QuickSearchBox_intermediates/proguard.classes.jar
target Symbolic: app_process (out/target/product/generic/symbols/system/bin/app_process)
target Symbolic: app_process__asan (out/target/product/generic/symbols/system/bin/asan/app_process)
target Executable: dex2oat (out/target/product/generic/obj/EXECUTABLES/dex2oat_intermediates/LINKED/dex2oat)
target Symbolic: libstagefright_httplive (out/target/product/generic/symbols/system/lib/libstagefright_httplive.so)
target Symbolic: libstagefright_wfd (out/target/product/generic/symbols/system/lib/libstagefright_wfd.so)
target Symbolic: screenrecord (out/target/product/generic/symbols/system/bin/screenrecord)
target Symbolic: camera.goldfish.jpeg (out/target/product/generic/symbols/system/lib/hw/camera.goldfish.jpeg.so)
target Symbolic: libFFTEm (out/target/product/generic/symbols/system/lib/libFFTEm.so)
ProGuard, version 4.10
ProGuard, version 4.10
ProGuard, version 4.10
target Strip: libRSDriver (out/target/product/generic/obj/lib/libRSDriver.so)
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/Music_intermediates/classes.jar]
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/QuickSearchBox_intermediates/classes.jar]
target Symbolic: libandroid_servers (out/target/product/generic/symbols/system/lib/libandroid_servers.so)
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/PhotoTable_intermediates/classes.jar]
target Symbolic: libaudioeffect_jni (out/target/product/generic/symbols/system/lib/libaudioeffect_jni.so)
target Symbolic: libdrmframework_jni (out/target/product/generic/symbols/system/lib/libdrmframework_jni.so)
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
target SharedLib: libmedia_jni (out/target/product/generic/obj/SHARED_LIBRARIES/libmedia_jni_intermediates/LINKED/libmedia_jni.so)
target SharedLib: librs_jni (out/target/product/generic/obj/SHARED_LIBRARIES/librs_jni_intermediates/LINKED/librs_jni.so)
target SharedLib: libsoundpool (out/target/product/generic/obj/SHARED_LIBRARIES/libsoundpool_intermediates/LINKED/libsoundpool.so)
target SharedLib: libstagefright_chromium_http (out/target/product/generic/obj/SHARED_LIBRARIES/libstagefright_chromium_http_intermediates/LINKED/libstagefright_chromium_http.so)
Install: out/target/product/generic/system/lib/libstagefright_soft_aacdec.so
Install: out/target/product/generic/system/lib/libstagefright_soft_aacenc.so
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Install: out/target/product/generic/system/lib/libstagefright_soft_amrdec.so
Install: out/target/product/generic/system/lib/libstagefright_soft_amrnbenc.so
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/Music_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/PhotoTable_intermediates/proguard.classes.jar] Error 1
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/QuickSearchBox_intermediates/proguard.classes.jar] Error 1
Do you know any solutions?
Thanks
try "rm -Rf out/target/common/obj/APPS" and then rebuild
Hey guys, I have a problem with android app. while I wanna compile it, an error occurs!
its like :
--------------------------------------...
[2011-04-20 21:52:27 - KDV] Android Launch!
[2011-04-20 21:52:27 - KDV] adb is running normally.
[2011-04-20 21:52:27 - KDV] Could not find KDV.apk!
--------------------------------------...
Can you help me?
where is the error, and what does it mean?
also in directory "bin/" there is no .apk file, why?
I'm using :
- Ubuntu 10.10 - Maverick Meerkat
- Eclips Version: 3.5.2
- Android 1.6 (API Level-4)
rebuild android 4.4 error
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp: In function 'void android::adapter_state_change_callback(bt_state_t)':
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:95:8: warning: too many arguments for format [-Wformat-extra-args]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp: In function 'jboolean android::getRemoteMasInstancesNative(JNIEnv*, jobject, jbyteArray)':
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:1036:54: warning: passing NULL to non-pointer argument 3 of 'void _JNIEnv::ReleaseByteArrayElements(jbyteArray, jbyte*, jint)' [-Wconversion-null]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_QAdapterService.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hfp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hfpclient.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_a2dp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp: In function 'jboolean android::getProtocolModeNative(JNIEnv*, jobject, jbyteArray)':
packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp:323:5: warning: 'protocolMode' may be used uninitialized in this function [-Wuninitialized]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hidd.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp: In function 'jint android::registerHealthAppNative(JNIEnv*, jobject, jint, jint, jstring, jint)':
packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp:198:41: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_gatt.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/android_hardware_wipower.cpp
packages/apps/Bluetooth/jni/android_hardware_wipower.cpp:48:0: warning: "ALOGV" redefined [enabled by default]
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Vector.h:24,
from frameworks/native/include/binder/IBinder.h:23,
from frameworks/base/include/android_runtime/AndroidRuntime.h:23,
from packages/apps/Bluetooth/jni/android_hardware_wipower.cpp:33:
system/core/include/log/log.h:78:0: note: this is the location of the previous definition
make: *** No rule to make target `/root/cm/out/target/product/mione_plus/obj/lib/libandroid_runtime.so', needed by `/root/cm/out/target/product/mione_plus/obj/SHARED_LIBRARIES/libbluetooth_jni_intermediates/LINKED/libbluetooth_jni.so'. Stop.
hei somebody help me fix this bugs...
i have rebuild again again....

Help with Error

I am building cyanogenmod but I encountered build error.
Anyone can help?
Code:
target StaticLib: libstagefright_g711dec (out/target/product/e510/obj/STATIC_LIBRARIES/libstagefright_g711dec_intermediates/libstagefright_g711dec.a)
target StaticLib: libglib_static (out/target/product/e510/obj/STATIC_LIBRARIES/libglib_static_intermediates/libglib_static.a)
target StaticLib: libbuiltinplugin (out/target/product/e510/obj/STATIC_LIBRARIES/libbuiltinplugin_intermediates/libbuiltinplugin.a)
target StaticLib: libgdbus_static (out/target/product/e510/obj/STATIC_LIBRARIES/libgdbus_static_intermediates/libgdbus_static.a)
target StaticLib: libiptc (out/target/product/e510/obj/STATIC_LIBRARIES/libiptc_intermediates/libiptc.a)
target StaticLib: libext (out/target/product/e510/obj/STATIC_LIBRARIES/libext_intermediates/libext.a)
preparing StaticLib: libc_nomalloc [including out/target/product/e510/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a]
target StaticLib: liblsof (out/target/product/e510/obj/STATIC_LIBRARIES/liblsof_intermediates/liblsof.a)
target StaticLib: libaudiointerface (out/target/product/e510/obj/STATIC_LIBRARIES/libaudiointerface_intermediates/libaudiointerface.a)
target StaticLib: libaudiopolicybase (out/target/product/e510/obj/STATIC_LIBRARIES/libaudiopolicybase_intermediates/libaudiopolicybase.a)
target thumb C++: libcamerastub <= frameworks/base/services/camera/libcameraservice/CameraHardwareStub.cpp
target thumb C++: libcamerastub <= frameworks/base/services/camera/libcameraservice/FakeCamera.cpp
target thumb C++: libmediaplayerservice <= frameworks/base/media/libmediaplayerservice/MediaRecorderClient.cpp
frameworks/base/services/camera/libcameraservice/CameraHardwareStub.cpp: In static member function 'static android::sp<android::CameraHardwareInterface> android::CameraHardwareStub::createInstance()':
frameworks/base/services/camera/libcameraservice/CameraHardwareStub.cpp:400: error: cannot allocate an object of abstract type 'android::CameraHardwareStub'
frameworks/base/services/camera/libcameraservice/CameraHardwareStub.h:31: note: because the following virtual functions are pure within 'android::CameraHardwareStub':
device/lge/e510/include/camera/CameraHardwareInterface.h:96: note: virtual android::status_t android::CameraHardwareInterface::getShutterSound(int)
device/lge/e510/include/camera/CameraHardwareInterface.h:142: note: virtual void android::CameraHardwareInterface::encodeData()
[B]make: *** [out/target/product/e510/obj/STATIC_LIBRARIES/libcamerastub_intermediates/CameraHardwareStub.o] Error 1[/B]
make: *** Waiting for unfinished jobs....
target StaticLib: libc_nomalloc (out/target/product/e510/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)

Categories

Resources