Undefined symbol: vtable error with 3.2.2/3.3 on AIX 5.1

David Edelsohn dje@watson.ibm.com
Thu Jun 5 14:46:00 GMT 2003


>>>>> Joerg Richter writes:

Joerg> I came to the conclusion, that AIX-ld with option -bexpall does not export
Joerg> all symbols as it should. The missing symbols are always one of typeinfo,
Joerg> typename or vtable. I dont know why. Perhaps G++ marks them somewhat wrong.

	Please re-read the AIX ld documentation.  -bexpall does not and
should not export all symbols.  You need to generate an explicit export
list to export symbols beginning with an underscore, as GCC does when
building libstdc++.

David



More information about the Gcc mailing list