FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

Lineage 15 - Oreo build failing because of android_alarm.h

28 posts
Thanks Meter: 8
 
Post Reply Email Thread
Hello devs
I am relatively new to building ROMs, though I have built a couple of ROMs (like AOSPA) before. I have been closely following the lineage 15 development closely, and seeing the new branch created, I started a build. I had a few minor hiccups early, but after resolving them, I have successfully hit a brick wall. Any and all help would be appreciated. Thanks!
Attached Thumbnails
Click image for larger version

Name:	Capture.jpg
Views:	1806
Size:	293.1 KB
ID:	4254304  
 
 
27th August 2017, 06:38 PM |#2  
AndroGeek974's Avatar
Senior Member
Flag Sainte-Marie
Thanks Meter: 573
 
Donate to Me
More
Hi there

Actually, lineage-15.0 branch is not fully usable.
You can check review.lineageos.org at the corresponding branch for info.
About android_alarm.h issue, you can add that library to your downloaded sources.

AndroGeek
The Following 2 Users Say Thank You to AndroGeek974 For This Useful Post: [ View ] Gift AndroGeek974 Ad-Free
28th August 2017, 09:02 AM |#3  
tathanhlam66's Avatar
Senior Member
Flag Ha Noi
Thanks Meter: 669
 
Donate to Me
More
try add to boardconfig
Quote:

WITH_LINEAGE_CHARGER := false

The Following User Says Thank You to tathanhlam66 For This Useful Post: [ View ] Gift tathanhlam66 Ad-Free
28th August 2017, 06:13 PM |#4  
OP Junior Member
Flag Chennai
Thanks Meter: 8
 
More
Building for now...
Quote:
Originally Posted by tathanhlam66

try add to boardconfig

Just tried it.. seems to be building well now! I haven't tried AndroGeek's method, and I will give it a shot if anything goes wrong again.
Also @tathanhlam66, what happens when when I add that line to BoardConfig.mk? (Just out of curiosity)
28th August 2017, 06:44 PM |#5  
Senior Member
Flag San Fior
Thanks Meter: 1,567
 
More
Quote:
Originally Posted by DaNightmare

Just tried it.. seems to be building well now! I haven't tried AndroGeek's method, and I will give it a shot if anything goes wrong again.
Also @tathanhlam66, what happens when when I add that line to BoardConfig.mk? (Just out of curiosity)

See here
https://github.com/LineageOS/android...nfigLineage.mk

If you declare With lineage charger = false, the library libhealthd.lineage will not be built
And you will not have that error

Correct me if i'm wrong
The Following User Says Thank You to Gava97 For This Useful Post: [ View ] Gift Gava97 Ad-Free
28th August 2017, 06:51 PM |#6  
OP Junior Member
Flag Chennai
Thanks Meter: 8
 
More
Thanks @Gava97 for the short explanation.
I am now getting another error, with the kernel this time. It may or may not be a problem with the source.... (I don't think it is related to the Lineage charger.)
Screenshot attached. Any and all help would be appreciated
Attached Thumbnails
Click image for larger version

Name:	Capture.jpg
Views:	816
Size:	284.5 KB
ID:	4255342  
28th August 2017, 07:07 PM |#7  
Senior Member
Flag San Fior
Thanks Meter: 1,567
 
More
Quote:
Originally Posted by DaNightmare

Thanks @Gava97 for the short explanation.
I am now getting another error, with the kernel this time. It may or may not be a problem with the source.... (I don't think it is related to the Lineage charger.)
Screenshot attached. Any and all help would be appreciated

Have you tried to use make clean or make mrproper before re-build?
The Following User Says Thank You to Gava97 For This Useful Post: [ View ] Gift Gava97 Ad-Free
29th August 2017, 11:16 AM |#8  
Senior Member
Flag Hyderabad
Thanks Meter: 578
 
Donate to Me
More
...
29th August 2017, 02:54 PM |#9  
George35000vr's Avatar
Senior Member
Flag Crete,Chania
Thanks Meter: 86
 
More
Quote:
Originally Posted by shivatejapeddi

...

Helpful af post...
29th August 2017, 05:49 PM |#10  
OP Junior Member
Flag Chennai
Thanks Meter: 8
 
More
Quote:
Originally Posted by Gava97

Have you tried to use make clean or make mrproper before re-build?

That was the first thing I tried, did not work. I even deleted kernel/lge/hammerhead and re-downloaded it. Still doesn't work.
I think the lineage 15 code is very premature and development hasn't even begun for hammerhead. I'm stopping the building for now and will continue when the sources are sufficiently updated. Thanks all for the help!
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes