More on {multiple,un}-defined symbols with egcs-971207
Fred Richardson
frichard@bbn.com
Sat Dec 13 13:49:00 GMT 1997
Well, I got rid of the undefined symbols by removing the old shared
library and linking staticly to the new library (I thought I was doing
this by default ala --disable-shared).
But the multiple definition error for
__default_alloc_template...::free_list
are still there. Does anyone know of a way to get rid of these? It
looks like they're genertaded by the stl header files:
obj.sun4sol/Traceback.od:/d4mutl/contrib/egcs/include/g++/stl_vector.h:350: multiple definition of `__default_alloc_template<false, 0>::free_list'
obj.sun4sol/NBest.od:/d4mutl/contrib/egcs/include/g++/stl_tree.h:271: first defined here
obj.sun4sol/PdfCbkMap.od:/d4mutl/contrib/egcs/include/g++/stl_alloc.h:409: multiple definition of `__default_alloc_template<false, 0>::free_list'
obj.sun4sol/NBest.od:/d4mutl/contrib/egcs/include/g++/stl_tree.h:271: first defined here
Again, thanks in advacne for any help with this stuff,
-Fred
More information about the Gcc
mailing list