Closed Bug 422695 Opened 17 years ago Closed 2 years ago

Compile error on Solaris 8 - toolkit/xre/nsNativeAppSupportUnix.cpp uses setenv and unsetenv which are not available

Categories

(Toolkit :: Startup and Profile System, defect)

Sun
Solaris
defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: stevee, Unassigned)

Details

(Whiteboard: reviewed)

User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.1.12) Gecko/20080211 Firefox/2.0.0.12 Build Identifier: ftp://ftp.mozilla.org/pub/firefox/releases/3.0b4/source/firefox-3.0b4-source.tar.bz2 I get this compile error on Solaris 8 when using gcc 3.4.6: c++ -o nsNativeAppSupportUnix.o -c -DIMPL_XREAPI -DMOZ_UPDATER -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DZLIB_INTERNAL -DOSTYPE=\"SunOS5\" -DOSARCH=SunOS -DOS_TARGET=\"SunOS\" -DTARGET_XPCOM_ABI=\"sparc-gcc3\" -DTARGET_OS_ABI=\"SunOS_sparc-gcc3\" -DTOOLKIT_EM_VERSION=\"1.9b4\" -I/icad/12/mozilla/build/mozilla/widget/src/xremoteclient -I/icad/12/mozilla/build/mozilla/toolkit/xre -I/icad/12/mozilla/build/mozilla/toolkit/xre/../profile/src -I/icad/12/mozilla/build/mozilla/config -I/icad/12/mozilla/build/mozilla/toolkit/xre -I. -I../../dist/include/appcomps -I../../dist/include/toolkitcomps -I../../dist/include/appshell -I../../dist/include/chrome -I../../dist/include/content -I../../dist/include/docshell -I../../dist/include/dom -I../../dist/include/embed_base -I../../dist/include/embedcomponents -I../../dist/include/extensions -I../../dist/include/gfx -I../../dist/include/intl -I../../dist/include/js -I../../dist/include/necko -I../../dist/include/pref -I../../dist/include/profile -I../../dist/include/string -I../../dist/include/uriloader -I../../dist/include/widget -I../../dist/include/windowwatcher -I../../dist/include/xpcom -I../../dist/include/xpconnect -I../../dist/include/xpinstall -I../../dist/include -I../../dist/include/xulapp -I../../dist/include/nspr -I../../dist/sdk/include -I/usr/openwin/include -fPIC -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -O2 -Wno-unknown-pragmas -mcpu=ultrasparc -I/gorbag/exta/cad/externals/SOLARIS/include -I/usr/openwin/include -fno-rtti -fno-exceptions -Wno-long-long -pedantic -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -O2 -fomit-frame-pointer -fno-exceptions -Wno-unknown-pragmas -mcpu=ultrasparc -I/gorbag/exta/cad/externals/SOLARIS/include -fno-strict-aliasing -fshort-wchar -pthreads -DNDEBUG -DTRIMMED -O -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/gtk-2.0 -I/gorbag/exta/cad/externals/SOLARIS/gnome2/lib/gtk-2.0/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/atk-1.0 -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/cairo -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/pango-1.0 -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -I/gorbag/exta/cad/externals/SOLARIS/gnome2/lib/glib-2.0/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/gtk-unix-print-2.0 -I/gorbag/exta/cad/externals/SOLARIS/include/freetype2 -I/gorbag/exta/cad/externals/SOLARIS/include -I/gorbag/exta/cad/externals/SOLARIS/include/libpng12 -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -O2 -Wno-unknown-pragmas -mcpu=ultrasparc -I/gorbag/exta/cad/externals/SOLARIS/include -I/usr/openwin/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsNativeAppSupportUnix.pp /icad/12/mozilla/build/mozilla/toolkit/xre/nsNativeAppSupportUnix.cpp /icad/12/mozilla/build/mozilla/toolkit/xre/nsNativeAppSupportUnix.cpp: In member function `virtual nsresult nsNativeAppSupportUnix::Start(PRBool*)': /icad/12/mozilla/build/mozilla/toolkit/xre/nsNativeAppSupportUnix.cpp:242: error: `setenv' was not declared in this scope /icad/12/mozilla/build/mozilla/toolkit/xre/nsNativeAppSupportUnix.cpp:251: error: `unsetenv' was not declared in this scope gmake[5]: *** [nsNativeAppSupportUnix.o] Error 1 Reproducible: Always Steps to Reproduce: 1. 2. 3.
Version: unspecified → Trunk
Whiteboard: reviewed
Component: XRE Startup → Startup and Profile System
QA Contact: xre.startup → startup
Severity: normal → S3
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.