Closed Bug 1205963 Opened 9 years ago Closed 9 years ago

Fennec: Failed to build Firefox for Android (Fennec) on ubuntu

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1193206

People

(Reporter: hazemsafot53, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150629114848

Steps to reproduce:

I was trying to build Mozilla for android on Ubuntu platform and when firing the "./mach build" command I countered many errors . I changed the following : 
1- sdk API to 23 instead of 22. 
2- ndk to 10 instead of 8. 
3- changed all file permission to executable. 
then an error in .so file appeared.


Actual results:

the following is the terminal result: 

/home/hazem/gecko-dev/js/src/frontend/TokenStream.cpp:1884: error: undefined reference to '__srget'
    20:18.33 /home/hazem/gecko-dev/js/src/jsapi.cpp:3749: error: undefined reference to '__srget'
    20:18.33 collect2: error: ld returned 1 exit status
    20:18.33 make[5]: *** [libxul.so] Error 1
    20:18.34 make[4]: *** [toolkit/library/target] Error 2
    20:18.34 make[3]: *** [compile] Error 2
    20:18.34 make[2]: *** [default] Error 2
    20:18.34 make[1]: *** [realbuild] Error 2
    20:18.34 make: *** [build] Error 2
    20:18.35 442 compiler warnings present.


Expected results:

the build should be completed successfully.
Component: Untriaged → Build Config & IDE Support
OS: Unspecified → Linux
Product: Firefox → Firefox for Android
Hardware: Unspecified → x86_64
Whiteboard: failed to build for android on Linux platform
Version: 39 Branch → unspecified
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Whiteboard: failed to build for android on Linux platform
Product: Firefox for Android → Firefox Build System
You need to log in before you can comment on or make changes to this bug.