Closed Bug 286713 Opened 19 years ago Closed 19 years ago

failed to compile nsProfile.cpp

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 258831

People

(Reporter: jd, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

failed to compile nsProfile.cpp by gcc-2.95.3, 2.96 2000073 and 3.2.1 on RHL72

Reproducible: Always

Steps to Reproduce:
1. configure --prefix=/usr/local/firefox-1.0.1 --disable-ui-locale
--disable-debug --enable-optimize=-O2 --enable-crypto
2. make


Actual Results:  
...

c++ -Wno-deprecated -o nsProfile.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"
-I./../dirserviceprovider/src -I../../dist/include/xp
com -I../../dist/include/xpcom_obsolete -I../../dist/include/string
-I../../dist/include/content -I../../dist/include/docshell
-I../../dist/include/webbrwsr -I../../
dist/include/dom -I../../dist/include/js -I../../dist/include/xpconnect
-I../../dist/include/widget -I../../dist/include/necko
-I../../dist/include/uriloader -I../..
/dist/include/intl -I../../dist/include/pref -I../../dist/include/prefmigr
-I../../dist/include/appshell -I../../dist/include/uconv
-I../../dist/include/windowwatche
r -I../../dist/include/profdirserviceprovider -I../../dist/include/profile
-I../../dist/include
-I/usr/local/makedir/firefox/firefox-1.0.1/dist/include/nspr        -
fPIC   -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-
long -pedantic -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2  
-DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsProfile.pp
nsProfile.cpp
nsProfile.cpp: In member function `virtual nsresult 
   nsProfile::StartupWithArgs(nsICmdLineService*, int)':
nsProfile.cpp:415: no matching function for call to `
   nsDerivedSafe<nsIXULChromeRegistry>::SelectLocaleForProfile(nsCString&, 
   const PRUnichar*)'
nsProfile.cpp:424: no matching function for call to `
   nsDerivedSafe<nsIXULChromeRegistry>::SelectLocaleForProfile(nsCString&, 
   const PRUnichar*)'
nsProfile.cpp: In member function `virtual nsresult 
   nsProfile::CreateNewProfileWithLocales(const PRUnichar*, const PRUnichar*, 
   const PRUnichar*, const PRUnichar*, int)':
nsProfile.cpp:1725: no matching function for call to `
   nsDerivedSafe<nsIXULChromeRegistry>::SelectLocaleForProfile(nsCAutoString&, 
   const PRUnichar*)'
nsProfile.cpp:1736: no matching function for call to `
   nsDerivedSafe<nsIXULChromeRegistry>::GetSelectedSkin(nsDependentCString, 
   nsCAutoString&)'
nsProfile.cpp:1739: no matching function for call to `
   nsDerivedSafe<nsIXULChromeRegistry>::SelectSkinForProfile(nsCAutoString&, 
   const PRUnichar*)'
nsProfile.cpp:1761: no matching function for call to `
   nsDerivedSafe<nsIXULChromeRegistry>::SelectLocaleForProfile(nsCAutoString&, 
   const PRUnichar*)'
gmake[3]: *** [nsProfile.o] Error 1
gmake[3]: Leaving directory `/var/local/makedir/firefox/firefox-1.0.1/profile/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/local/makedir/firefox/firefox-1.0.1/profile'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/local/makedir/firefox/firefox-1.0.1'
gmake: *** [default] Error 2
Command exited with non-zero status 2
Dup of bug 258831 (see also bug 259342).

*** This bug has been marked as a duplicate of 258831 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
I think the reporter needs to read:

    http://www.mozilla.org/projects/firefox/build.html

> I think the reporter needs to read...

Very true indeed.
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.