Dear Managers,
I just installed version 2.8.0 of the GNU C/C++ compiler. I
tested it with a simple 2-module program I use in classes that does
some exception handling. I received the following error messages,
which seem to be saying that everything having to do with exceptions
and RTTI is multiply defined (the program does NOT use RTTI in any
way). The program compiles and runs flawlessly under gcc/g++ v
2.7.2.3 with the -fhandle-exceptions switch turned on. I can supply
the source code if that helps.
I installed gcc so that the Digital ld would be used. Do I need
to use GNU ld instead? Any other suggestions?
I'm using DU v4.0b with the December jumbo patch on a DEC 3000/600.
Error messages
----- --------
collect2: ld returned 1 exit status
/usr/bin/ld:
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(exception.o): terminate(void): multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(exception.o): __default_unexpected(void): multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(exception.o): set_terminate(void (*)(void)): multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(exception.o): set_unexpected(void (*)(void)): multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(exception.o): unexpected(void): multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(exception.o): exception virtual table: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(exception.o): exception::what(void) const: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(exception.o): exception::~exception(void): multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(exception.o): exception::exception(void): multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(tinfo.o): type_info::~type_info(void): multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(tinfo.o): type_info virtual table: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(tinfo.o): __user_type_info virtual table: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(tinfo.o): __class_type_info virtual table: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(tinfo.o): __user_type_info::__user_type_info(char const *): multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(tinfo.o): type_info::operator!=(type_info const &) const: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(tinfo.o): type_info::operator==(type_info const &) const: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(tinfo.o): type_info::name(void) const: multiply defined
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.8.0/libgcc.a(tinfo2.o): __throw_type_match_rtti: multiply defined
Received on Wed Feb 11 1998 - 15:13:21 NZDT