This is a discussion on new(unsigned,void*) undefined within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Sorry if this ends up as a duplicate post, but I think that my first try did not go ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| Thomas Schulz wrote: > 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? Apparently, you forgot to install the required OS patches. You can find a list here: http://developers.sun.com/sunstudio/...1_patches.html The two symbols you are missing should come with recent enough versions of patch 108434 I believe. |
| ||||
| In article <g01nl0$1iam$1@nef.ens.fr>, Marc <marc.glisse@gmail.com> wrote: >Thomas Schulz wrote: > >> 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? > >Apparently, you forgot to install the required OS patches. You can find a >list here: >http://developers.sun.com/sunstudio/...1_patches.html > >The two symbols you are missing should come with recent enough versions >of patch 108434 I believe. That was it. I had downloaded a new version of that patch some time ago, but I forgot that I forgot to install it. |