>
> Compiling in static mode works with a few warnings:
Dam. So libtool fails us the first time we need it ?
Here is the list of aix configurations supported by libtool. What's yours ?
powerpc-ibm-aix4.3.1.0 gcc 1.2f ok
(egcs-1.1.1)
powerpc-ibm-aix4.2.1.0 gcc 1.2f ok
(egcs-1.1.1)
powerpc-ibm-aix4.1.5.0 gcc 1.2f ok
(egcs-1.1.1)
powerpc-ibm-aix4.1.5.0 gcc 1.2f NS
(gcc-2.8.1)
powerpc-ibm-aix4.1.4.0 gcc 1.0 ok
powerpc-ibm-aix4.1.4.0 xlc 1.0i ok
rs6000-ibm-aix4.1.5.0 gcc 1.2f ok
(gcc-2.7.2)
rs6000-ibm-aix4.1.4.0 gcc 1.2f ok
(gcc-2.7.2)
rs6000-ibm-aix3.2.5 gcc 1.0i ok
rs6000-ibm-aix3.2.5 xlc 1.0i ok
Well, apparently xlC ignores the fact that the functions are defined
inline in the .h file. All these functions are defined outside the body
of the class. You could try the following:
define the length() method in the class, recompile and check that the
duplicate disapear. If the solution is to move all the definitions within
the class, it's not really a problem. It would be much better to understand
why this happens. C++ expert advice, anyone ?
> ld: 0711-224 WARNING: Duplicate symbol: .String::operator[](int) const
> ld: 0711-224 WARNING: Duplicate symbol: .String::operator[](int)
> ld: 0711-224 WARNING: Duplicate symbol: .String::operator<<(char)
> ld: 0711-224 WARNING: Duplicate symbol: .String::operator<<(const char*)
> ld: 0711-224 WARNING: Duplicate symbol: .String::operator+=(const char*)
> ld: 0711-224 WARNING: Duplicate symbol: .String::operator+=(const String&)
> ld: 0711-224 WARNING: Duplicate symbol: .String::length() const
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
> ld: 0711-224 WARNING: Duplicate symbol: .String::operator[](int) const
> ld: 0711-224 WARNING: Duplicate symbol: .String::operator[](int)
> ld: 0711-224 WARNING: Duplicate symbol: .String::operator<<(char)
> ld: 0711-224 WARNING: Duplicate symbol: .String::operator<<(const char*)
> ld: 0711-224 WARNING: Duplicate symbol: .String::operator+=(const char*)
> ld: 0711-224 WARNING: Duplicate symbol: .String::operator+=(const String&)
> ld: 0711-224 WARNING: Duplicate symbol: .String::length() const
>
--
Loic Dachary
ECILA
100 av. du Gal Leclerc
93500 Pantin - France
Tel: 33 1 56 96 09 80, Fax: 33 1 56 96 09 61
e-mail: [EMAIL PROTECTED] URL: http://www.senga.org/
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.