[oi-dev] building firefox

Alexander Pyhalov alp at rsu.ru
Wed Dec 4 11:18:59 UTC 2013


Hello.
I'm in the same boat now... Building firefox 10 with gcc 4.7.2 on OI 
I've received

c++ -o mozalloc_abort.o -c   -DOSTYPE=\"SunOS5\" -DOSARCH=SunOS 
-I../../xpcom 
-I/export/home/alp/srcs/oi-userland/components/firefox/mozilla-esr10/memory/mozalloc 
-I. -I../../dist/include -I../../dist/include/nsprpub 
-I/export/home/alp/srcs/oi-userland/components/firefox/build/i86/dist/include/nspr 
-I/export/home/alp/srcs/oi-userland/components/firefox/build/i86/dist/include/nss 
      -fPIC  -fno-rtti -pedantic -Wno-long-long -fno-exceptions 
-fno-strict-aliasing -std=gnu++0x -pthread  -DNDEBUG -DTRIMMED -O 
-fomit-frame-pointer   -DMOZILLA_CLIENT -include ../../mozilla-config.h 
-MD -MF .deps/mozalloc_abort.pp 
/export/home/alp/srcs/oi-userland/components/firefox/build/i86/memory/mozalloc/mozalloc_abort.cpp
/export/home/alp/srcs/oi-userland/components/firefox/build/i86/memory/mozalloc/mozalloc_abort.cpp: 
In function ‘void abort()’:
/export/home/alp/srcs/oi-userland/components/firefox/build/i86/memory/mozalloc/mozalloc_abort.cpp:106:16: 
error: ‘void abort()’ conflicts with previous using declaration ‘void 
std::abort()’
make[5]: *** [mozalloc_abort.o] Error 1
make[5]: Leaving directory 
`/export/home/alp/srcs/oi-userland/components/firefox/build/i86/memory/mozalloc'
make[4]: *** [libs] Error 2

It seems that others have been there. Does someone know how to fix this?
-- 
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University




More information about the oi-dev mailing list