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

Fail to Complie js185 - Solaris 10 - ./v8-dtoa/platform.h:70:5: error: expected unqualified-id before '__extension__'

30 views
Skip to first unread message

Fabrício Dias

unread,
May 19, 2012, 2:56:38 PM5/19/12
to dev-tech-...@lists.mozilla.org
Hi,
I'm new here on the list, and I signed up to help to compile the version
js185 on Solaris.
The following procedure that I performed ...

-- Config
# echo $PATH
/usr/sbin:/usr/bin:/usr/ccs/bin:/opt/csw/bin:
#uname -a
SunOS HOST 5.10 Generic_142910-17 i86pc i386 i86pc
# gcc --version
gcc (GCC) 4.6.3
# autoconf-2.13 --version
Autoconf version 2.13

-- Procedure
cd /dados/install-src
wget http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
gunzip js185-1.0.0.tar.gz
gtar -xvf js185-1.0.0.tar
cd /dados/install-src/js-1.8.5/js/src
autoconf-2.13
./configure
gmake
gmake install

-- Result
./configure: Ok
gmake: I got this error...
...bla bla bla...
./jscntxt.h:2963:44: warning: (perhaps the 'offsetof' macro was used
incorrectly) [-Winvalid-offsetof]
checks.cc
g++ -o checks.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=SunOS -DEXPORT_JS_API
-D__STDC_LIMIT_MACROS -I. -I. -I./dist/include -I./dist/include/nsprpub
-I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -pedantic
-Wno-long-long -fno-strict-aliasing -pthread -DNDEBUG -DTRIMMED -O3
-fstrict-aliasing -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1
-DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include
./js-confdefs.h -MD -MF .deps/checks.pp ./v8-dtoa/checks.cc
conversions.cc
g++ -o conversions.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=SunOS
-DEXPORT_JS_API -D__STDC_LIMIT_MACROS -I. -I. -I./dist/include
-I./dist/include/nsprpub -I. -I./assembler -I./yarr -fPIC -fno-rtti
-fno-exceptions -pedantic -Wno-long-long -fno-strict-aliasing -pthread
-DNDEBUG -DTRIMMED -O3 -fstrict-aliasing -fomit-frame-pointer
-DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1
-DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/conversions.pp
./v8-dtoa/conversions.cc
In file included from ./v8-dtoa/v8.h:47:0,
from ./v8-dtoa/conversions.cc:30:
./v8-dtoa/platform.h:70:5: error: expected unqualified-id before
'__extension__'
gmake[1]: *** [conversions.o] Error 1
gmake[1]: Leaving directory `/dados/install-src/js-1.8.5/js/src'
gmake: *** [default] Error 2

Can anyone help me?

--
Fabrício Dias
fmg...@gmail.com
0 new messages