Nevertheless, I could not compile xptcinvoke_asm_ipf64.s and xptcstubs_asm_ipf64.s with a GNU compiler. I had to use the Intel compiler.
But, now another compilation error occurs later:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++3 -o nsProfileAccess.o -c -DOSTYPE=\"Linux2.4.18-e\" -DOSARCH=\"Linux\" -I./../dirserviceprovider/src -I../../dist/include/xpcom -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/windowwatcher -I../../dist/include/profdirserviceprovider -I../../dist/include/profile -I../../dist/include -I/root/fb/mozilla/dist/include/nspr -I/usr/X11R6/include -I/usr/X11R6/include -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 -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsProfileAccess.pp nsProfileAccess.cpp
nsProfile.cpp: In member function `virtual nsresult nsProfile::StartupWithArgs(nsICmdLineService*, PRBool)':
nsProfile.cpp:414: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectLocaleForProfile'
nsProfile.cpp:423: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectLocaleForProfile'
nsProfile.cpp: In member function `virtual nsresult nsProfile::CreateNewProfileWithLocales(const PRUnichar*, const PRUnichar*, const PRUnichar*, const PRUnichar*, PRBool)':
nsProfile.cpp:1724: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectLocaleForProfile'
nsProfile.cpp:1736: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'GetSelectedSkin'
nsProfile.cpp:1738: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectSkinForProfile'
nsProfile.cpp:1760: error: 'class nsDerivedSafe<nsIXULChromeRegistry>' has no member named 'SelectLocaleForProfile'
gmake[4]: *** [nsProfile.o] Error 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This error occurs independently of using option --with-system-nspr Why this error occurs? I'm really amazed.
Kind regards and thanks for help. Norbert
Christopher Seawood wrote:
[EMAIL PROTECTED] wrote:
I'm trying to build any moz-application (eg firefox) on a IA64 platform with redhat linux. But I get the following error:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[4]: Entering directory `/root/fb/mozilla/xpcom/tools/registry'
gcc3 -I/usr/X11R6/include -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 -o regxpcom regxpcom.o -L../../../dist/bin -L../../../dist/lib ../../../dist/lib/libxpcomglue.a -L/root/fb/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm
regxpcom.o: In function `DirectoryServiceProvider::Release()':
regxpcom.o(.text+0xb1): undefined reference to `operator delete(void*)'
regxpcom.o: In function `startup_xpcom()':
regxpcom.o(.text+0x9e2): undefined reference to `operator new(unsigned long)'
collect2: ld returned 1 exit status
gmake[4]: *** [regxpcom] Error 1
gmake[4]: Leaving directory `/root/fb/mozilla/xpcom/tools/registry'
gmake[3]: *** [libs] Error 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You're building/linking with the C compiler instead of the C++ compiler. Set CXX=g++3 and start a build from scratch.
- cls
_______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
