multiple definitions of....

Orn E. Hansen oe.hansen@oehansen.pp.se
Wed Dec 10 03:46:00 GMT 1997


  As was reported yesterday, the new snapshot has a problem with strings.
Now, it isn't difficult to compile bastring.cc as a template class, and
include it, but in a program I get this additional error

----
Balance.o(.data+0x20): multiple definition of `__default_alloc_template<false,
0>::free_list'
main.o(.data+0x34c): first defined here
collect2: ld returned 1 exit status
make: *** [bokhald] Error 1
----

  Is there a way to neatly bypass this error, until a solution to the
above has been done (I assume one will be done?).

----------------------------------------------------------------------------
Orn Einar Hansen                         oe.hansen@oehansen.pp.se
                                          oehansen@daimi.aau.dk
                                        voice+fax; +46 035 217194



More information about the Gcc mailing list