I've been trying to cross-compile Spidermonkey and I am stuck with the problem wherein prtypes.h (NSPR) is unrecognizable. I alread tried modifying Makefile.ref/config.mk/jsconfig.mk to point to a desired NSPR/DIS directory. I must have missed some basic steps because it still won't make things work.
Do you have any ideas on how to properly modify the makefiles to point my spidermonkey to the right NSPR libraries?
Spidermonkey pointing to a NSPR/DIST directory
457 Views Asked by giantKamote At
1
There are 1 best solutions below
Related Questions in CROSS-COMPILING
- Cross compile simple standard C program on Linux for Mac
- mingw-64 conflicting declarations when cross-compiling
- GSL: nm outputs "undefined Symbol (U)"
- using Diab, dcc 5.9.4 to compile a windows executable
- Cross compiling for Raspberry pi 2 error
- Linker Error on cross compiling Project in eclipse
- Get conditional branch slot from MIPS cross compiler
- Prelink Error: prelink-cross: simple hello world example
- Go Cross compiler fails
- How to install the third-party python (2.7) modules (e.g. Pycrypto) on ARM?
- impossible constraint in 'asm' error
- How can I compile ndpiReader.c that comes with nDPI library in Windows?
- How Do I Configure Qmake for Cross Compilation?
- Building a cross compile of binutils on OS X Yosemite
- Explain behavior of Unix sleep() function executed on Android
Related Questions in SPIDERMONKEY
- Spidermonkey api: object function returning an object
- Obtaning the AST of JavaScript code from Spidermonkey
- What does it mean that SpiderMonkey is threadsafe?
- Linking shared, static, and dynamic library
- javascript binding on wp8 and winrt
- How to use packaged modules in a non-node JS environment?
- SpiderMonkey shell. Is it possible to load shred library dynamicly?
- Avoid compilation overhead
- Is Javascript substring virtual?
- Recognizing JavaScript functions with GJS (Spidermonkey 1.7)
- Loading and reading XML files in cocos2d-x 3.0 javascript scripts
- Embed javascript code in spidermonkey in multithreaded application
- JavaScript experts: why does `with` nullify the compiler's scope-related optimizations
- JavaScript experts: Do block-scopes with `{}` and anonymous functions both help garbage-collection?
- Once again: How to get DOM in JavaScript Engine? Has this somebody done?
Related Questions in NSPR
- C++ casablanca vs Mozilla NSPR vs Facebook folly
- Working with files NPAPI/PPAPI/NSPR
- Read an image file C++ and put it on a socket
- linux x86 assembler to llvm assembler
- Mac OS - Failed to install python-spidermonkey because nspr not found
- jsprf.c:644: error: incompatible types in assignment
- Spidermonkey pointing to a NSPR/DIST directory
- How to use NSPR?
- building mozilla NSPR using MinGw on windows without VC++
- Unable to update nspr package on CentOS 6.7
- What is difference b/w PRLock and PRRWLock
- NSS Build failure due to assembly code Windows 10 64bit machine
- Building NSS (Network security services) for Mac OS X 10.9 not working
- NSPR locks with timeout
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You've probably already solved your problem, but still...
make JS_DIST=dir JS_THREADSAFE=1 -f Makefile.refdiris where nspr is installed, I think it must be full path to its directory (like /usr/local/nspr or /home//mozilla/nsprpub/dist if it's not installed), otherwise it has some issues that might make you want to modify spidermonkey's makeifle.https://developer.mozilla.org/en/SpiderMonkey/JSAPI_Reference/JS_THREADSAFE