Closed Bug 665816 Opened 13 years ago Closed 13 years ago

nsGlueLinkingDlopen.cpp:161: error: expected unqualified-id before numeric constant with NDKr5 after landing bug 632404

Categories

(Core :: XPCOM, defect)

All
Android
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla7

People

(Reporter: m_kato, Assigned: m_kato)

References

Details

Attachments

(1 file)

Now tinderbox uses gcc 4.4.0 in NDK R4, but mobile team has a plan to upgrade to NDK R5.
Also, there is no readahead function in NDK.
Would the NDK r5 happen to define ELFCLASS through elf.h ?
(In reply to comment #2)
> Would the NDK r5 happen to define ELFCLASS through elf.h ?

It is same as NDKr4.  But gcc 4.4.3 into NDKr5 defines __linux__ / linux as default.

when using NDKr4, LINUX is undefined during compiling this, so it can be compiled.  But when using NDKr5, LINUX is defined, so this error occurs.
Attached patch fixSplinter Review
Assignee: nobody → m_kato
Status: NEW → ASSIGNED
Attachment #540684 - Flags: review?(mh+mozilla)
Attachment #540684 - Flags: review?(mh+mozilla) → review+
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/8924b0de1365
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: