Any guru's up....
I keep getting a failure compiling the kernel. its failing at the proximity sensor. I used the kernel config from my phone and proximity is disabled. any how here is the code.
In file included from drivers/misc/proximity.c:14:
/root/myandroid/kernel-hero/arch/arm/include/asm/gpio.h:5:23: error: mach/gpio.h: No such file or directory
drivers/misc/proximity.c:20:23: error: mach/vreg.h: No such file or directory
drivers/misc/proximity.c:21:28: error: mach/msm_iomap.h: No such file or directory
drivers/misc/proximity.c: In function 'proximity_store':
drivers/misc/proximity.c:39: error: implicit declaration of function 'gpio_direction_output'
drivers/misc/proximity.c:42: error: implicit declaration of function 'gpio_get_value'
drivers/misc/proximity.c: In function 'proximity_interrupt':
drivers/misc/proximity.c:61: error: implicit declaration of function 'gpio_to_irq'
drivers/misc/proximity.c: In function 'proximity_early_suspend':
drivers/misc/proximity.c:87: error: implicit declaration of function 'vreg_get'
drivers/misc/proximity.c:87: warning: assignment makes pointer from integer without a cast
drivers/misc/proximity.c:88: error: implicit declaration of function 'vreg_disable'
drivers/misc/proximity.c: In function 'proximity_early_resume':
drivers/misc/proximity.c:95: warning: assignment makes pointer from integer without a cast
drivers/misc/proximity.c:96: error: implicit declaration of function 'vreg_enable'
drivers/misc/proximity.c: In function 'proximity_sensor_probe':
drivers/misc/proximity.c:116: warning: assignment makes pointer from integer without a cast
drivers/misc/proximity.c:117: error: implicit declaration of function 'vreg_set_level'
drivers/misc/proximity.c:121: warning: ISO C90 forbids mixed declarations and code
drivers/misc/proximity.c:123: warning: ISO C90 forbids mixed declarations and code
drivers/misc/proximity.c:127: error: implicit declaration of function 'gpio_request'
drivers/misc/proximity.c:139: error: implicit declaration of function 'gpio_direction_input'
drivers/misc/proximity.c:170: error: 'struct early_suspend' has no member named 'suspend'
drivers/misc/proximity.c:171: error: 'struct early_suspend' has no member named 'resume'
make[2]: *** [drivers/misc/proximity.o] Error 1
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2
Thanks in advanced for the help
cteneyck said:
Any guru's up....
I keep getting a failure compiling the kernel. its failing at the proximity sensor. I used the kernel config from my phone and proximity is disabled. any how here is the code.
In file included from drivers/misc/proximity.c:14:
/root/myandroid/kernel-hero/arch/arm/include/asm/gpio.h:5:23: error: mach/gpio.h: No such file or directory
drivers/misc/proximity.c:20:23: error: mach/vreg.h: No such file or directory
drivers/misc/proximity.c:21:28: error: mach/msm_iomap.h: No such file or directory
drivers/misc/proximity.c: In function 'proximity_store':
drivers/misc/proximity.c:39: error: implicit declaration of function 'gpio_direction_output'
drivers/misc/proximity.c:42: error: implicit declaration of function 'gpio_get_value'
drivers/misc/proximity.c: In function 'proximity_interrupt':
drivers/misc/proximity.c:61: error: implicit declaration of function 'gpio_to_irq'
drivers/misc/proximity.c: In function 'proximity_early_suspend':
drivers/misc/proximity.c:87: error: implicit declaration of function 'vreg_get'
drivers/misc/proximity.c:87: warning: assignment makes pointer from integer without a cast
drivers/misc/proximity.c:88: error: implicit declaration of function 'vreg_disable'
drivers/misc/proximity.c: In function 'proximity_early_resume':
drivers/misc/proximity.c:95: warning: assignment makes pointer from integer without a cast
drivers/misc/proximity.c:96: error: implicit declaration of function 'vreg_enable'
drivers/misc/proximity.c: In function 'proximity_sensor_probe':
drivers/misc/proximity.c:116: warning: assignment makes pointer from integer without a cast
drivers/misc/proximity.c:117: error: implicit declaration of function 'vreg_set_level'
drivers/misc/proximity.c:121: warning: ISO C90 forbids mixed declarations and code
drivers/misc/proximity.c:123: warning: ISO C90 forbids mixed declarations and code
drivers/misc/proximity.c:127: error: implicit declaration of function 'gpio_request'
drivers/misc/proximity.c:139: error: implicit declaration of function 'gpio_direction_input'
drivers/misc/proximity.c:170: error: 'struct early_suspend' has no member named 'suspend'
drivers/misc/proximity.c:171: error: 'struct early_suspend' has no member named 'resume'
make[2]: *** [drivers/misc/proximity.o] Error 1
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2
Thanks in advanced for the help
Click to expand...
Click to collapse
I have never recieved any issues compiling the kernel. Could you explain what exactly you did to receive this?
im running ubuntu 9.04
have followed the instructions at source.android.com to set up my workspace.
downloaded the kernel
decompressed file
make menuconfig
loaded up the module which i pulled from my phone
saved .config
exit menu config
make
i think i was in the wrong dir. dang its getting late...lol
i was in the wrong dir lol
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
GZIP arch/arm/boot/compressed/piggy.gz
AS arch/arm/boot/compressed/piggy.o
CC arch/arm/boot/compressed/misc.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 0 modules
cteneyck said:
i was in the wrong dir lol
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
GZIP arch/arm/boot/compressed/piggy.gz
AS arch/arm/boot/compressed/piggy.o
CC arch/arm/boot/compressed/misc.o
LD arch/arm/boot/compressed/vmlinux
OBJCOPY arch/arm/boot/zImage
Kernel: arch/arm/boot/zImage is ready
Building modules, stage 2.
MODPOST 0 modules
Click to expand...
Click to collapse
ha ha. Can't say it's not something I have ever done. Glad you got it working. You have a fully patched and working 2.6.29 CDMA Kernel now, right?
no not a .29 kernel just the stock .27 kernel. I having more problems tho. i am stuck with the zImage and i have tried to test it using the commands below but its not working both ways
1.Put my phone into fast
2. c:\fastboot boot /path/to/my/zImage
it outputs and fails.
creating boot image...
creating boot image - 1675264 bytes
downloading 'boot.img'... FAILED (remote: not allow)
so i thought i would flash /dev/mtd2 by unpacking and repacking the mtd2.img with my zImage but the script (the script at android-dls modified with the –base 0×19200000 code in the repack) but it says there is extra info found in my the mtd2.img
so i am am stuck at the moment and trying to figure this one out
and i have no clue on how to make an update.zip. which is the way i should probably go.
cteneyck said:
no not a .29 kernel just the stock .27 kernel. I having more problems tho. i am stuck with the zImage and i have tried to test it using the commands below but its not working both ways
1.Put my phone into fast
2. c:\fastboot boot /path/to/my/zImage
it outputs and fails.
creating boot image...
creating boot image - 1675264 bytes
downloading 'boot.img'... FAILED (remote: not allow)
so i thought i would flash /dev/mtd2 by unpacking and repacking the mtd2.img with my zImage but the script (the script at android-dls modified with the –base 0×19200000 code in the repack) but it says there is extra info found in my the mtd2.img
so i am am stuck at the moment and trying to figure this one out
and i have no clue on how to make an update.zip. which is the way i should probably go.
Click to expand...
Click to collapse
Follow Lox_Dev's tutorial here: http://forum.xda-developers.com/showthread.php?t=551711
You have to unpack an existing boot.img, replace the boot.img-kernel file with the zImage you made (rename zImage to boot.img-kernel) and then repackage it. The flash the new boot.img file.
P.S. The .29 comment was sarcasm
LOL. you got me. thanks for the link. i'll report back.
I got it up and running
I have a stupid question. So if I compiled the kernel that I downloaded. What do I do to put my new kernel on my phone?
s0v3r1gn said:
I have a stupid question. So if I compiled the kernel that I downloaded. What do I do to put my new kernel on my phone?
Click to expand...
Click to collapse
Look back a couple posts, sparky. That was just covered.
s0v3r1gn said:
I have a stupid question. So if I compiled the kernel that I downloaded. What do I do to put my new kernel on my phone?
Click to expand...
Click to collapse
Its not a stupid question but basically you have to grab the boot image from your phone. then split the kernel and the ramdisk. rename your zimage and pack it back into a new boot image and flash it to your phone. I will post the steps i took in a how to soon as i get wireless back working. for what ever reason i can't get it working.
^ Great! Sounds good. I'm going to give compiling a try once you get that posted.
i know about the password being shown. im not running that rom and have gone to a stock (root) version to make my own mods. now that the kernel souce is avialable. im gonna try and build a complete custom rom.
cteneyck said:
Any guru's up....
I keep getting a failure compiling the kernel. its failing at the proximity sensor. I used the kernel config from my phone and proximity is disabled. any how here is the code.
In file included from drivers/misc/proximity.c:14:
/root/myandroid/kernel-hero/arch/arm/include/asm/gpio.h:5:23: error: mach/gpio.h: No such file or directory
drivers/misc/proximity.c:20:23: error: mach/vreg.h: No such file or directory
drivers/misc/proximity.c:21:28: error: mach/msm_iomap.h: No such file or directory
drivers/misc/proximity.c: In function 'proximity_store':
drivers/misc/proximity.c:39: error: implicit declaration of function 'gpio_direction_output'
drivers/misc/proximity.c:42: error: implicit declaration of function 'gpio_get_value'
drivers/misc/proximity.c: In function 'proximity_interrupt':
drivers/misc/proximity.c:61: error: implicit declaration of function 'gpio_to_irq'
drivers/misc/proximity.c: In function 'proximity_early_suspend':
drivers/misc/proximity.c:87: error: implicit declaration of function 'vreg_get'
drivers/misc/proximity.c:87: warning: assignment makes pointer from integer without a cast
drivers/misc/proximity.c:88: error: implicit declaration of function 'vreg_disable'
drivers/misc/proximity.c: In function 'proximity_early_resume':
drivers/misc/proximity.c:95: warning: assignment makes pointer from integer without a cast
drivers/misc/proximity.c:96: error: implicit declaration of function 'vreg_enable'
drivers/misc/proximity.c: In function 'proximity_sensor_probe':
drivers/misc/proximity.c:116: warning: assignment makes pointer from integer without a cast
drivers/misc/proximity.c:117: error: implicit declaration of function 'vreg_set_level'
drivers/misc/proximity.c:121: warning: ISO C90 forbids mixed declarations and code
drivers/misc/proximity.c:123: warning: ISO C90 forbids mixed declarations and code
drivers/misc/proximity.c:127: error: implicit declaration of function 'gpio_request'
drivers/misc/proximity.c:139: error: implicit declaration of function 'gpio_direction_input'
drivers/misc/proximity.c:170: error: 'struct early_suspend' has no member named 'suspend'
drivers/misc/proximity.c:171: error: 'struct early_suspend' has no member named 'resume'
make[2]: *** [drivers/misc/proximity.o] Error 1
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2
Thanks in advanced for the help
Click to expand...
Click to collapse
Hello, I have the same problem with drivers/i2c/chips/mt9t013.c when I compiled HTC Magic kernel
Can you say me more about good folder?
+1
Please answer someone
!
edit: just realized this thread was necro-bumped. Removed my post. Apologies for assisting in bringing back the dead.
I have been having issues building Jelly Bean, and I can't find the answers anyway
I know people have had similar issues, but the topic has always just suddenly been dropped
Here are the errors, please help me fix them
http://pastebin.com/LXmRxUPm
Code:
target thumb C++: libSR_AudioIn <= external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp: In function 'int AudioSetVolume(int, int)':
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp:155:61: error: invalid conversion from 'int' to 'audio_stream_type_t' [-fpermissive]
frameworks/av/include/media/AudioSystem.h:58:21: error: initializing argument 1 of 'static android::status_t android::AudioSystem::setStreamVolume(audio_stream_type_t, float, audio_io_handle_t)' [-fpermissive]
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp: In function 'int AudioGetVolume(int)':
external/srec/audio/AudioIn/UNIX/src/audioinwrapper.cpp:165:50: error: invalid conversion from 'int' to 'audio_stream_type_t' [-fpermissive]
frameworks/av/include/media/AudioSystem.h:60:21: error: initializing argument 1 of 'static android::status_t android::AudioSystem::getStreamVolume(audio_stream_type_t, float*, audio_io_handle_t)' [-fpermissive]
make: *** [out/target/product/p350/obj/SHARED_LIBRARIES/libSR_AudioIn_intermediates/audioinwrapper.o] Error 1
make: *** Waiting for unfinished jobs....
true
and this one
http://pastebin.com/jf7G1iR2
Code:
target thumb C++: audio.primary.goldfish <= device/generic/goldfish/audio/AudioHardwareGeneric.cpp
device/generic/goldfish/audio/AudioHardwareGeneric.cpp: In function 'android_audio_legacy::AudioHardwareInterface* android_audio_legacy::createAudioHardware()':
device/generic/goldfish/audio/AudioHardwareGeneric.cpp:411:37: error: cannot allocate an object of abstract type 'android_audio_legacy::AudioHardwareGeneric'
device/generic/goldfish/audio/AudioHardwareGeneric.h:105:7: note: because the following virtual functions are pure within 'android_audio_legacy::AudioHardwareGeneric':
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h:342:29: note: virtual android_audio_legacy::AudioStreamOut* android_audio_legacy::AudioHardwareInterface::openOutputStream(uint32_t, audio_output_flags_t, int*, uint32_t*, uint32_t*, android::status_t*)
make: *** [out/target/product/p350/obj/SHARED_LIBRARIES/audio.primary.goldfish_intermediates/AudioHardwareGeneric.o] Error 1
make: *** Waiting for unfinished jobs....
Is there anyone that can help, or does anyone know about anyone that can help?
Need to see the code. I wont recommend you to use -fpermissive flag.
1. Use stream_audio_type_t instead of int in previous line.
Or Convert explicitly if you are trying to convert int to enum type.
2. You cannot create objects of that class, You can only have pointers or references to it.
If you are deriving from an Abstract class make sure you override and define all Pure virtual
functions for your class.
rr0yy said:
Need to see the code. I wont recommend you to use -fpermissive flag.
1. Use stream_audio_type_t instead of int in previous line.
Or Convert explicitly if you are trying to convert int to enum type.
2. You cannot create objects of that class, You can only have pointers or references to it.
If you are deriving from an Abstract class make sure you override and define all Pure virtual
functions for your class.
Click to expand...
Click to collapse
Thankyou for your help
hitting thanks
I did what you said, but encounted other errors as well
I replaced generic/goldfish with the one found in cm10 (I'm building SlimRom, which is cm10 merged with aosp and stripped down a lot) and that has fixed other errors
The main issue now is that the include folder in device folder isn't being included. This is causing other errors, which I can patch for the time being
Doesn't matter. It was me being a complete idiot
I missed this line in device folder
TARGET_SPECIFIC_HEADER_PATH := device/lge/msm7x27-common/include
{
"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"
}
temasek's UNOFFICIAL CyanogenMod 13 BUILDS
This is an official maintainer thread for all current and future unofficial builds of CM13 created by @temasek. This thread was created on his behalf and will be maintained accordingly. Please report any bugs or issues that you see; when applicable, please follow the bug reporting format found in post #3. Download links, changelogs and other important information can be found in post #2. Thank you.
DISCLAIMER
Code:
/*
* Your warranty is now void. Knox 0x1.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
STOP!
If you do not read EACH and EVERY "OP" POST made by me (i.e. the first 5 posts) and post rudely, report bugs incorrectly, or ask for ETAs/feature requests, you WILL be called out for it.
You have been warned. Most, if not, any information you may be looking for can be found either in among these 5 posts or by performing a simple search using good key words. Think before you post. Thank you.
Download:
AndroidFileHost
The lastest version TWRP (2.8.7.0) is recommended.
Clean Installation
1. Download the appropriate ROM using links provide in the second post.
2. Download the appropriate GApps following the links in the second post.
3. Back up any and all important data.
5. WIPE DALVIK/CACHE/DATA/FACTORY RESET.
6. WIPE SYSTEM.
7. Flash the ROM in recovery.
7.1. DO NOT FIX PERMISSIONS AFTER FLASHING, doing so will cause a bootloop.
8. Flash the GApps.
9. WIPE DALVIK/CACHE (for good measure).
10. Reboot Device.
Dirty Flash/Update
1. Download the appropriate ROM using links provide in the second post.
2. WIPE CACHE/DALVIK.
3. Install the update zip from recovery.
3.1. DO NOT FIX PERMISSIONS AFTER FLASHING, doing so will cause a bootloop.
4. WIPE DALVIK/CACHE (for good measure).
5. Reboot Device.
@arter97
@temasek
Ivan_Meler | Donate
Source Code:
Device
Kernel
SMDK4412-Common
Hardware Samsung
Vendor Samsung
Libhardware
Frameworks-Native
XDA:DevDB Information
Temasek, ROM for the Samsung Galaxy Note II
Contributors
Trafalgar Square, temasek
Source Code: https://github.com/temasek
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.0.x
Based On: CyanogenMod, AICP, OmniROM, Slim ROMs
Version Information
Status: Stable
Created 2016-01-16
Last Updated 2016-08-03
Download
Downloads
ROM: AndroidFileHost
GApps: GitHub
Informations
AOSP Google Version: 43
Android-Version: 6.0.1
Security Patch Level: 01.05.16
Additional
Titanium Backup - External SD Card problems (This Folder is NOT Writeable)
http://www.titaniumtrack.com/kb/tita...-not-writeable
Kernel Features:
I added some new features to my kernel for this ROM. You can configure them via Kernel Adiutor and Boeffla Sound.
New Features:
ZZmoove Governor
Boeffla Sound
Sio Scheduler
Zen Scheduler
ROW Scheduler
SmartAss V2
Luzactive Governor
Some other issue?
You can't just say 'x is broken!' and expect me to magically find the bug and fix it.
Here's what I need:
Steps to reproduce - I don't care if "it's simple". I want to know exactly what you were doing at the time of the bug. How'd it happen? Does it only happen on Tuesdays when watching a specific YouTube video? Include it *all*
What happened - in what way is this *not* the expected behaviour? Don't just say "it didn't play/upload/whatever". Did the entire phone crash? Did it show an error? Did it just show an endless progress indicator? Again, I need specifics here.
Logcat/last_kmsg - Include the whole thing please, and if your phone's been running for a while, give me a rough region of time when the issue happened. Use last_kmsg if your device reboots unexpectedly, otherwise use a logcat. (See below for info on how to get them)
Tell me
Wow, new ROM to our beloved Note 2. Thank you Trafalgar Square.
Downloading it right now.
Question: Is the screenshot, is that a stock theme?
new rom new rom!! woohoo
thanks mate. :good:
LabBoy97 said:
Question: Is the screenshot, is that a stock theme?
Click to expand...
Click to collapse
No,
[THEME] OceanLay CM12/13 Theme
by @Lars124
@Trafalgar Square
ROM OS Version: 2.3.x Gingerbread?? thats what written in OP, change it
Edit: found more screenshots in screenshot tab.
roopeshbhardwaj said:
@Trafalgar Square
ROM OS Version: 2.3.x Gingerbread?? its written in OP, change it
and please put more screenshots with stock theme
Click to expand...
Click to collapse
Done
Trafalgar Square said:
No,
[THEME] OceanLay CM12/13 Theme
by @Lars124
Click to expand...
Click to collapse
Thanks dude
Anyone tried this version and can provide some feedback? How is it compared to Ivan's CM13? Thanks!
I'm very happy to see new CM13 rom developing and wish only the bests in realizing. Should be useful for us some more info about the rom, features etc. please.
@Trafalgar Square ok i downloaded it and just about to flash it. First thought, are you going to keep developing it in future? will it be regularly synced with cm sources?
roopeshbhardwaj said:
@Trafalgar Square ok i downloaded it and just about to flash it. First thought, are you going to keep developing it in future? will it be regularly synced with cm sources?
Click to expand...
Click to collapse
Sure. This is my daily device
If Temasek releases a update (ever two day), I will compile.
thank you so much @Trafalgar Square
For me all work fine, only thetering USB dont work
Inviato dal mio GT-N7100 utilizzando Tapatalk
Wanted to compile a new version of Temasek, but getting this error now
Code:
In file included from system/core/include/cutils/log.h:1:0,
from device/samsung/n7100/libsensors/SensorBase.cpp:26:
device/samsung/n7100/libsensors/SensorBase.cpp: In member function 'int SensorBase::open_device()':
device/samsung/n7100/libsensors/SensorBase.cpp:59:77: error: 'strerror' was not declared in this scope
ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
^
device/samsung/n7100/libsensors/SensorBase.cpp: In member function 'int SensorBase::openInput(const char*)':
device/samsung/n7100/libsensors/SensorBase.cpp:104:28: error: 'strcpy' was not declared in this scope
strcpy(devname, dirname);
^
device/samsung/n7100/libsensors/SensorBase.cpp:105:40: error: 'strlen' was not declared in this scope
filename = devname + strlen(devname);
^
device/samsung/n7100/libsensors/SensorBase.cpp:119:40: error: 'strcmp' was not declared in this scope
if (!strcmp(name, inputName)) {
^
make: *** [/home/demian/Temasek/out/target/product/n7100/obj/SHARED_LIBRARIES/sensors.smdk4x12_intermediates/SensorBase.o] Error 1
make: *** Waiting for unfinished jobs....
device/samsung/n7100/libsensors/LightSensor.cpp: In constructor 'LightSensor::LightSensor()':
device/samsung/n7100/libsensors/LightSensor.cpp:44:61: error: 'memset' was not declared in this scope
memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data));
^
device/samsung/n7100/libsensors/LightSensor.cpp:47:53: error: 'strcpy' was not declared in this scope
strcpy(input_sysfs_path, "/sys/class/input/");
^
device/samsung/n7100/libsensors/LightSensor.cpp:48:44: error: 'strcat' was not declared in this scope
strcat(input_sysfs_path, input_name);
^
device/samsung/n7100/libsensors/LightSensor.cpp:50:55: error: 'strlen' was not declared in this scope
input_sysfs_path_len = strlen(input_sysfs_path);
^
device/samsung/n7100/libsensors/LightSensor.cpp: In member function 'virtual int LightSensor::setDelay(int32_t, int64_t)':
device/samsung/n7100/libsensors/LightSensor.cpp:75:65: error: 'strcpy' was not declared in this scope
strcpy(&input_sysfs_path[input_sysfs_path_len], "poll_delay");
^
device/samsung/n7100/libsensors/LightSensor.cpp:80:34: error: 'strlen' was not declared in this scope
write(fd, buf, strlen(buf)+1);
^
make: *** [/home/demian/Temasek/out/target/product/n7100/obj/SHARED_LIBRARIES/sensors.smdk4x12_intermediates/LightSensor.o] Error 1
device/samsung/n7100/libsensors/ProximitySensor.cpp: In constructor 'ProximitySensor::ProximitySensor()':
device/samsung/n7100/libsensors/ProximitySensor.cpp:44:61: error: 'memset' was not declared in this scope
memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data));
^
device/samsung/n7100/libsensors/ProximitySensor.cpp:47:53: error: 'strcpy' was not declared in this scope
strcpy(input_sysfs_path, "/sys/class/input/");
^
device/samsung/n7100/libsensors/ProximitySensor.cpp:48:44: error: 'strcat' was not declared in this scope
strcat(input_sysfs_path, input_name);
^
device/samsung/n7100/libsensors/ProximitySensor.cpp:50:55: error: 'strlen' was not declared in this scope
input_sysfs_path_len = strlen(input_sysfs_path);
^
device/samsung/n7100/libsensors/ProximitySensor.cpp: In member function 'virtual int ProximitySensor::setDelay(int32_t, int64_t)':
device/samsung/n7100/libsensors/ProximitySensor.cpp:75:65: error: 'strcpy' was not declared in this scope
strcpy(&input_sysfs_path[input_sysfs_path_len], "poll_delay");
^
device/samsung/n7100/libsensors/ProximitySensor.cpp:80:34: error: 'strlen' was not declared in this scope
write(fd, buf, strlen(buf)+1);
^
make: *** [/home/demian/Temasek/out/target/product/n7100/obj/SHARED_LIBRARIES/sensors.smdk4x12_intermediates/ProximitySensor.o] Error 1
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Log.h:31,
from device/samsung/n7100/libsensors/sensors.cpp:31:
device/samsung/n7100/libsensors/sensors.cpp: In constructor 'sensors_poll_context_t::sensors_poll_context_t()':
device/samsung/n7100/libsensors/sensors.cpp:229:71: error: 'strerror' was not declared in this scope
ALOGE_IF(result<0, "error creating wake pipe (%s)", strerror(errno));
^
device/samsung/n7100/libsensors/sensors.cpp: In member function 'int sensors_poll_context_t::activate(int, int)':
device/samsung/n7100/libsensors/sensors.cpp:258:77: error: 'strerror' was not declared in this scope
ALOGE_IF(result<0, "error sending wake message (%s)", strerror(errno));
^
device/samsung/n7100/libsensors/sensors.cpp: In member function 'int sensors_poll_context_t::pollEvents(sensors_event_t*, int)':
device/samsung/n7100/libsensors/sensors.cpp:297:59: error: 'strerror' was not declared in this scope
ALOGE("poll() failed (%s)", strerror(errno));
^
device/samsung/n7100/libsensors/sensors.cpp:303:87: error: 'strerror' was not declared in this scope
ALOGE_IF(result<0, "error reading from wake pipe (%s)", strerror(errno));
^
device/samsung/n7100/libsensors/sensors.cpp: In function 'int open_sensors(const hw_module_t*, const char*, hw_device_t**)':
device/samsung/n7100/libsensors/sensors.cpp:380:62: error: 'memset' was not declared in this scope
memset(&dev->device, 0, sizeof(sensors_poll_device_1));
^
make: *** [/home/demian/Temasek/out/target/product/n7100/obj/SHARED_LIBRARIES/sensors.smdk4x12_intermediates/sensors.o] Error 1
make: Leaving directory `/home/demian/Temasek'
[COLOR=Red][B]#### make failed to build some targets (09:07 (mm:ss)) ####[/B][/COLOR]
[email protected] ~/Temasek $ ^
@Ivan_Meler
I have done a make clean and resynced the source, but getting the same error all time.
Trafalgar Square said:
Wanted to compile a new version of Temasek, but getting this error now
Code:
In file included from system/core/include/cutils/log.h:1:0,
from device/samsung/n7100/libsensors/SensorBase.cpp:26:
device/samsung/n7100/libsensors/SensorBase.cpp: In member function 'int SensorBase::open_device()':
device/samsung/n7100/libsensors/SensorBase.cpp:59:77: error: 'strerror' was not declared in this scope
ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
^
device/samsung/n7100/libsensors/SensorBase.cpp: In member function 'int SensorBase::openInput(const char*)':
device/samsung/n7100/libsensors/SensorBase.cpp:104:28: error: 'strcpy' was not declared in this scope
strcpy(devname, dirname);
^
device/samsung/n7100/libsensors/SensorBase.cpp:105:40: error: 'strlen' was not declared in this scope
filename = devname + strlen(devname);
^
device/samsung/n7100/libsensors/SensorBase.cpp:119:40: error: 'strcmp' was not declared in this scope
if (!strcmp(name, inputName)) {
^
make: *** [/home/demian/Temasek/out/target/product/n7100/obj/SHARED_LIBRARIES/sensors.smdk4x12_intermediates/SensorBase.o] Error 1
make: *** Waiting for unfinished jobs....
device/samsung/n7100/libsensors/LightSensor.cpp: In constructor 'LightSensor::LightSensor()':
device/samsung/n7100/libsensors/LightSensor.cpp:44:61: error: 'memset' was not declared in this scope
memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data));
^
device/samsung/n7100/libsensors/LightSensor.cpp:47:53: error: 'strcpy' was not declared in this scope
strcpy(input_sysfs_path, "/sys/class/input/");
^
device/samsung/n7100/libsensors/LightSensor.cpp:48:44: error: 'strcat' was not declared in this scope
strcat(input_sysfs_path, input_name);
^
device/samsung/n7100/libsensors/LightSensor.cpp:50:55: error: 'strlen' was not declared in this scope
input_sysfs_path_len = strlen(input_sysfs_path);
^
device/samsung/n7100/libsensors/LightSensor.cpp: In member function 'virtual int LightSensor::setDelay(int32_t, int64_t)':
device/samsung/n7100/libsensors/LightSensor.cpp:75:65: error: 'strcpy' was not declared in this scope
strcpy(&input_sysfs_path[input_sysfs_path_len], "poll_delay");
^
device/samsung/n7100/libsensors/LightSensor.cpp:80:34: error: 'strlen' was not declared in this scope
write(fd, buf, strlen(buf)+1);
^
make: *** [/home/demian/Temasek/out/target/product/n7100/obj/SHARED_LIBRARIES/sensors.smdk4x12_intermediates/LightSensor.o] Error 1
device/samsung/n7100/libsensors/ProximitySensor.cpp: In constructor 'ProximitySensor::ProximitySensor()':
device/samsung/n7100/libsensors/ProximitySensor.cpp:44:61: error: 'memset' was not declared in this scope
memset(mPendingEvent.data, 0, sizeof(mPendingEvent.data));
^
device/samsung/n7100/libsensors/ProximitySensor.cpp:47:53: error: 'strcpy' was not declared in this scope
strcpy(input_sysfs_path, "/sys/class/input/");
^
device/samsung/n7100/libsensors/ProximitySensor.cpp:48:44: error: 'strcat' was not declared in this scope
strcat(input_sysfs_path, input_name);
^
device/samsung/n7100/libsensors/ProximitySensor.cpp:50:55: error: 'strlen' was not declared in this scope
input_sysfs_path_len = strlen(input_sysfs_path);
^
device/samsung/n7100/libsensors/ProximitySensor.cpp: In member function 'virtual int ProximitySensor::setDelay(int32_t, int64_t)':
device/samsung/n7100/libsensors/ProximitySensor.cpp:75:65: error: 'strcpy' was not declared in this scope
strcpy(&input_sysfs_path[input_sysfs_path_len], "poll_delay");
^
device/samsung/n7100/libsensors/ProximitySensor.cpp:80:34: error: 'strlen' was not declared in this scope
write(fd, buf, strlen(buf)+1);
^
make: *** [/home/demian/Temasek/out/target/product/n7100/obj/SHARED_LIBRARIES/sensors.smdk4x12_intermediates/ProximitySensor.o] Error 1
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Log.h:31,
from device/samsung/n7100/libsensors/sensors.cpp:31:
device/samsung/n7100/libsensors/sensors.cpp: In constructor 'sensors_poll_context_t::sensors_poll_context_t()':
device/samsung/n7100/libsensors/sensors.cpp:229:71: error: 'strerror' was not declared in this scope
ALOGE_IF(result<0, "error creating wake pipe (%s)", strerror(errno));
^
device/samsung/n7100/libsensors/sensors.cpp: In member function 'int sensors_poll_context_t::activate(int, int)':
device/samsung/n7100/libsensors/sensors.cpp:258:77: error: 'strerror' was not declared in this scope
ALOGE_IF(result<0, "error sending wake message (%s)", strerror(errno));
^
device/samsung/n7100/libsensors/sensors.cpp: In member function 'int sensors_poll_context_t::pollEvents(sensors_event_t*, int)':
device/samsung/n7100/libsensors/sensors.cpp:297:59: error: 'strerror' was not declared in this scope
ALOGE("poll() failed (%s)", strerror(errno));
^
device/samsung/n7100/libsensors/sensors.cpp:303:87: error: 'strerror' was not declared in this scope
ALOGE_IF(result<0, "error reading from wake pipe (%s)", strerror(errno));
^
device/samsung/n7100/libsensors/sensors.cpp: In function 'int open_sensors(const hw_module_t*, const char*, hw_device_t**)':
device/samsung/n7100/libsensors/sensors.cpp:380:62: error: 'memset' was not declared in this scope
memset(&dev->device, 0, sizeof(sensors_poll_device_1));
^
make: *** [/home/demian/Temasek/out/target/product/n7100/obj/SHARED_LIBRARIES/sensors.smdk4x12_intermediates/sensors.o] Error 1
make: Leaving directory `/home/demian/Temasek'
[COLOR=Red][B]#### make failed to build some targets (09:07 (mm:ss)) ####[/B][/COLOR]
[email protected] ~/Temasek $ ^
@Ivan_Meler
I have done a make clean and resynced the source, but getting the same error all time.
Click to expand...
Click to collapse
Looks like they tried to enable some sort of optimizations they usually break builds ill have to look at this
Temasek V3.0
Changelog:
==================== 01-19-2016 ====================
SystemUI: fix qs tile page regressions (android_frameworks_base)
cmsdk: Fix BuildTests. Bump parcelable version. (cm_platform_sdk)
soundrecorder: Put the menu back (android_packages_apps_SoundRecorder)
Themes: Expose hard coded colors from layouts (android_packages_apps_Trebuchet)
pm: Add persist property to enable lazy dexopt (android_frameworks_base)
telephony: Make sure to check whether application info is null. (android_frameworks_opt_telephony)
Themes: Expose hard coded colors and styles from layouts (android_packages_apps_Browser)
Keyguard: set separator for multi-sim CarrierText (android_frameworks_base)
Snap: Add missing ISO350 to ISO arrays (android_packages_apps_Snap)
telephony: update tests for disableCarrierAppsUntilPrivileged API change (android_frameworks_opt_telephony)
gps: Simplify guard makefile (android_hardware_qcom_gps)
Messaging: Implement option for swipe to delete. (android_packages_apps_Messaging)
Revert "charger_mode: Set font as 'log'" (android_system_core)
Fix mounting ext4 adopted storage (android_system_vold)
SnapdragonCamera: Fix overly-aggressive auto rotation (android_packages_apps_Snap)
SnapdragonCamera: Remove 'off' option for antibanding (android_packages_apps_Snap)
SnapdragonCamera: Clarify antibanding settings (android_packages_apps_Snap)
SnapdragonCamera: Add option to control antibanding in camcorder (android_packages_apps_Snap)
charger_mode: Set font as 'log' (android_system_core)
Improve Recents-View (android_frameworks_base)
Snap: Enlarge the saving queue size to 60M (android_packages_apps_Snap)
SystemUI: Fix copy-pasta of battery saver tile (android_frameworks_base)
libstagefright:Fix random memcmp crash while accessing output format. (android_frameworks_av)
AudioMixer: delete reformatBuffer provider in proper order (android_frameworks_av)
StagefrightMetadataRetriever: correct the status flag (android_frameworks_av)
ACodec: update native window crop rectangle (android_frameworks_av)
nuplayer: looping playback only if it was running (android_frameworks_av)
audio: Update anchor time for offload playback post resume (android_frameworks_av)
stagefright-plugins: Skip stream with jpeg tag (android_external_stagefright-plugins)
==================== 01-18-2016 ==================== * device/samsung/hltespr/ c41b60b hltespr: Set CDMA subscription to NV * frameworks/base/ 8f2df3d FWB: QS shade transparency (1/2) bb64dd5 Revert "Notifications: Custom colors, (1/2):" c8a3eca base: correctly save app notification config 2426237 SystemUI: Add battery saver tile (1/2) 15b0ebf SystemUI: Add heads up tile (1/2) e767bd0 Themes: Call recreateTheme when theme changed 8aa54e4 SysUI: Fix keyguard wallpaper not updating 02fd8b0 SysUI: Pass themed resources on to NavBarEditor 3a77bd4 Themes: Fix applying theme for notifications * kernel/samsung/hlte/ 9c2b357 Build v1.58 e985098 qcom: rpm-smd: Remove rpm workqueue initialization ad95af3 rpm-smd: Optimize smd data read 21e75f7 BACKPORT: arm: don't open-code ptrace_report_syscall() (part deux) e699027 UPSTREAM: arm: don't open-code ptrace_report_syscall() a5d85d4 msm_rmnet_bam: Remove watchdog_timeo 4a2eac0 msm_rmnet_bam: Add support for IOCTL RMNET_IOCTL_DEREGISTER_DEV 1d88d20 msm_rmnet_bam: Use the correct netif_rx api ed250cd xt_qtaguid: fix a race condition in if_tag_stat_update a2faaee nf: xt_qtaguid: fix handling for cases where tunnels are used. a375208 Revert "tick-sched: recalculate sleep length each time it is requested" 99bc30b sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire. 7e618c3 jiffies conversions: Use compile time constants when possible ed678a0 futex: Fix argument handling in futex_lock_pi() calls d8cdb11 futex: Ensure get_futex_key_refs() always implies a barrier a697a7f mm/ksm.c: use new hashtable implementation dca9b57 block,elevator: use new hashtable implementation 6afbc60 cgroup: use new hashtable implementation 6976757 futexes: Increase hash table size for better performance 5dea217 ARM: enable neon-vfpv4 support 56cc3db ARM: vfp: hardfloat 4319f4e ARM: make kernel oops easier to read 84285e2 lib/int_sqrt.c: optimize square root algorithm f5d21dc Remove '+' symbol from kernel version string 24e959b crypto: arm/aes update NEON AES module to latest OpenSSL version * packages/apps/Settings/ ac16dc2 Build V3.0 d9ba16e Settings: QS shade transparency (2/2) cf8ade6 Notification drawer: Custom clear all icon color, (2/2): 5f5f02e Revert "Notifications: Custom colors, (2/2):" e87ab5b Allow launching notification manager settings externally * packages/providers/ThemesProvider/ 5756a99 Fix blank WiFi and signal icon previews * vendor/cmsdk/ 0295218 Merge branch 'cm-13.0' of github.com:CyanogenMod/cm_platform_sdk into cm-13.0 5400b2f cmsdk: Add battery saver tile (2/2) 55cb123 cmsdk: Add heads up tile (2/2)
==================== 01-17-2016 ==================== * kernel/samsung/hlte/ 033090f smpboot: Add missing get_online_cpus() in smpboot_register_percpu_thread() 7af454c Build v1.57 b5b3164 ARM: dma-mapping: Always pass proper prot flags to iommu_map() 4b2e804 ARM: dma-mapping: convert DMA direction into IOMMU protection attributes a02f474 dma-mapping: Add dma_remap functions a19b222 arch: mm: do not invoke OOM killer on kernel fault OOM 345aaf8 ARM: cleanup gate_vma initializationALL CHANGES FROM CYNOGENMOD NIGHTLYS ARE INCLUDED!
Download:
Link deleted
Waiting 30 minutes on starting apps..anyfix?
So after using it for a few days in v2.9, everything works okay for me.
1. Battery drain for me if I use Chrome for like more than an hour.
2. And sometimes Chrome force close after an hour used just to read my novel.
3. Watching Youtube and Twitch doesnt drain but make the device overheated.
4. Oh yeah and don't install any Theme, just install stock one cause it makes everything force close.
5. Clash of Clans is playable and doesn't lag for me.
6. Wi Fi is okay for me eventhough the signal bar is 1.
And now downloading v3.0, Thanks @Trafalgar Square
---------- Post added at 07:54 PM ---------- Previous post was at 07:34 PM ----------
examiner said:
Waiting 30 minutes on starting apps..anyfix?
Click to expand...
Click to collapse
What version?
Have you tried restarting your device after booting for the first time, happen to me with MX player with no video found until rebooted.