Closed
Bug 883945
Opened 11 years ago
Closed 11 years ago
b2g-info does not compile with JB Gonk
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: diego, Assigned: justin.lebar+bug)
References
Details
Attachments
(1 file)
It fails to include the standard headers because the NDK headers changes patch between ICS and JB gonk-misc/b2g-info/utils.h:23:18: fatal error: string: No such file or directory compilation terminated. make: *** [out/target/product/msm8974/obj/EXECUTABLES/b2g-info_intermediates/process.o] Error 1 In file included from gonk-misc/b2g-info/processlist.cpp:22:0: gonk-misc/b2g-info/processlist.h:19:18: fatal error: vector: No such file or directory compilation terminated. make: *** [out/target/product/msm8974/obj/EXECUTABLES/b2g-info_intermediates/processlist.o] Error 1 program finished with exit code 2
Updated•11 years ago
|
Flags: needinfo?(justin.lebar+bug)
Assignee | ||
Comment 1•11 years ago
|
||
Dave, is there a right way to fix this?
Flags: needinfo?(justin.lebar+bug)
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(dhylands)
Reporter | ||
Comment 2•11 years ago
|
||
I believe the right way to fix this is to include external/stlport/libstlport.mk in Android.mk instead of adding these include paths: https://github.com/mozilla-b2g/gonk-misc/blob/master/b2g-info/Android.mk#L24
Reporter | ||
Comment 3•11 years ago
|
||
Also, my compiler doesn't like the name of one of this variable for some reason: https://github.com/mozilla-b2g/gonk-misc/blob/master/b2g-info/utils.cpp#L31 I suggest changing it to "pageSize" instead of "PAGE_SIZE". It may be clashing with a macro or something.
Assignee | ||
Comment 4•11 years ago
|
||
> It may be clashing with a macro or something.
Yeah, that's probably it. I thought I'd managed not to include that header, but I guess not everywhere.
Assignee | ||
Comment 5•11 years ago
|
||
I'll fix this after lunch today, but it sounds like you already know what you need to do to fix it, so I'd certainly appreciate if you have a chance to send me a PR.
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(dhylands)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → justin.lebar+bug
Assignee | ||
Comment 6•11 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 763785 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gonk-misc/pull/99 Can you let me know if this fixes the problem on your end, Diego?
Attachment #763785 -
Flags: review?(dhylands)
Attachment #763785 -
Flags: feedback?(dwilson)
Reporter | ||
Comment 8•11 years ago
|
||
(In reply to Justin Lebar [:jlebar] from comment #7) > Comment on attachment 763785 [details] > Pointer to Github pull request: > https://github.com/mozilla-b2g/gonk-misc/pull/99 > > Can you let me know if this fixes the problem on your end, Diego? Patch works for me!
Reporter | ||
Updated•11 years ago
|
Attachment #763785 -
Flags: feedback?(dwilson) → feedback+
Comment 9•11 years ago
|
||
Comment on attachment 763785 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gonk-misc/pull/99 Going to merge this since it fixes bustage.
Attachment #763785 -
Flags: review?(dhylands) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•