Closed Bug 312996 Opened 20 years ago Closed 20 years ago

"nsGREGlue.cpp", Error: A class with a reference member must have a user-defined constructor

Categories

(Firefox Build System :: General, defect)

Sun
Solaris
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 307041

People

(Reporter: fieroch, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.8) Gecko/20050512 Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.8) Gecko/20050512 I cannot build firefox 1.5b2 on solaris 9 with sun workshop compiler 10. gmake breaks with following error: Building deps for nsGREGlue.cpp CC -o nsGREGlue.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DBUILD_ID=2005101717 -DXPCOM_GLUE -I./../../build -I../../../dist/include/string -I../../../dist/include/xpcom -I../../../dist/include -I../../../dist/include/nspr -I/tmp/appfiero/firefox/mozilla/__/include -I../../../dist/sdk/include -KPIC -I/tmp/appfiero/firefox/mozilla/__/include -I/tmp/appfiero/firefox/mozilla/__/include/freetype2 -mr -s -fast -xO4 -xtarget=ultra -xarch=v8plusa -features=tmplife -xbuiltin=%all -features=tmplife -mt -DNDEBUG -DTRIMMED -xO4 -I/tmp/appfiero/firefox/mozilla/__/include -I/tmp/appfiero/firefox/mozilla/__/include/freetype2 -DMOZILLA_VERSION=\"1.8b5\" -DMOZILLA_VERSION_U=1.8b5 -DSOLARIS=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_STAT64=1 -DHAVE_LSTAT64=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_LANGINFO_CODESET=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk2\" -DMOZ_WIDGET_GTK2=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DMOZ_PHOENIX=1 -DMOZ_BUILD_APP=browser -DMOZ_XUL_APP=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DMOZ_ENABLE_XFT=1 -DMOZ_EXTRA_X11CONVERTERS=1 -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DMOZ_XTF=1 -DMOZ_MATHML=1 -DMOZ_UPDATE_CHANNEL=default -DNS_DISABLE_LOGGING=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZ_ACCESSIBILITY_ATK=1 -DMOZILLA_LOCALE_VERSION=\"1.8b5\" -DMOZILLA_REGION_VERSION=\"1.8b5\" -DMOZILLA_SKIN_VERSION=\"1.8\" -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT nsGREGlue.cpp "nsGREGlue.cpp", line 472: Error: A class with a reference member must have a user-defined constructor. "nsGREGlue.cpp", line 523: Error: Expected an expression. "nsGREGlue.cpp", line 529: Error: Use ";" to terminate statements. 3 Error(s) detected. /usr/ccs/bin/mcs: nsGREGlue.o: cannot open file. No such file or directory gmake[3]: *** [nsGREGlue.o] Error 3 gmake[3]: Leaving directory `/tmp/appfiero/firefox/mozilla/xpcom/glue/standalone' gmake[2]: *** [install] Error 2 gmake[2]: Leaving directory `/tmp/appfiero/firefox/mozilla/xpcom/glue' gmake[1]: *** [install] Error 2 gmake[1]: Leaving directory `/tmp/appfiero/firefox/mozilla/xpcom' gmake: *** [install] Error 2 Reproducible: Always Steps to Reproduce: 1. build mozilla on solaris with sun workshop compiler 2. 3.
*** This bug has been marked as a duplicate of 307041 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.