Related
Do Nexus 4 kernels work on the Optimus G if you flash it to the proper partitions?
ie: fastboot flash boot kernel.img
NO. YOU WILL HARD BRICK.
Sent from my Optimus G using xda premium
WHAT?
Why would it hard brick if you flash it to the proper partition?
Talk to Shelnutt2, autoprime, houstonn, or another super user/dev like that. They actively discourage the usage of nexus kernels that are not modified. Your sd card, cap keys, and maybe some other stuff wouldn't work without kernel mods.
Sent from my Optimus G using xda premium
Ah okay, thank you.
Are there any kernels with sweep2wake? I can't seem to find any
ChummyDays said:
N4 doesn't have capacitive keys so no.
But there is a mod that let's you activate the phone by tapping or sliding the screen. (Its for the n4 only though)
Sent from my Optimus G using Tapatalk 2
Click to expand...
Click to collapse
Ah okay, so does that mean it cannot be used/modified for the Optimus G?
dancom96 said:
Why would it hard brick if you flash it to the proper partition?
Click to expand...
Click to collapse
It won't, but the problem is people just flash the zips, which are usually by partition # instead of by partition name, so people hard brick. Because of this we actively discourage it since hard bricking a $500 is not good. If you know enough to make sure it's flashed to the right partition then I won't discourage you. Most things will work.
Shelnutt2 said:
It won't, but the problem is people just flash the zips, which are usually by partition # instead of by partition name, so people hard brick. Because of this we actively discourage it since hard bricking a $500 is not good. If you know enough to make sure it's flashed to the right partition then I won't discourage you. Most things will work.
Click to expand...
Click to collapse
The n4 kernels only boot if your running the rpm/tz from the v20j ota.
Sent from my Optimus G using Tapatalk 4
I tried adding sweep2wake to B18c1 and I get stuck here:
make[3]: *** No rule to make target `drivers/input/touchscreen/sweep2wake.o', needed by `drivers/input/touchscreen/built-in.o'. Stop.
make[2]: *** [drivers/input/touchscreen] Error 2
make[1]: *** [drivers/input] Error 2
Do you know what that means?
dancom96 said:
I tried adding sweep2wake to B18c1 and I get stuck here:
make[3]: *** No rule to make target `drivers/input/touchscreen/sweep2wake.o', needed by `drivers/input/touchscreen/built-in.o'. Stop.
make[2]: *** [drivers/input/touchscreen] Error 2
make[1]: *** [drivers/input] Error 2
Do you know what that means?
Click to expand...
Click to collapse
Did you add the .c and the references to it in kconfig, makefile, and defconfig?
Sent from my LG-LS970 using xda app-developers app
xboxfanj said:
Did you add the .c and the references to it in kconfig, makefile, and defconfig?
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
I was almost certain it wouldn't be that, but it was, thanks! Sweep2wake.c was in the wrong folder for some reason.
I'm now stuck here:
Code:
In file included from include/linux/delay.h:10:0,
from drivers/input/touchscreen/lge_touch_core.c:19:
drivers/input/touchscreen/lge_touch_core.c: In function 'lge_touch_attr_show':
include/linux/kernel.h:696:27: error: dereferencing pointer to incomplete type
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
drivers/input/touchscreen/lge_touch_core.c:1672:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
include/linux/kernel.h:696:48: warning: initialization from incompatible pointer type [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
drivers/input/touchscreen/lge_touch_core.c:1672:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
include/linux/kernel.h:696:48: warning: (near initialization for 'ts') [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
drivers/input/touchscreen/lge_touch_core.c:1672:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
In file included from include/linux/compiler-gcc.h:100:0,
from include/linux/compiler.h:48,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:17,
from include/linux/sysinfo.h:4,
from include/linux/kernel.h:4,
from include/linux/delay.h:10,
from drivers/input/touchscreen/lge_touch_core.c:19:
drivers/input/touchscreen/lge_touch_core.c:1673:13: error: invalid use of undefined type 'struct lge_touch_data'
struct lge_touch_data, lge_touch_kobj);
^
include/linux/compiler-gcc4.h:14:53: note: in definition of macro '__compiler_offsetof'
#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
^
include/linux/kernel.h:697:29: note: in expansion of macro 'offsetof'
(type *)( (char *)__mptr - offsetof(type,member) );})
^
drivers/input/touchscreen/lge_touch_core.c:1672:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
drivers/input/touchscreen/lge_touch_core.c:1679:3: warning: passing argument 1 of 'lge_touch_priv->show' from incompatible pointer type [enabled by default]
ret = lge_touch_priv->show(ts, buf);
^
drivers/input/touchscreen/lge_touch_core.c:1679:3: note: expected 'struct lge_touch_data *' but argument is of type 'struct lge_touch_data *'
In file included from include/linux/delay.h:10:0,
from drivers/input/touchscreen/lge_touch_core.c:19:
drivers/input/touchscreen/lge_touch_core.c: In function 'lge_touch_attr_store':
include/linux/kernel.h:696:27: error: dereferencing pointer to incomplete type
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
drivers/input/touchscreen/lge_touch_core.c:1687:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
include/linux/kernel.h:696:48: warning: initialization from incompatible pointer type [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
drivers/input/touchscreen/lge_touch_core.c:1687:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
include/linux/kernel.h:696:48: warning: (near initialization for 'ts') [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
^
drivers/input/touchscreen/lge_touch_core.c:1687:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
^
In file included from include/linux/compiler-gcc.h:100:0,
from include/linux/compiler.h:48,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:17,
from include/linux/sysinfo.h:4,
from include/linux/kernel.h:4,
from include/linux/delay.h:10,
from drivers/input/touchscreen/lge_touch_core.c:19:
drivers/input/touchscreen/lge_touch_core.c:1688:12: error: invalid use of undefined type 'struct lge_touch_data'
struct lge_touch_data, lge_touch_kobj);
^
include/linux/compiler-gcc4.h:14:53: note: in definition of macro '__compiler_offsetof'
#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
^
include/linux/kernel.h:697:29: note: in expansion of macro 'offsetof'
(type *)( (char *)__mptr - offsetof(type,member) );})
^
drivers/input/touchscreen/lge_touch_core.c:1687:30: note: in expansion of macro 'container_of'
struct lge_touch_data *ts = container_of(lge_touch_kobj,
I'm trying to manually merge the code from the Nexus 4 but the touch code seems to have been completely rewritten for the N4?
Code:
In file included from drivers/input/touchscreen/lge_touch_core.c:57:0:
include/linux/input/sweep2wake.h:36:48: warning: 'struct lge_touch_data' declared inside parameter list [enabled by default]
extern void detect_sweep2wake(int, int, struct lge_touch_data *ts);
^
include/linux/input/sweep2wake.h:36:48: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/input/touchscreen/lge_touch_core.c: In function 'is_single_touch':
drivers/input/touchscreen/lge_touch_core.c:152:47: error: 'struct t_data' has no member named 'state'
if ((!ts->ts_data.curr_data[i].state) ||
^
drivers/input/touchscreen/lge_touch_core.c:153:46: error: 'struct t_data' has no member named 'state'
(ts->ts_data.curr_data[i].state == ABS_RELEASE))
^
--- If you would rather use a ready-to-go Virtual Machine, check out my post here. ---
--- Copied with permission from http://nathanpfry.com ---
TLDR; if you don't care about an explanation of what your system is doing,
click here to check out XDA Senior Member Aaahh's sweet two-step method based on my guide below.
Otherwise, keep reading!
With a new version of Ubuntu comes an update to my world-famous guide for setting up a build environment to compile Android ROMs. The aim of this guide is to simplify the configuration process for you.
Follow the directions step-by-step. All you have to do is copy and paste the code sections in order and you will be up and running in no time!
This guide applies to all variations of Ubuntu 14.10 Utopic Unicorn 64 bit. Do not use the 32 Bit version.
Also, PAY CLOSE ATTENTION when to use "sudo" and when to not. It can make things funky if you do something as root that you shouldn't.
Much thanks goes out to Google, ProTekk, Canonical, and everyone else that I read a random paragraph here and snippet there.
Ready to begin? Ok.
1) Unless it's a completely fresh Ubuntu installation, many of you may have the wrong version of Java installed. Let's fix that first.
The command below makes sure you're starting with a clean slate. Copy and paste it into a terminal (command prompt) window:
Code:
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\*
If necessary, follow the on-screen instructions to remove any previous versions. Otherwise, move on to the next step.
It's time to install Java, one of the core pieces for compiling Android ROMs. Depending on which version of Android you are building, you will need the corresponding version of the Java Development Kit.
*** IF YOU ARE BUILDING ANDROID GINGERBREAD THRU KITKAT (2.3 - 4.4.x) USE THESE INSTRUCTIONS FOR JDK 6***
2) Copy and paste the following into the terminal:
Code:
sudo add-apt-repository ppa:webupd8team/java
This will add the correct PPA to your system for updated builds of Java 6 JDK.
3) Now you need to install the package. More copy-paste:
Code:
sudo apt-get update && sudo apt-get install oracle-java6-installer
Follow the on-screen instructions. You must accept the Licensing Agreement to complete the install.
Press Enter to acknowledge the "OK", then tab over to "Yes" and press Enter again to accept the license. The installation will continue automatically.
4) Let's make sure the correct version of Java is activated. Run the terminal command:
Code:
java -version
You should see something like:
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)
Continue to Step 5.
*** IF YOU ARE BUILDING ANDROID L AND ABOVE (CURRENT AOSP MASTER BRANCH) USE THESE INSTRUCTIONS FOR JDK 7***
2) Install Open-JDK 7 for the necessary Java development tools.
Code:
sudo apt-get update && sudo apt-get install openjdk-7-jdk
Follow the on-screen instructions.
3) Let's make sure the correct version of Java is activated. Run the terminal command:
Code:
java -version
You should see something like OpenJDK 1.7
Continue on to Step 5.
5) Back to a fresh terminal prompt. Install the main build tools with this command:
Code:
sudo apt-get install git gnupg ccache lzop flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z1-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc libreadline6-dev lib32readline-gplv2-dev libncurses5-dev bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev squashfs-tools pngcrush schedtool dpkg-dev
6) When those are done installing, run the next line in your terminal window:
Code:
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
That's it on the package side of things. You guessed it, time for more Terminal. This really is the easiest way, I promise.
7) A program called "repo" lets you communicate with git servers and download all that precious source code. The next command will install it:
Code:
mkdir ~/bin && curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo
8) Use your favorite text editor to open ~/.bashrc - I like nano:
Code:
sudo nano ~/.bashrc
9) At the very bottom (use the Page Down key) paste this code to a new (empty) line:
Code:
export PATH=~/bin:$PATH
10) Save it. In nano that would be Ctrl-O and then Enter. Then Ctrl-X to exit back to a prompt. Restart bash:
Code:
source ~/.bashrc
11) In the terminal, navigate to where you would like to download the Android source code. The commands below will make it in your home folder, but if you have limited space you may want to create it somewhere else. Faster is better, i.e. SSD would be best, USB external (even 3.0) will be comparatively slow. Here we go:
Code:
mkdir ~/android
cd ~/android
12) Now you're going to initialize the repo. This is where you decide the flavor of Android you want to build, i.e. AOKP, CyanogenMod, AOSP etc.
For the purposes of the tutorial, here's the command for AOKP KitKat:
Code:
repo init -u git://github.com/AOKP/platform_manifest.git -b kitkat
13) Almost there. Last step, it's a doozy. Time to get the source. Prepare yourself, 10+ GB of downloading await.
Don't worry, it's automated.
Hey everyone, it's the final terminal command:
Code:
repo sync
Check back periodically every hour or so. It all depends on how fast your connection is.
That should be everything. Now you're ready to build Android the right way. Good luck!
Feel free to buy me a coconut water (donate) if you like my work. It would be greatly appreciated!
Please hit the "Thanks" button if this post helped you out!
Error while compiling in ubuntu 14.04
i am trying to build aosp_2.3.x using above instruction but facing problem
i am using ubuntu 14.04 64 bit
[email protected]:/home/hackjack/Desktop/aosp_2.3.x# . build/envsetup.sh
including device/htc/passion/vendorsetup.sh
including device/samsung/crespo4g/vendorsetup.sh
including device/samsung/crespo/vendorsetup.sh
[email protected]:/home/hackjack/Desktop/aosp_2.3.x# lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. simulator
4. full_passion-userdebug
5. full_crespo4g-userdebug
6. full_crespo-userdebug
Which would you like? [full-eng] 1
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
[email protected]:/home/hackjack/Desktop/aosp_2.3.x# make -j6
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
Install: out/host/linux-x86/framework/apicheck.jar
Install: out/host/linux-x86/framework/clearsilver.jar
Install: out/host/linux-x86/lib/libneo_util.so
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/emma_out/lib/classes-jarjar.jar
Install: out/host/linux-x86/framework/dx.jar
host C++: aapt <= frameworks/base/tools/aapt/AaptAssets.cpp
host C++: aapt <= frameworks/base/tools/aapt/Command.cpp
host C++: aapt <= frameworks/base/tools/aapt/Main.cpp
host C++: aapt <= frameworks/base/tools/aapt/Package.cpp
host C++: aapt <= frameworks/base/tools/aapt/StringPool.cpp
host C++: aapt <= frameworks/base/tools/aapt/XMLNode.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
frameworks/base/tools/aapt/StringPool.cpp:1:0: note: this is the location of the previous definition
//
^
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
frameworks/base/tools/aapt/Command.cpp:1:0: note: this is the location of the previous definition
//
^
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
frameworks/base/tools/aapt/Package.cpp:1:0: note: this is the location of the previous definition
//
^
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
frameworks/base/tools/aapt/AaptAssets.cpp:1:0: note: this is the location of the previous definition
//
^
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
frameworks/base/tools/aapt/Main.cpp:1:0: note: this is the location of the previous definition
//
^
frameworks/base/tools/aapt/XMLNode.cpp:1:0: note: this is the location of the previous definition
//
^
In file included from frameworks/base/tools/aapt/Main.h:10:0,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/StringPool.cpp:7:
frameworks/base/include/utils/threads.h:259:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(const char* name) {
^
frameworks/base/include/utils/threads.h:262:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(int type, const char* name) {
^
frameworks/base/include/utils/threads.h:351:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(const char* name) {
^
frameworks/base/include/utils/threads.h:354:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(int type, const char* name) {
^
In file included from frameworks/base/tools/aapt/Main.h:10:0,
from frameworks/base/tools/aapt/Main.cpp:6:
frameworks/base/include/utils/threads.h:259:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(const char* name) {
^
frameworks/base/include/utils/threads.h:262:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(int type, const char* name) {
^
frameworks/base/include/utils/threads.h:351:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(const char* name) {
^
frameworks/base/include/utils/threads.h:354:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(int type, const char* name) {
^
In file included from frameworks/base/include/utils/AssetManager.h:23:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outStart’ [-Wunused-parameter]
virtual int openFileDescriptor(off_t* outStart, off_t* outLength) const { return -1; }
^
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outLength’ [-Wunused-parameter]
In file included from frameworks/base/include/utils/AssetManager.h:23:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Main.cpp:6:
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outStart’ [-Wunused-parameter]
virtual int openFileDescriptor(off_t* outStart, off_t* outLength) const { return -1; }
^
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outLength’ [-Wunused-parameter]
In file included from frameworks/base/include/utils/AssetManager.h:23:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/StringPool.cpp:7:
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outStart’ [-Wunused-parameter]
virtual int openFileDescriptor(off_t* outStart, off_t* outLength) const { return -1; }
^
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outLength’ [-Wunused-parameter]
In file included from frameworks/base/include/utils/ZipFileRO.h:35:0,
from frameworks/base/include/utils/AssetManager.h:29,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/utils/threads.h:259:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(const char* name) {
^
frameworks/base/include/utils/threads.h:262:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(int type, const char* name) {
^
frameworks/base/include/utils/threads.h:351:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(const char* name) {
^
frameworks/base/include/utils/threads.h:354:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(int type, const char* name) {
^
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Main.cpp:6:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
In file included from frameworks/base/tools/aapt/Main.h:10:0,
from frameworks/base/tools/aapt/Package.cpp:6:
frameworks/base/include/utils/threads.h:259:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(const char* name) {
^
frameworks/base/include/utils/threads.h:262:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(int type, const char* name) {
^
frameworks/base/include/utils/threads.h:351:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(const char* name) {
^
frameworks/base/include/utils/threads.h:354:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(int type, const char* name) {
^
In file included from frameworks/base/tools/aapt/Main.h:10:0,
from frameworks/base/tools/aapt/Command.cpp:6:
frameworks/base/include/utils/threads.h:259:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(const char* name) {
^
frameworks/base/include/utils/threads.h:262:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(int type, const char* name) {
^
frameworks/base/include/utils/threads.h:351:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(const char* name) {
^
frameworks/base/include/utils/threads.h:354:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(int type, const char* name) {
^
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/StringPool.cpp:7:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
In file included from frameworks/base/include/utils/AssetManager.h:23:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Package.cpp:6:
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outStart’ [-Wunused-parameter]
virtual int openFileDescriptor(off_t* outStart, off_t* outLength) const { return -1; }
^
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outLength’ [-Wunused-parameter]
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Main.cpp:6:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ssize_t i = indexOfKey(key);
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
In file included from frameworks/base/include/utils/AssetManager.h:23:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Command.cpp:6:
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outStart’ [-Wunused-parameter]
virtual int openFileDescriptor(off_t* outStart, off_t* outLength) const { return -1; }
^
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outLength’ [-Wunused-parameter]
frameworks/base/tools/aapt/StringPool.cpp: In function ‘void printStringPool(const android::ResStringPool*)’:
frameworks/base/tools/aapt/StringPool.cpp:33:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t {aka unsigned int}’ [-Wformat=]
printf("String #%ld: %s\n", s, str);
^
In file included from frameworks/base/tools/aapt/Main.h:10:0,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/XMLNode.h:10,
from frameworks/base/tools/aapt/XMLNode.cpp:7:
frameworks/base/include/utils/threads.h:259:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(const char* name) {
^
frameworks/base/include/utils/threads.h:262:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline Mutex::Mutex(int type, const char* name) {
^
frameworks/base/include/utils/threads.h:351:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(const char* name) {
^
frameworks/base/include/utils/threads.h:354:8: warning: unused parameter ‘name’ [-Wunused-parameter]
inline RWLock::RWLock(int type, const char* name) {
^
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/StringPool.cpp:7:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ssize_t i = indexOfKey(key);
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = int]’:
frameworks/base/tools/aapt/StringPool.cpp:60:45: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Package.cpp:6:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String16, int>’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Main.o] Error 1
make: *** Waiting for unfinished jobs....
frameworks/base/tools/aapt/AaptAssets.cpp:1877:1: warning: unused parameter ‘bundle’ [-Wunused-parameter]
AaptAssets::slurpResourceZip(Bundle* bundle, const char* filename)
^
In file included from frameworks/base/include/utils/AssetManager.h:23:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/XMLNode.h:10,
from frameworks/base/tools/aapt/XMLNode.cpp:7:
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outStart’ [-Wunused-parameter]
virtual int openFileDescriptor(off_t* outStart, off_t* outLength) const { return -1; }
^
frameworks/base/include/utils/Asset.h:299:17: warning: unused parameter ‘outLength’ [-Wunused-parameter]
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/AaptAssets.cpp:5:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ssize_t i = indexOfKey(key);
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Command.cpp:6:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptGroup>]’:
frameworks/base/tools/aapt/AaptAssets.cpp:1388:41: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptGroup> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptDir>]’:
frameworks/base/tools/aapt/AaptAssets.cpp:1447:53: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptDir> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
In file included from frameworks/base/tools/aapt/AaptAssets.h:18:0,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/XMLNode.h:10,
from frameworks/base/tools/aapt/XMLNode.cpp:7:
frameworks/base/tools/aapt/ZipFile.h:65:5: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/StringPool.o] Error 1
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Error 1
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Package.cpp:6:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ssize_t i = indexOfKey(key);
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = unsigned int]’:
frameworks/base/tools/aapt/ResourceTable.h:480:100: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String16, unsigned int>’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/Command.cpp:6:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ssize_t i = indexOfKey(key);
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = unsigned int]’:
frameworks/base/tools/aapt/ResourceTable.h:480:100: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String16, unsigned int>’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/tools/aapt/XMLNode.cpp:176:10: warning: unused parameter ‘bundle’ [-Wunused-parameter]
status_t parseStyledString(Bundle* bundle,
^
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Package.o] Error 1
In file included from frameworks/base/include/utils/AssetManager.h:25:0,
from frameworks/base/tools/aapt/AaptAssets.h:10,
from frameworks/base/tools/aapt/Main.h:14,
from frameworks/base/tools/aapt/StringPool.h:10,
from frameworks/base/tools/aapt/XMLNode.h:10,
from frameworks/base/tools/aapt/XMLNode.cpp:7:
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]’:
frameworks/base/tools/aapt/AaptAssets.h:419:59: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
ssize_t i = indexOfKey(key);
^
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String8, android::sp<AaptSymbols> >’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of ‘const VALUE& android:efaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String16; VALUE = unsigned int]’:
frameworks/base/tools/aapt/ResourceTable.h:480:100: required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: ‘indexOfKey’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base ‘android::KeyedVector<android::String16, unsigned int>’ are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use ‘this->indexOfKey’ instead
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/Command.o] Error 1
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/XMLNode.o] Error 1
[email protected]:/home/hackjack/Desktop/aosp_2.3.x#
Click to expand...
Click to collapse
i have highligted the error message
i am using aosp as base rom
below is the command use to get the repo
repo init -u https // android [dot] googlesource [dot] com/platform/manifest.git -b gingerbread
BUILDING lollipop's
Hi all, im trying to build LOLLI for our kumquat, i'm FAR, far, far....from expert, so im not gona tell you how to... ill ASK you..
I hope we can do something together, that's why im opening this thread.. something like help-thread for all of us.
We can share some tip's, guides, questions, answers...
THIS are my sources, and so far... i have done.. a lot of mistakes
{
"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"
}
booted
This is my last error...
Im going to sleep now.
HTML:
bootable/recovery/minui/graphics_overlay.c: In function 'target_has_overlay':
bootable/recovery/minui/graphics_overlay.c:284:31: warning: unused parameter 'version' [-Wunused-parameter]
bool target_has_overlay(char *version) {
^
bootable/recovery/minui/graphics_overlay.c: In function 'alloc_ion_mem':
bootable/recovery/minui/graphics_overlay.c:292:32: warning: unused parameter 'size' [-Wunused-parameter]
int alloc_ion_mem(unsigned int size)
^
bootable/recovery/minui/graphics_overlay.c: In function 'allocate_overlay':
bootable/recovery/minui/graphics_overlay.c:297:26: warning: unused parameter 'fd' [-Wunused-parameter]
int allocate_overlay(int fd, GGLSurface gr_fb[])
^
bootable/recovery/minui/graphics_overlay.c:297:41: warning: unused parameter 'gr_fb' [-Wunused-parameter]
int allocate_overlay(int fd, GGLSurface gr_fb[])
^
bootable/recovery/minui/graphics_overlay.c: In function 'free_overlay':
bootable/recovery/minui/graphics_overlay.c:302:22: warning: unused parameter 'fd' [-Wunused-parameter]
int free_overlay(int fd)
^
bootable/recovery/minui/graphics_overlay.c: In function 'overlay_display_frame':
bootable/recovery/minui/graphics_overlay.c:307:31: warning: unused parameter 'fd' [-Wunused-parameter]
int overlay_display_frame(int fd, GGLubyte* data, size_t size)
^
bootable/recovery/minui/graphics_overlay.c:307:45: warning: unused parameter 'data' [-Wunused-parameter]
int overlay_display_frame(int fd, GGLubyte* data, size_t size)
^
bootable/recovery/minui/graphics_overlay.c:307:58: warning: unused parameter 'size' [-Wunused-parameter]
int overlay_display_frame(int fd, GGLubyte* data, size_t size)
^
target thumb C: libminui <= bootable/recovery/minui/graphics.c
Import includes file: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/import_includes
target arm C: libz <= external/zlib/src/adler32.c
bootable/recovery/minui/resources.c: In function 'res_create_surface':
bootable/recovery/minui/resources.c:100:30: error: dereferencing pointer to incomplete type
int color_type = info_ptr->color_type;
^
bootable/recovery/minui/resources.c:101:29: error: dereferencing pointer to incomplete type
int bit_depth = info_ptr->bit_depth;
^
bootable/recovery/minui/resources.c:102:28: error: dereferencing pointer to incomplete type
int channels = info_ptr->channels;
^
bootable/recovery/minui/resources.c:112:28: error: dereferencing pointer to incomplete type
size_t width = info_ptr->width;
^
bootable/recovery/minui/resources.c:113:29: error: dereferencing pointer to incomplete type
size_t height = info_ptr->height;
^
bootable/recovery/minui/resources.c: In function 'res_create_localized_surface':
bootable/recovery/minui/resources.c:253:28: error: dereferencing pointer to incomplete type
size_t width = info_ptr->width;
^
bootable/recovery/minui/resources.c:254:29: error: dereferencing pointer to incomplete type
size_t height = info_ptr->height;
^
bootable/recovery/minui/resources.c:257:30: error: dereferencing pointer to incomplete type
int color_type = info_ptr->color_type;
^
bootable/recovery/minui/resources.c:258:29: error: dereferencing pointer to incomplete type
int bit_depth = info_ptr->bit_depth;
^
bootable/recovery/minui/resources.c:259:28: error: dereferencing pointer to incomplete type
int channels = info_ptr->channels;
^
bootable/recovery/minui/resources.c:269:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (y = 0; y < height; ++y) {
^
bootable/recovery/minui/resources.c:274:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
char* loc = row+5;
^
bootable/recovery/minui/resources.c:276:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (y+1+h >= height || matches_locale(loc)) {
^
target arm C: libz <= external/zlib/src/compress.c
make: *** [out/target/product/kumquat/obj/STATIC_LIBRARIES/libminui_intermediates/resources.o] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (02:33 (mm:ss)) ####
[email protected]:~/android$ exit
Maybe this helps you -
https://github.com/CustomRomSources
pirej said:
This is my last error...
Im going to sleep now.
HTML:
bootable/recovery/minui/graphics_overlay.c: In function 'target_has_overlay':bootable/recovery/minui/graphics_overlay.c:284:31: warning: unused parameter 'version' [-Wunused-parameter] bool target_has_overlay(char *version) { ^bootable/recovery/minui/graphics_overlay.c: In function 'alloc_ion_mem':bootable/recovery/minui/graphics_overlay.c:292:32: warning: unused parameter 'size' [-Wunused-parameter] int alloc_ion_mem(unsigned int size) ^bootable/recovery/minui/graphics_overlay.c: In function 'allocate_overlay':bootable/recovery/minui/graphics_overlay.c:297:26: warning: unused parameter 'fd' [-Wunused-parameter] int allocate_overlay(int fd, GGLSurface gr_fb[]) ^bootable/recovery/minui/graphics_overlay.c:297:41: warning: unused parameter 'gr_fb' [-Wunused-parameter] int allocate_overlay(int fd, GGLSurface gr_fb[]) ^bootable/recovery/minui/graphics_overlay.c: In function 'free_overlay':bootable/recovery/minui/graphics_overlay.c:302:22: warning: unused parameter 'fd' [-Wunused-parameter] int free_overlay(int fd) ^bootable/recovery/minui/graphics_overlay.c: In function 'overlay_display_frame':bootable/recovery/minui/graphics_overlay.c:307:31: warning: unused parameter 'fd' [-Wunused-parameter] int overlay_display_frame(int fd, GGLubyte* data, size_t size) ^bootable/recovery/minui/graphics_overlay.c:307:45: warning: unused parameter 'data' [-Wunused-parameter] int overlay_display_frame(int fd, GGLubyte* data, size_t size) ^bootable/recovery/minui/graphics_overlay.c:307:58: warning: unused parameter 'size' [-Wunused-parameter] int overlay_display_frame(int fd, GGLubyte* data, size_t size) ^target thumb C: libminui <= bootable/recovery/minui/graphics.cImport includes file: out/target/product/kumquat/obj/STATIC_LIBRARIES/libpng_intermediates/import_includestarget arm C: libz <= external/zlib/src/adler32.cbootable/recovery/minui/resources.c: In function 'res_create_surface':bootable/recovery/minui/resources.c:100:30: error: dereferencing pointer to incomplete type int color_type = info_ptr->color_type; ^bootable/recovery/minui/resources.c:101:29: error: dereferencing pointer to incomplete type int bit_depth = info_ptr->bit_depth; ^bootable/recovery/minui/resources.c:102:28: error: dereferencing pointer to incomplete type int channels = info_ptr->channels; ^bootable/recovery/minui/resources.c:112:28: error: dereferencing pointer to incomplete type size_t width = info_ptr->width; ^bootable/recovery/minui/resources.c:113:29: error: dereferencing pointer to incomplete type size_t height = info_ptr->height; ^bootable/recovery/minui/resources.c: In function 'res_create_localized_surface':bootable/recovery/minui/resources.c:253:28: error: dereferencing pointer to incomplete type size_t width = info_ptr->width; ^bootable/recovery/minui/resources.c:254:29: error: dereferencing pointer to incomplete type size_t height = info_ptr->height; ^bootable/recovery/minui/resources.c:257:30: error: dereferencing pointer to incomplete type int color_type = info_ptr->color_type; ^bootable/recovery/minui/resources.c:258:29: error: dereferencing pointer to incomplete type int bit_depth = info_ptr->bit_depth; ^bootable/recovery/minui/resources.c:259:28: error: dereferencing pointer to incomplete type int channels = info_ptr->channels; ^bootable/recovery/minui/resources.c:269:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (y = 0; y < height; ++y) { ^bootable/recovery/minui/resources.c:274:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char* loc = row+5; ^bootable/recovery/minui/resources.c:276:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (y+1+h >= height || matches_locale(loc)) { ^target arm C: libz <= external/zlib/src/compress.cmake: *** [out/target/product/kumquat/obj/STATIC_LIBRARIES/libminui_intermediates/resources.o] Error 1make: *** Waiting for unfinished jobs....#### make failed to build some targets (02:33 (mm:ss)) ####[email protected]:~/android$ exit
Click to expand...
Click to collapse
You are using twrp from KitKat branch, you can try to patch omnirom twrp from lollipop branch with agontuk patches
Sent from my XT1032 using XDA Free mobile app
Gava97 said:
You are using twrp from KitKat branch, you can try to patch omnirom twrp from lollipop branch with agontuk patches
Click to expand...
Click to collapse
Im trying to patch now , thanks.
Thanks @Gava97 , now the build goes on.. until the new (busybox)error
I didn't try anything yet, im at work now, ill try later.
HTML:
target thumb C: libuclibcrpc <= external/busybox/android/librpc/pm_getmaps.c
[01m[Kexternal/busybox/android/librpc/pmap_rmt.c:63:23:[m[K [01;31m[Kerror: [m[Kstatic declaration of '[01m[Kinet_makeaddr[m[K' follows non-static declaration
static struct in_addr inet_makeaddr(in_addr_t net, in_addr_t host)
[01;32m[K ^[m[K
In file included from external/busybox/android/librpc/pmap_rmt.c:59:0:
[01m[Kbionic/libc/include/arpa/inet.h:42:16:[m[K [01;36m[Knote: [m[Kprevious declaration of '[01m[Kinet_makeaddr[m[K' was here
struct in_addr inet_makeaddr(in_addr_t, in_addr_t);
[01;32m[K ^[m[K
[01m[Kexternal/busybox/android/librpc/pmap_rmt.c:78:18:[m[K [01;31m[Kerror: [m[Kstatic declaration of '[01m[Kinet_netof[m[K' follows non-static declaration
static in_addr_t inet_netof(struct in_addr in)
[01;32m[K ^[m[K
In file included from external/busybox/android/librpc/pmap_rmt.c:59:0:
[01m[Kbionic/libc/include/arpa/inet.h:43:11:[m[K [01;36m[Knote: [m[Kprevious declaration of '[01m[Kinet_netof[m[K' was here
in_addr_t inet_netof(struct in_addr);
[01;32m[K ^[m[K
make: *** [out/target/product/kumquat/obj/STATIC_LIBRARIES/libuclibcrpc_intermediates/android/librpc/pmap_rmt.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
#### make failed to build some targets (02:37 (mm:ss)) ####
]0;[email protected]: ~/android[email protected]:~/android$ exit
exit
Script done on пет, 07 ное 2014 16:12:57 CET
By the way, i love the new build colors
Busybox error fixed, now different problem...
HTML:
bootable/recovery/openaes/src/oaes_lib.c:36:23: fatal error: sys/timeb.h: No such file or directory
#include <sys/timeb.h>
^
compilation terminated.
Some info..
Edit: sys/timeb.h its not supposed to be included at all in "L" ??
pirej said:
Busybox error fixed, now different problem...
HTML:
bootable/recovery/openaes/src/oaes_lib.c:36:23: fatal error: sys/timeb.h: No such file or directory
#include <sys/timeb.h>
^
compilation terminated.
Some info..
Edit: sys/timeb.h its not supposed to be included at all in "L" ??
Click to expand...
Click to collapse
How did you fix the busybox error??
Change every repo based in KitKat with the one based in Lollipop
BTW, why don't you just wait?
If you don't know how to fix those simple errors, how do you expect to get it booting?
@Garcia98 , are you trying to argue or..?
I really don't get you, if you don't want to help, then just don't.
pirej said:
@Garcia98 , are you trying to argue or..?
I really don't get you, if you don't want to help, then just don't.
Click to expand...
Click to collapse
I just gave you a tip
Garcia98 said:
I just gave you a tip
Click to expand...
Click to collapse
probably he wants to improve his skills... i think...
I had to show-off... hahaha
See this pictures, fresh from the oven ihiihi
I didnt tested it at all... YET...
Big thanks to AOSX team, and @Gava97 :good:
pirej said:
I had to show-off... hahaha
See this pictures, fresh from the oven ihiihi
I didnt tested it at all... YET...
Big thanks to AOSX team, and @Gava97 :good:
Click to expand...
Click to collapse
cool, looking forward to your work nice job buddy...
pirej said:
I had to show-off... hahaha
See this pictures, fresh from the oven ihiihi
I didnt tested it at all... YET...
Big thanks to AOSX team, and @Gava97 :good:
Click to expand...
Click to collapse
make it for sola too if you can i can test it if you want.
U mean that u have built omni rom android lollipop if so post it faster wating for it :good::good:
bharathbondfire said:
U mean that u have built omni rom android lollipop if so post it faster wating for it :good::good:
Click to expand...
Click to collapse
Yes, but ill have to boot it first
Not booting at the moment..
Finaly booted
Finaly booted
picture
Nothing works... by the way
Awesome bro hope u can fix them and release a build
Not working on the xperia p.
Simce the galaxy player 4.0 has official cm11 support, i was wondering how hard would it be to port cm12 to the galaxy player 4.0? I tried to compile cm12 from source. I used beblos's ypg1 cm11 device tree/kernel, but compiling failed.
Code:
bootable/recovery/minadbd/services.c: In function 'sideload_host_service':
bootable/recovery/minadbd/services.c:55:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint32_t' [-Wformat=]
printf("sideload-host file size %llu block size %lu\n", file_size, block_size);
^
target thumb C: libminadbd <= bootable/recovery/minadbd/usb_linux_client.c
target thumb C: libminadbd <= bootable/recovery/minadbd/utils.c
target thumb C: libfusesideload <= bootable/recovery/fuse_sideload.c
make: *** No rule to make target `/home/owner/android/system/out/target/product/ypg1/utilities/flash_image', needed by `TARGET_KERNEL_BINARIES'. Stop.
make: *** Waiting for unfinished jobs....
host Java: dumpkey (/home/owner/android/system/out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/classes)
bootable/recovery/fuse_sideload.c: In function 'fuse_reply':
bootable/recovery/fuse_sideload.c:108:21: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
vec[1].iov_base = data;
^
this is where it initally fails.
Sent from my GT-P3110 using Tapatalk
dorfd1 said:
Simce the galaxy player 4.0 has official cm11 support, i was wondering how hard would it be to port cm12 to the galaxy player 4.0? I tried to compile cm12 from source. I used beblos's ypg1 cm11 device tree/kernel, but compiling failed.
Code:
bootable/recovery/minadbd/services.c: In function 'sideload_host_service':
bootable/recovery/minadbd/services.c:55:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint32_t' [-Wformat=]
printf("sideload-host file size %llu block size %lu\n", file_size, block_size);
^
target thumb C: libminadbd <= bootable/recovery/minadbd/usb_linux_client.c
target thumb C: libminadbd <= bootable/recovery/minadbd/utils.c
target thumb C: libfusesideload <= bootable/recovery/fuse_sideload.c
make: *** No rule to make target `/home/owner/android/system/out/target/product/ypg1/utilities/flash_image', needed by `TARGET_KERNEL_BINARIES'. Stop.
make: *** Waiting for unfinished jobs....
host Java: dumpkey (/home/owner/android/system/out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/classes)
bootable/recovery/fuse_sideload.c: In function 'fuse_reply':
bootable/recovery/fuse_sideload.c:108:21: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
vec[1].iov_base = data;
^
this is where it initally fails.
Sent from my GT-P3110 using Tapatalk
Click to expand...
Click to collapse
It looks like the "utilities" in the out dir has moved... Look inside "symbols" in the out dir and change your code accordingly
I do not have a symbols folder
dorfd1 said:
I do not have a symbols folder
Click to expand...
Click to collapse
It should be here: /home/owner/android/system/out/target/product/ypg1/symbols
If it's not there then, probably, none of the symbols have been built yet.
You probably need to modify your shbootimg.mk in your device tree.
If you have $(PRODUCT_OUT)/utilities/flash_image you probably need to change it to $(PRODUCT_OUT)/symbols/system/bin/flash_image ...
This is just a guess though... but I've had similar problems with CM12 on venturi...
Meticulus said:
It should be here: /home/owner/android/system/out/target/product/ypg1/symbols
If it's not there then, probably, none of the symbols have been built yet.
You probably need to modify your shbootimg.mk in your device tree.
If you have $(PRODUCT_OUT)/utilities/flash_image you probably need to change it to $(PRODUCT_OUT)/symbols/system/bin/flash_image ...
This is just a guess though... but I've had similar problems with CM12 on venturi...
Click to expand...
Click to collapse
I did the changes and I will try to compile again later. Thanks for your help.
Code:
LOCAL_PATH := $(call my-dir)
# Uncompress ramdisk.img to avoid double compression
uncompressed_ramdisk := $(PRODUCT_OUT)/ramdisk.cpio
$(uncompressed_ramdisk): $(INSTALLED_RAMDISK_TARGET)
$(MINIGZIP) -d < $(INSTALLED_RAMDISK_TARGET) > [email protected]
# Add ramdisk dependencies to kernel
TARGET_KERNEL_BINARIES: $(recovery_ramdisk) $(uncompressed_ramdisk) $(PRODUCT_OUT)/symbols/system/bin/flash_image $(PRODUCT_OUT)/utilities/busybox $(PRODUCT_OUT)/symbols/system/bin/make_ext4fs $(PRODUCT_OUT)/utilities/erase_image $(PRODUCT_OUT)/symbols/system/bin/bml_over_mtd
#
INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img
$(INSTALLED_BOOTIMAGE_TARGET): $(INSTALLED_KERNEL_TARGET)
$(call pretty,"Boot image: [email protected]")
$(hide) $(ACP) $(INSTALLED_KERNEL_TARGET) [email protected]
$(INSTALLED_RECOVERYIMAGE_TARGET): $(INSTALLED_BOOTIMAGE_TARGET)
$(ACP) $(INSTALLED_BOOTIMAGE_TARGET) [email protected]
my shbootimg.mk
Code:
Export includes file: system/core/adf/libadf/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libadf_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libadf_intermediates/import_includes
Export includes file: external/zlib/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libz_intermediates/export_includes
Export includes file: system/core/libbacktrace/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libbacktrace_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libz_intermediates/import_includes
Export includes file: external/stlport/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libstlport_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libstdc++_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libsuspend_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libhealthd.default_intermediates/import_includes
Export includes file: system/core/healthd/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/healthd_intermediates/export_includes
Notice file: external/libpng/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libpng.a.txt
Notice file: external/zlib/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libz.a.txt
Notice file: system/core/libutils/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libutils.a.txt
Notice file: bionic/libc/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libstdc++.a.txt
Export includes file: external/f2fs-tools/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libf2fs_fmt_intermediates/export_includes
Export includes file: external/e2fsprogs/lib/uuid/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libext2_uuid_static_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libf2fs_fmt_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libext2_uuid_static_intermediates/import_includes
Export includes file: external/f2fs-tools/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/mkfs.f2fs_intermediates/export_includes
Notice file: external/f2fs-tools/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/sbin/mkfs.f2fs.txt
Notice file: external/f2fs-tools/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//system/lib/libf2fs_fmt.a.txt
Import includes file: /home/owner/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkseapp_intermediates/import_includes
Export includes file: external/sepolicy/tools/Android.mk -- /home/owner/android/system/out/host/linux-x86/obj32/EXECUTABLES/checkseapp_intermediates/export_includes
Notice file: external/sepolicy/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/seapp_contexts.txt
Notice file: external/sepolicy/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/selinux_version.txt
Notice file: external/sepolicy/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/sepolicy.txt
Notice file: external/sepolicy/NOTICE -- /home/owner/android/system/out/target/product/ypg1/obj/NOTICE_FILES/src//root/service_contexts.txt
make: Circular /home/owner/android/system/out/target/product/ypg1/ramdisk-recovery.img <- /home/owner/android/system/out/target/product/ypg1/boot.img dependency dropped.
Target buildinfo: /home/owner/android/system/out/target/product/ypg1/root/default.prop
Export includes file: bootable/recovery/minzip/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libminzip_intermediates/export_includes
build/tools/post_process_props.py /home/owner/android/system/out/target/product/ypg1/root/default.prop
Export includes file: bootable/recovery/mtdutils/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libmtdutils_intermediates/export_includes
Export includes file: bootable/recovery/minadbd/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libminadbd_intermediates/export_includes
Export includes file: bootable/recovery/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libfusesideload_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libsparse_static_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libminzip_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libmtdutils_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libminadbd_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libfusesideload_intermediates/import_includes
Export includes file: bootable/recovery/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/recovery_intermediates/export_includes
Target buildinfo: /home/owner/android/system/out/target/product/ypg1/system/build.prop
host Java: bouncycastle-host (/home/owner/android/system/out/host/common/obj/JAVA_LIBRARIES/bouncycastle-host_intermediates/classes)
Target buildinfo from: device/samsung/ypg1/system.prop
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/flash_image_intermediates/import_includes
find: `/home/owner/android/system/out/target/product/ypg1/obj/EXECUTABLES/busybox_intermediates': No such file or directory
Prepare config for busybox binary
make -C external/busybox prepare O=/home/owner/android/system/out/target/product/ypg1/obj/busybox/full
make[1]: Entering directory `/home/owner/android/system/external/busybox'
GEN /home/owner/android/system/out/target/product/ypg1/obj/busybox/full/Makefile
GEN include/applets.h
GEN include/usage.h
GEN networking/Kbuild
GEN networking/Config.in
GEN networking/udhcp/Kbuild
GEN networking/udhcp/Config.in
GEN networking/libiproute/Kbuild
GEN runit/Kbuild
GEN runit/Config.in
GEN sysklogd/Kbuild
GEN sysklogd/Config.in
GEN shell/Kbuild
GEN shell/Config.in
GEN modutils/Kbuild
GEN modutils/Config.in
GEN findutils/Kbuild
GEN findutils/Config.in
GEN debianutils/Kbuild
GEN debianutils/Config.in
GEN loginutils/Kbuild
GEN loginutils/Config.in
GEN procps/Kbuild
GEN procps/Config.in
GEN util-linux/Kbuild
GEN util-linux/Config.in
GEN util-linux/volume_id/Kbuild
GEN util-linux/volume_id/Config.in
GEN miscutils/Kbuild
GEN miscutils/Config.in
GEN libbb/Kbuild
GEN libbb/Config.in
GEN e2fsprogs/Kbuild
GEN e2fsprogs/Config.in
GEN e2fsprogs/old_e2fsprogs/Kbuild
GEN e2fsprogs/old_e2fsprogs/Config.in
GEN e2fsprogs/old_e2fsprogs/ext2fs/Kbuild
GEN e2fsprogs/old_e2fsprogs/uuid/Kbuild
GEN e2fsprogs/old_e2fsprogs/e2p/Kbuild
GEN e2fsprogs/old_e2fsprogs/blkid/Kbuild
GEN editors/Kbuild
GEN editors/Config.in
GEN printutils/Kbuild
GEN printutils/Config.in
GEN mailutils/Kbuild
GEN mailutils/Config.in
GEN applets/Kbuild
GEN libpwdgrp/Kbuild
GEN scripts/Kbuild
GEN console-tools/Kbuild
GEN console-tools/Config.in
GEN coreutils/Kbuild
GEN coreutils/Config.in
GEN coreutils/libcoreutils/Kbuild
GEN archival/Kbuild
GEN archival/Config.in
GEN archival/libarchive/Kbuild
GEN selinux/Kbuild
GEN selinux/Config.in
GEN init/Kbuild
GEN init/Config.in
Using /home/owner/android/system/external/busybox as source for busybox
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
/home/owner/android/system/external/busybox/scripts/basic/split-include.c: In function ‘main’:
/home/owner/android/system/external/busybox/scripts/basic/split-include.c:134:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC scripts/basic/docproc
GEN /home/owner/android/system/out/target/product/ypg1/obj/busybox/full/Makefile
HOSTCC scripts/kconfig/conf.o
/home/owner/android/system/external/busybox/scripts/kconfig/conf.c: In function ‘conf_choice’:
/home/owner/android/system/external/busybox/scripts/kconfig/conf.c:354:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
/home/owner/android/system/external/busybox/scripts/kconfig/conf.c: In function ‘conf_askvalue’:
/home/owner/android/system/external/busybox/scripts/kconfig/conf.c:106:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
/home/owner/android/system/external/busybox/scripts/kconfig/mconf.c: In function ‘show_textbox’:
/home/owner/android/system/external/busybox/scripts/kconfig/mconf.c:847:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
/home/owner/android/system/external/busybox/scripts/kconfig/mconf.c: In function ‘exec_conf’:
/home/owner/android/system/external/busybox/scripts/kconfig/mconf.c:481:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s Config.in
#
# using defaults found in .config
#
Export includes file: external/busybox/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libclearsilverregex_intermediates/export_includes
Export includes file: external/busybox/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libuclibcrpc_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libclearsilverregex_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/STATIC_LIBRARIES/libuclibcrpc_intermediates/import_includes
Export includes file: external/busybox/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/UTILITY_EXECUTABLES/static_busybox_intermediates/export_includes
Export includes file: system/extras/ext4_utils/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libext4_utils_intermediates/export_includes
Export includes file: external/libselinux/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libselinux_intermediates/export_includes
Export includes file: system/core/libsparse/Android.mk -- /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libsparse_intermediates/export_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libselinux_intermediates/import_includes
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libsparse_intermediates/import_includes
make: *** No rule to make target `/home/owner/android/system/out/target/product/ypg1/utilities/erase_image', needed by `TARGET_KERNEL_BINARIES'. Stop.
make: *** Waiting for unfinished jobs....
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/libz_intermediates/import_includes
SPLIT include/autoconf.h -> include/config/*
HOSTCC applets/usage
/home/owner/android/system/external/busybox/applets/usage.c: In function ‘main’:
/home/owner/android/system/external/busybox/applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
HOSTCC applets/applet_tables
GEN include/bbconfigopts.h
/home/owner/android/system/external/busybox/applets/applet_tables.c: In function ‘main’:
/home/owner/android/system/external/busybox/applets/applet_tables.c:144:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
GEN include/usage_compressed.h
GEN include/applet_tables.h
HOSTCC applets/usage_pod
CC applets/applets.o
LD applets/built-in.o
make[1]: Leaving directory `/home/owner/android/system/external/busybox'
@dorfd1 Normally the flash_image get compiled at the same time as building it. My guess it maybe the librairy isn't added yet into the CM tree so what I do as a dirty quickfix is to take a flash_image from somewhere else (I would take it from CM11 builds) and copy it to the /utilities directory.
Forgot to fix this one:
$(PRODUCT_OUT)/utilities/erase_image
$(PRODUCT_OUT)/symbols/system/bin/erase_image ?
Also: You might need to explicitly add the recovery ramdisk too.:
https://github.com/Meticulus/androi...mmit/d10d588bdbabf9cc8480ae6b540b9ff051b718a0
I commented out bml over mtd and erase image. Now cm12 is compiling, I assume I can add those binaries back into the zip by using the cm11 ones?
Sent from my GT-P3110 using Tapatalk
I did have another error during compiling, but the forum was down and I was not able to share it, I am compiling again and will share the error when I get it.
Code:
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:323:19: warning: unused parameter 'size' [-Wunused-parameter]
jpg_return_status JpegEncoder::encodeThumbImg(unsigned int *size, bool useMain)
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp: In member function 'android::jpg_return_status android::JpegEncoder::makeExif(unsigned char*, exif_attribute_t*, unsigned int*, bool)':
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:44: warning: narrowing conversion of '((tmp >> 8) & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:56: warning: narrowing conversion of '(tmp & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:453:12: warning: unused parameter 'ctx' [-Wunused-parameter]
static int get_dst_phys_addr(struct hwc_context_t *ctx,
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
};
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:70:12: warning: unused parameter 'win_idx' [-Wunused-parameter]
static int set_src_dst_info(hwc_layer_1_t *cur,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: In function 'int hwc_prepare(hwc_composer_device_1_t*, size_t, hwc_display_contents_1_t**)':
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:247:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list->numHwLayers ; i++) {
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: At global scope:
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:290:12: warning: unused parameter 'numDisplays' [-Wunused-parameter]
static int hwc_set(hwc_composer_device_1_t *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:483:12: warning: unused parameter 'disp' [-Wunused-parameter]
static int hwc_blank(struct hwc_composer_device_1 *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:531:12: warning: unused parameter 'dpy' [-Wunused-parameter]
static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy,
^
target thumb C++: keystore.default <= system/security/softkeymaster/module.cpp
target thumb C: lights.s5pc110 <= device/samsung/ypg1/liblight/lights.c
target thumb C: local_time.default <= hardware/libhardware/modules/local_time/local_time_hw.c
device/samsung/ypg1/liblight/lights.c: In function 'write_int':
device/samsung/ypg1/liblight/lights.c:41:1: warning: unknown escape sequence: '\040' [enabled by default]
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c:41:2: error: stray '\' in program
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
In file included from system/core/include/cutils/log.h:1:0,
from device/samsung/ypg1/liblight/lights.c:19:
device/samsung/ypg1/liblight/lights.c:41:29: error: 's' undeclared (first use in this function)
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c:41:29: note: each undeclared identifier is reported only once for each function it appears in
device/samsung/ypg1/liblight/lights.c:41:31: error: expected ')' before string constant
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_notifications':
device/samsung/ypg1/liblight/lights.c:81:2: warning: too many arguments for format [-Wformat-extra-args]
ALOGI("color %u fm %u status %u is lit %u brightness", state->color, state->flashMode, v, (state->color & 0x00ffffff), brightness);
^
device/samsung/ypg1/liblight/lights.c:67:59: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_notifications(struct light_device_t* dev,
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_backlight':
device/samsung/ypg1/liblight/lights.c:87:55: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_backlight(struct light_device_t *dev,
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_buttons':
device/samsung/ypg1/liblight/lights.c:100:53: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_buttons(struct light_device_t *dev,
^
make: *** [/home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/lights.s5pc110_intermediates/lights.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/libhardware/modules/local_time/local_time_hw.c: In function 'ltdev_get_local_freq':
hardware/libhardware/modules/local_time/local_time_hw.c:53:67: warning: unused parameter 'dev' [-Wunused-parameter]
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* dev)
^
it is saying that dev is an unused parmeter
dorfd1 said:
Code:
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:323:19: warning: unused parameter 'size' [-Wunused-parameter]
jpg_return_status JpegEncoder::encodeThumbImg(unsigned int *size, bool useMain)
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp: In member function 'android::jpg_return_status android::JpegEncoder::makeExif(unsigned char*, exif_attribute_t*, unsigned int*, bool)':
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:44: warning: narrowing conversion of '((tmp >> 8) & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:56: warning: narrowing conversion of '(tmp & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:453:12: warning: unused parameter 'ctx' [-Wunused-parameter]
static int get_dst_phys_addr(struct hwc_context_t *ctx,
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
};
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:70:12: warning: unused parameter 'win_idx' [-Wunused-parameter]
static int set_src_dst_info(hwc_layer_1_t *cur,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: In function 'int hwc_prepare(hwc_composer_device_1_t*, size_t, hwc_display_contents_1_t**)':
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:247:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list->numHwLayers ; i++) {
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: At global scope:
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:290:12: warning: unused parameter 'numDisplays' [-Wunused-parameter]
static int hwc_set(hwc_composer_device_1_t *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:483:12: warning: unused parameter 'disp' [-Wunused-parameter]
static int hwc_blank(struct hwc_composer_device_1 *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:531:12: warning: unused parameter 'dpy' [-Wunused-parameter]
static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy,
^
target thumb C++: keystore.default <= system/security/softkeymaster/module.cpp
target thumb C: lights.s5pc110 <= device/samsung/ypg1/liblight/lights.c
target thumb C: local_time.default <= hardware/libhardware/modules/local_time/local_time_hw.c
device/samsung/ypg1/liblight/lights.c: In function 'write_int':
device/samsung/ypg1/liblight/lights.c:41:1: warning: unknown escape sequence: '\040' [enabled by default]
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c:41:2: error: stray '\' in program
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
In file included from system/core/include/cutils/log.h:1:0,
from device/samsung/ypg1/liblight/lights.c:19:
device/samsung/ypg1/liblight/lights.c:41:29: error: 's' undeclared (first use in this function)
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c:41:29: note: each undeclared identifier is reported only once for each function it appears in
device/samsung/ypg1/liblight/lights.c:41:31: error: expected ')' before string constant
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_notifications':
device/samsung/ypg1/liblight/lights.c:81:2: warning: too many arguments for format [-Wformat-extra-args]
ALOGI("color %u fm %u status %u is lit %u brightness", state->color, state->flashMode, v, (state->color & 0x00ffffff), brightness);
^
device/samsung/ypg1/liblight/lights.c:67:59: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_notifications(struct light_device_t* dev,
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_backlight':
device/samsung/ypg1/liblight/lights.c:87:55: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_backlight(struct light_device_t *dev,
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_buttons':
device/samsung/ypg1/liblight/lights.c:100:53: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_buttons(struct light_device_t *dev,
^
make: *** [/home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/lights.s5pc110_intermediates/lights.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/libhardware/modules/local_time/local_time_hw.c: In function 'ltdev_get_local_freq':
hardware/libhardware/modules/local_time/local_time_hw.c:53:67: warning: unused parameter 'dev' [-Wunused-parameter]
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* dev)
^
it is saying that dev is an unused parmeter
Click to expand...
Click to collapse
The problem would seem to be here:
Code:
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
There is a space between the escape char and the escaped char. I think it should be like this
Code:
ALOGV("write_int: path=\"%s\", value=\"%d\".", path, value);
Meticulus said:
The problem would seem to be here:
Code:
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
There is a space between the escape char and the escaped char. I think it should be like this
Code:
ALOGV("write_int: path=\"%s\", value=\"%d\".", path, value);
Click to expand...
Click to collapse
Are you referring to lights.c?
dorfd1 said:
Are you referring to lights.c?
Click to expand...
Click to collapse
Yes, from the log you posted:
Code:
device/samsung/ypg1/liblight/lights.c:41:2: error: stray '\' in program
ALOGV("write_int: path=\ "%s\", value=\"%d\".", path, value);
Code:
o_hw.c
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/audio.primary.s5pc110_intermediates/import_includes
target thumb C++: libaudiohw_legacy <= hardware/libhardware_legacy/audio/AudioHardwareInterface.cpp
target thumb C++: libaudiohw_legacy <= hardware/libhardware_legacy/audio/audio_hw_hal.cpp
target thumb C: audio.usb.default <= hardware/libhardware/modules/usbaudio/audio_hw.c
target thumb C: audio.usb.default <= hardware/libhardware/modules/usbaudio/alsa_device_profile.c
hardware/libhardware/modules/usbaudio/alsa_device_profile.c: In function 'profile_enum_channel_counts':
hardware/libhardware/modules/usbaudio/alsa_device_profile.c:284:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
profile->direction == PCM_OUT ? std_out_channel_counts : std_in_channel_counts;
^
target thumb C: audio.usb.default <= hardware/libhardware/modules/usbaudio/alsa_device_proxy.c
target thumb C: audio.usb.default <= hardware/libhardware/modules/usbaudio/logging.c
target thumb C: audio.usb.default <= hardware/libhardware/modules/usbaudio/format.c
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/audio_policy.default_intermediates/import_includes
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp
target thumb C++: libaudiopolicy_legacy <= hardware/libhardware_legacy/audio/audio_policy_hal.cpp
target thumb C++: audio_policy.s5pc110 <= device/samsung/ypg1/libaudio/AudioPolicyManager.cpp
Import includes file: /home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/camera.s5pc110_intermediates/import_includes
target thumb C++: libs3cjpeg <= hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/gralloc.cpp
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:323:19: warning: unused parameter 'size' [-Wunused-parameter]
jpg_return_status JpegEncoder::encodeThumbImg(unsigned int *size, bool useMain)
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp: In member function 'android::jpg_return_status android::JpegEncoder::makeExif(unsigned char*, exif_attribute_t*, unsigned int*, bool)':
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:44: warning: narrowing conversion of '((tmp >> 8) & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:56: warning: narrowing conversion of '(tmp & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
};
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:70:12: warning: unused parameter 'win_idx' [-Wunused-parameter]
static int set_src_dst_info(hwc_layer_1_t *cur,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: In function 'int hwc_prepare(hwc_composer_device_1_t*, size_t, hwc_display_contents_1_t**)':
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:247:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list->numHwLayers ; i++) {
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: At global scope:
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:290:12: warning: unused parameter 'numDisplays' [-Wunused-parameter]
static int hwc_set(hwc_composer_device_1_t *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:483:12: warning: unused parameter 'disp' [-Wunused-parameter]
static int hwc_blank(struct hwc_composer_device_1 *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:531:12: warning: unused parameter 'dpy' [-Wunused-parameter]
static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy,
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:453:12: warning: unused parameter 'ctx' [-Wunused-parameter]
static int get_dst_phys_addr(struct hwc_context_t *ctx,
^
target thumb C++: keystore.default <= system/security/softkeymaster/module.cpp
target thumb C: lights.s5pc110 <= device/samsung/ypg1/liblight/lights.c
device/samsung/ypg1/liblight/lights.c: In function 'set_light_notifications':
device/samsung/ypg1/liblight/lights.c:81:2: warning: too many arguments for format [-Wformat-extra-args]
ALOGI("color %u fm %u status %u is lit %u brightness", state->color, state->flashMode, v, (state->color & 0x00ffffff), brightness);
^
device/samsung/ypg1/liblight/lights.c:67:59: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_notifications(struct light_device_t *dev, struct light_state_t const *state)
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_backlight':
device/samsung/ypg1/liblight/lights.c:87:55: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_backlight(struct light_device_t *dev, struct light_state_t const *state)
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_buttons':
device/samsung/ypg1/liblight/lights.c:100:53: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_buttons(struct light_device_t *dev, struct light_state_t const* state)
^
target thumb C: local_time.default <= hardware/libhardware/modules/local_time/local_time_hw.c
target thumb C: power.default <= hardware/libhardware/modules/power/power.c
hardware/libhardware/modules/local_time/local_time_hw.c: In function 'ltdev_get_local_freq':
hardware/libhardware/modules/local_time/local_time_hw.c:53:45: error: parameter name omitted
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* )
^
make: *** [/home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/local_time.default_intermediates/local_time_hw.o] Error 1
make: *** Waiting for unfinished jobs....
hardware/libhardware/modules/power/power.c: In function 'power_init':
hardware/libhardware/modules/power/power.c:28:45: warning: unused parameter 'module' [-Wunused-parameter]
static void power_init(struct power_module *module)
^
hardware/libhardware/modules/power/power.c: In function 'power_set_interactive':
hardware/libhardware/modules/power/power.c:32:56: warning: unused parameter 'module' [-Wunused-parameter]
static void power_set_interactive(struct power_module *module, int on)
^
hardware/libhardware/modules/power/power.c:32:68: warning: unused parameter 'on' [-Wunused-parameter]
static void power_set_interactive(struct power_module *module, int on)
^
hardware/libhardware/modules/power/power.c: In function 'power_hint':
hardware/libhardware/modules/power/power.c:36:45: warning: unused parameter 'module' [-Wunused-parameter]
static void power_hint(struct power_module *module, power_hint_t hint,
^
hardware/libhardware/modules/power/power.c:37:30: warning: unused parameter 'data' [-Wunused-parameter]
void *data) {
^
I repo synced and now it got a little further. is it stopping because of the unused parameters?
dorfd1 said:
Code:
hardware/samsung/exynos3/s5pc110/libs3cjpeg/JpegEncoder.cpp:615:56: warning: narrowing conversion of '(tmp & 255u)' from 'unsigned int' to 'unsigned char' inside { } is ill-formed in C++11 [-Wnarrowing]
unsigned char size_mm[2] = {(tmp >> 8) & 0xFF, tmp & 0xFF};
^
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/framebuffer.cpp
target thumb C++: gralloc.default <= hardware/libhardware/modules/gralloc/mapper.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp
target thumb C++: hwcomposer.s5pc110 <= hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:34:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
};
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:55:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:70:12: warning: unused parameter 'win_idx' [-Wunused-parameter]
static int set_src_dst_info(hwc_layer_1_t *cur,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: In function 'int hwc_prepare(hwc_composer_device_1_t*, size_t, hwc_display_contents_1_t**)':
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:247:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list->numHwLayers ; i++) {
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp: At global scope:
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:290:12: warning: unused parameter 'numDisplays' [-Wunused-parameter]
static int hwc_set(hwc_composer_device_1_t *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:483:12: warning: unused parameter 'disp' [-Wunused-parameter]
static int hwc_blank(struct hwc_composer_device_1 *dev,
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWC.cpp:531:12: warning: unused parameter 'dpy' [-Wunused-parameter]
static int hwc_eventControl(struct hwc_composer_device_1* dev, int dpy,
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:45:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
hardware/samsung/exynos3/s5pc110/libhwcomposer/../include/sec_lcd.h:46:0: warning: "FBIO_WAITFORVSYNC" redefined [enabled by default]
#define FBIO_WAITFORVSYNC _IO ('F', 32)
^
In file included from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.h:34:0,
from hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:26:
bionic/libc/kernel/uapi/linux/fb.h:46:0: note: this is the location of the previous definition
#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
^
hardware/samsung/exynos3/s5pc110/libhwcomposer/SecHWCUtils.cpp:453:12: warning: unused parameter 'ctx' [-Wunused-parameter]
static int get_dst_phys_addr(struct hwc_context_t *ctx,
^
target thumb C++: keystore.default <= system/security/softkeymaster/module.cpp
target thumb C: lights.s5pc110 <= device/samsung/ypg1/liblight/lights.c
target thumb C: local_time.default <= hardware/libhardware/modules/local_time/local_time_hw.c
hardware/libhardware/modules/local_time/local_time_hw.c: In function 'ltdev_get_local_freq':
hardware/libhardware/modules/local_time/local_time_hw.c:53:45: error: parameter name omitted
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* )
^
make: *** [/home/owner/android/system/out/target/product/ypg1/obj/SHARED_LIBRARIES/local_time.default_intermediates/local_time_hw.o] Error 1
make: *** Waiting for unfinished jobs....
device/samsung/ypg1/liblight/lights.c: In function 'set_light_notifications':
device/samsung/ypg1/liblight/lights.c:81:2: warning: too many arguments for format [-Wformat-extra-args]
ALOGI("color %u fm %u status %u is lit %u brightness", state->color, state->flashMode, v, (state->color & 0x00ffffff), brightness);
^
device/samsung/ypg1/liblight/lights.c:67:59: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_notifications(struct light_device_t *dev, struct light_state_t const *state)
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_backlight':
device/samsung/ypg1/liblight/lights.c:87:55: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_backlight(struct light_device_t *dev, struct light_state_t const *state)
^
device/samsung/ypg1/liblight/lights.c: In function 'set_light_buttons':
device/samsung/ypg1/liblight/lights.c:100:53: warning: unused parameter 'dev' [-Wunused-parameter]
static int set_light_buttons(struct light_device_t *dev, struct light_state_t const* state)
I removed the space in line 41 of lights.c but it still says dev is an unused parameter.
Click to expand...
Click to collapse
You are aware that "warnings" do not stop compliation right?
The error is here:
Code:
hardware/libhardware/modules/local_time/local_time_hw.c:53:45: error: parameter name omitted
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* )
And, never seen this one before but it looks like @ line 53 on char 45 of file hardware/libhardware/modules/local_time/local_time_hw.c , there is a function call to "ltdev_get_local_freq" and there is something wrong with the passed parameter....
Meticulus said:
You are aware that "warnings" do not stop compliation right?
The error is here:
Code:
hardware/libhardware/modules/local_time/local_time_hw.c:53:45: error: parameter name omitted
static uint64_t ltdev_get_local_freq(struct local_time_hw_device* )
And, never seen this one before but it looks like @ line 53 on char 45 of file hardware/libhardware/modules/local_time/local_time_hw.c , there is a function call to "ltdev_get_local_freq" and there is something wrong with the passed parameter....
Click to expand...
Click to collapse
I do know that warnings do not stop compilation
I think we need to wait for official nightlies to happen for other devices. I just tried to compile cm12 for my tab 2 and one of the devs said to wait since stuff like surfaceflinger is broken.
Sent from my YP-G1 using Tapatalk
dorfd1 said:
I think we need to wait for official nightlies to happen for other devices. I just tried to compile cm12 for my tab 2 and one of the devs said to wait since stuff like surfaceflinger is broken.
Sent from my YP-G1 using Tapatalk
Click to expand...
Click to collapse
You can wait if you want to but I'm not going to. It is entirely possible that some older device's may not be brought up to CM 12
it’s a fair bet that that many older devices not possessing Kitkat binaries will be dropped from support; meaning most (if not all) pre-ICS devices will not be brought up to CM 12.
Click to expand...
Click to collapse
This means us.
The as of yet unreleased CyanogenMod recovery (found on GitHub) suggests the potential for the removal of ClockworkMod recovery as the default recovery. Having looked at this source code in great detail, I can tell you that it removes on-device backups (commonly known as nandroid) in lieu of adb backups. I know part of the reasoning behind this is the potential for data theft from on device backups, a hypothetical app to extract information directly from the backup on the device’s sdcard or internal storage. Another potential reason for removing on-device backups is the encryption which will be enabled by default in Lollipop. It’s safe to say this encryption will break standard backups in CWM as well as TWRP, and with the recent announcement of Baton (from Nextbit), we can see that Cyanogen is moving backup solutions to the cloud anyway. The CyanogenMod recovery is little more than stock recovery with a touch interface, the support of which doesn’t exist on many old devices; this will likely effect which ones are brought up to CM 12 (much like the above mentioned binaries.)
Click to expand...
Click to collapse
This means us too.
From here: http://www.gadgtspot.com/2014/10/31/roundtable-cyanogenmod-12-roadmap-leaked-fun-times-ahead/
What issues so far did you have with cm12 on venturi?
dorfd1 said:
What issues so far did you have with cm12 on venturi?
Click to expand...
Click to collapse
https://github.com/Meticulus/android_device_samsung_venturi/commits/carbon-l
I want to build cm12 on samsung jfltexx (S4) by Ubuntu 14.04,but it can not.
i follow this to build CM12 http://wiki.cyanogenmod.org/w/Build_for_jfltexx
That is my setp
1.repo sync cm12 codes (it takes me 3 days...):crying:
2.download samsung codes
https://github.com/CyanogenMod/android_device_samsung_jfltexx ---rename jfltexx and copy to device/samsung/
https://github.com/broodplank/samsung-kernel-jfltexx ---rename kernel and copy to out/target/product/jfltexx/
https://github.com/CyanogenMod/android_device_samsung_jf-common ---remane jf-common and copy to device/samsung/
https://github.com/CyanogenMod/android_device_samsung_qcom-common ---remane and copy to device/samsung/
3.
$ source build/envsetup.sh
$ breakfast jfltexx
$ cd device/samsung/jfltexx
--connect my phone to computer
$ ./extract-files.sh
--(but no files found)
--copy the system folder from "cm12-plus-5.0-Beta5.1-jfltexx.zip" to vendor/samsung/jfltexx/
--copy jf-common to vendor/samsung/jfltexx
$ croot
$ brunch jfltexx
--now build is start
but a few minutes later, it show that code and stop to build
i am new here and my english is bad sorry.
and i am new to build android source code,please help me to fix it,thank you!
--------------------------------------------------------------------------------------------------------------------------------------------------------
target arm C: libunz <= external/zlib/src/inftrees.c
target arm C: libunz <= external/zlib/src/inffast.c
target arm C: libunz <= external/zlib/src/trees.c
target arm C: libunz <= external/zlib/src/uncompr.c
target arm C: libunz <= external/zlib/src/zutil.c
Import includes file: /home/qwejay/android/cm/out/target/product/jfltexx/obj/EXECUTABLES/alsaucm_test_intermediates/import_includes
target thumb C: libalsa-intf <= hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_mixer.c
target thumb C: libalsa-intf <= hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c
target thumb C: libalsa-intf <= hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_mixer.c:33:23: fatal error: sound/tlv.h: No such file or directory
#include <sound/tlv.h>
^
compilation terminated.
make: *** [/home/qwejay/android/cm/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_mixer.o] error 1
make: *** Waiting for the unfinished task....
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:139:31: error: 'SND_AUDIOCODEC_AC3_PASS_THROUGH' undeclared here (not in a function)
FORMAT_AC3_PASS_THROUGH = SND_AUDIOCODEC_AC3_PASS_THROUGH,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:141:31: error: 'SND_AUDIOCODEC_WMA_PRO' undeclared here (not in a function)
FORMAT_WMA_PRO = SND_AUDIOCODEC_WMA_PRO,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:142:31: error: 'SND_AUDIOCODEC_DTS' undeclared here (not in a function)
FORMAT_DTS = SND_AUDIOCODEC_DTS,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:143:31: error: 'SND_AUDIOCODEC_DTS_LBR' undeclared here (not in a function)
FORMAT_DTS_LBR = SND_AUDIOCODEC_DTS_LBR,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:144:31: error: 'SND_AUDIOCODEC_DTS_PASS_THROUGH' undeclared here (not in a function)
FORMAT_DTS_PASS_THROUGH = SND_AUDIOCODEC_DTS_PASS_THROUGH,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_avail':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:443:9: warning: format '%d' expects argument of type 'int', but argument 4 has type 'snd_pcm_uframes_t' [-Wformat=]
ALOGV("hw_ptr = %d buf_size = %d appl_ptr = %d\n",
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:443:9: warning: format '%d' expects argument of type 'int', but argument 6 has type 'snd_pcm_uframes_t' [-Wformat=]
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'appl_pt_forward':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:483:3: warning: too many arguments for format [-Wformat-extra-args]
ALOGE("appl_ptr %ld set to ld",
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'dst_address':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:561:22: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
return pcm->addr + pcm_offset;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:565:57: warning: unused parameter 'offset' [-Wunused-parameter]
int mmap_transfer(struct pcm *pcm, void *data, unsigned offset,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'mmap_transfer_capture':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:620:26: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
src_addr = pcm->addr + pcm_offset;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:596:65: warning: unused parameter 'offset' [-Wunused-parameter]
int mmap_transfer_capture(struct pcm *pcm, void *data, unsigned offset,
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_write_mmap':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:682:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((bytes_written >= pcm->sw_p->start_threshold) && (!pcm->start)) {
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:643:50: warning: unused parameter 'data' [-Wunused-parameter]
static int pcm_write_mmap(struct pcm *pcm, void *data, unsigned count)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'enable_timer':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:825:8: warning: return makes integer from pointer without a cast [enabled by default]
return &bad_pcm;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:854:11: warning: return makes integer from pointer without a cast [enabled by default]
return &bad_pcm;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c: In function 'pcm_open':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_pcm.c:939:9: warning: return makes pointer from integer without a cast [enabled by default]
return -EINVAL;
^
make: *** [/home/qwejay/android/cm/out/target/product/jfltexx/obj/SHARED_LIBRARIES/libalsa-intf_intermediates/alsa_pcm.o] error 1
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_identifier':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:78:43: warning: unused parameter 'fmt' [-Wunused-parameter]
char *snd_use_case_identifier(const char *fmt, ...)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_free_list':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:90:40: warning: parameter 'list' set but not used [-Wunused-but-set-parameter]
int snd_use_case_free_list(const char *list[], int items)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:90:52: warning: unused parameter 'items' [-Wunused-parameter]
int snd_use_case_free_list(const char *list[], int items)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_get_list':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:133:15: warning: assignment from incompatible pointer type [enabled by default]
*list = (char ***)uc_mgr->card_ctxt_ptr->verb_list;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:157:15: warning: assignment from incompatible pointer type [enabled by default]
*list = verb_list[verb_index].device_list;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:181:15: warning: assignment from incompatible pointer type [enabled by default]
*list = verb_list[verb_index].modifier_list;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_apply_mixer_controls':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:936:65: warning: comparison between pointer and integer [enabled by default]
(check_devices_for_voice_call(uc_mgr, use_case) != NULL))
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'snd_use_case_mgr_reload':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:2207:49: warning: unused parameter 'uc_mgr' [-Wunused-parameter]
int snd_use_case_mgr_reload(snd_use_case_mgr_t *uc_mgr) {
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'print_list':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:3324:47: warning: unused parameter 'verb_index' [-Wunused-parameter]
static int print_list(card_mctrl_t *list, int verb_index, int count)
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c: In function 'free_list':
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:3884:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mindex < list[case_index].ena_mixer_list[index].value;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:3902:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
mindex < list[case_index].dis_mixer_list[index].value;
^
hardware/qcom/audio-caf/msm8960/legacy/libalsa-intf/alsa_ucm.c:3870:40: warning: unused parameter 'verb_index' [-Wunused-parameter]
void free_list(card_mctrl_t *list, int verb_index, int count)
^
--------------------------------------------------------------------------------------------------------------------------------------------------------
I can not fix it X(;
#include <sound/tlv.h>
It is strange. There is something very wrong with this source code. Technically the solution is finding that tlv.h and copying it into that "sound" directory. However, if a source code can't build because of an inclusion error, this means that either the repo is broken or the source code you downloaded is broken for some reason. Fixing that error will just throw another one, not worth trying.
By the way, I don't get all the downloading and renaming part, that's explained in a different way on the guide! In order to get the files specific to the device:
Breakfast jfltexx
./extract-files.sh
And then build it! If you are getting problems with the building of the vendor apps, look for "TheMuppets" github page.
Why are you building cm12? 12.1 is the latest.
Ciuffy's SM-G900F CM 12.1 spirit hath marked this way.