View Single Post

   
  #1 (permalink)  
Old 05-10-2008, 02:57 PM
Thomas Schulz
 
Posts: n/a
Default new(unsigned,void*) undefined

Sorry if this ends up as a duplicate post, but I think that my first try
did not go out.

I am trying to build the latest mozilla on Solaris 8 with Sun's
C++ 5.8 2005/10/13. When it gets to the xpcom part I get the following error:

Undefined first referenced
symbol in file
void*operator new(unsigned,void*) ../../dist/bin/libxpcom.so
void operator delete(void*,void*) ../../dist/bin/libxpcom.so
ld: fatal: Symbol referencing errors. No output written to nsIFileEnumerator


Note that it is looking for a 'new' and a 'delete' with two arguments. If
I switch to Sun's CC: Forte Developer 7 C++ 5.4 the above undefined symbols
do not occur. If I then check libxpcom.so for 'new' and 'delete' I find
them with just one argument which can be found. Did I do something wrong
when I installed C++ 5.8 2005/10/13 or do I need some special library?

--
Tom Schulz
schulz@adi.com
Reply With Quote