Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Build on Solaris 9 SPARC

1 view
Skip to first unread message

Dmitri

unread,
Dec 23, 2009, 3:30:58 AM12/23/09
to
Hi,

I am trying to build NSPR and Spidermonkey tip (mozilla-
central-566bc0cea950) on Solaris 9. Tried several compilers with no
success.

Build steps:
--------------
#!/bin/tcsh
setenv CXX [compiler]
cd mozilla-central/js/src/
autoconf-2.13
mkdir sparc-SunOS-release
cd sparc-SunOS-release/
../configure --enable-threadsafe --with-system-nspr --with-nspr-prefix=
[nspr-install]
make
--------------

make is gmake in my environment.

With [compiler] = CC, c++ or g++ errors are:

In file included from ../jsapi.cpp:49:
../jsstdint.h:63: error: conflicting types for `typedef JSInt8 int8_t'
../nanojit/VMPI.h:78:20: stdint.h: No such file or directory

----------
With [compiler] = gcc the error is:

make[2]: Leaving directory `/home/dmitri/mozilla-central-566bc0cea950/
js/src/sparc-SunOS-release/tests'
gcc -DOSTYPE=\"SunOS5\" -DOSARCH=SunOS -DEXPORT_JS_API -I/home/
dmitri/mozilla-central/sparc-SunOS/install/include/nspr -o jscpucfg ../
jscpucfg.cpp
Undefined first referenced
symbol in file
__gxx_personality_v0 /var/tmp//ccKZuMat.o
ld: fatal: Symbol referencing errors. No output written to jscpucfg

----------

I also tried changing JS_HAVE_STDINT_H macro in js-config.h file, but
to no avail.
Either
#undef JS_HAVE_STDINT_H
or
#define JS_HAVE_STDINT_H 1

Any help will be appreciated.
Dmitri.

Dmitri

unread,
Jan 4, 2010, 9:49:21 PM1/4/10
to
Tried new tip (mozilla-central-a59a5f030021). Do not see that error
anymore, getting other errors. But that is another story...
0 new messages