[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

Reply via email to