[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-plusplus
Subject: linker errors in SGI-IRIX6.5 MIPSpro Compilers: Version 7.2.1(CC
From: "F.Lourdu Packia Raj" <lourduf () geometricsoftware ! com>
Date: 2001-04-27 5:21:50
[Download RAW message or body]
Hi ,
I encountered problems while build mysql++-1.7.8 in IRIX 6.5
$ CC -version
MIPSpro Compilers: Version 7.2.1
/s/44/lourduf/GNU/mysql/mysql++/examples
/bin/sh ../libtool --mode=link /usr/bin/CC -g -L/s/44/lourduf/GNU/mysql/lib \
-o resetdb resetdb.o util.o ../sqlplusint/libsqlplus.la -lz -lmysqlclient -lm \
/s/44/lourduf/GNU/mysql/mysql++/sqlplusint/.libs/libsqlplus.a
/usr/bin/CC -g -L/s/44/lourduf/GNU/mysql/lib -o .libs/resetdb resetdb.o util.o \
../sqlplusint/.libs/libsqlplus.so -lz -lmysqlclient -lz -lmysqlclient -lm \
/s/44/lourduf/GNU/mysql/mysql++/sqlplusint/.libs/libsqlplus.a \
-Wl,-rpath -Wl,/lib
ld32: WARNING 15: multiply defined:(MysqlFields::operator[](unsigned int) const) in \
resetdb.o and util.o (2nd definition ignored).
ld32: WARNING 15: multiply defined:(MysqlQuery::execute(const char*)) in resetdb.o \
and util.o (2nd definition ignored).
ld32: WARNING 15: multiply defined:(MysqlQuery::execute(SQLQueryParms&,query_reset)) \
in resetdb.o and util.o (2nd definition ignored).
ld32: WARNING 15: multiply defined:(MysqlQuery::use(SQLQueryParms&,query_reset)) in \
resetdb.o and util.o (2nd definition ignored).
ld32: WARNING 15: multiply defined:(MysqlQuery::store(SQLQueryParms&,query_reset)) in \
resetdb.o and util.o (2nd definition ignored).
ld32: WARNING 15: multiply defined:(__T_11MysqlFields) in resetdb.o and util.o (2nd \
definition ignored).
ld32: WARNING 15: multiply defined:(MysqlFields::__vtbl) in resetdb.o and util.o (2nd \
definition ignored).
ld32: WARNING 85: definition of MysqlQuery::execute(const char*) in resetdb.o \
preempts that definition in ../sqlplusint/.libs/libsqlplus.so.
ld32: WARNING 85: definition of MysqlQuery::execute(SQLQueryParms&,query_reset) in \
resetdb.o preempts that definition in \
../sqlplusint/.libs/libsqlplus.so.
ld32: WARNING 85: definition of MysqlQuery::use(SQLQueryParms&,query_reset) in \
resetdb.o preempts that definition in \
../sqlplusint/.libs/libsqlplus.so.
ld32: WARNING 85: definition of MysqlQuery::store(SQLQueryParms&,query_reset) in \
resetdb.o preempts that definition in \
../sqlplusint/.libs/libsqlplus.so.
ld32: WARNING 85: definition of MysqlFields::operator[](unsigned int) const in \
resetdb.o preempts that definition in \
../sqlplusint/.libs/libsqlplus.so.
ld32: WARNING 85: definition of MysqlFields::__vtbl in resetdb.o preempts that \
definition in ../sqlplusint/.libs/libsqlplus.so.
ld32: WARNING 85: definition of __T_11MysqlFields in resetdb.o preempts that \
definition in ../sqlplusint/.libs/libsqlplus.so.
ld32: WARNING 84: /s/44/lourduf/GNU/mysql/lib/libmysqlclient.a is not used for \
resolving any symbol.
ld32: WARNING 84: /s/44/lourduf/GNU/mysql/mysql++/sqlplusint/.libs/libsqlplus.a is \
not used for resolving any symbol.
ld32: ERROR 33: Unresolved data symbol \
"__T_42RowTemplate__pt__23_8MysqlRow11MysqlResUse" -- 1st referenced \
by resetdb.o.
Use linker option -v to see when and which objects, archives and dsos are \
loaded.
ld32: INFO 152: Output file removed because of error.
*** Error code 2 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
----------------------------------------------------------
FOLLOWING ARE nm DETAILS ON OBJECT FILES OF SQLPLUSINT
=========================nm connection.o=========================
[320] | 0| 20|OBJT |GLOB |DEFAULT |UNDEF \
|__T_42RowTemplate__pt__23_8MysqlRow11MysqlResUse
=========================nm datetime.o=========================
=========================nm field_names.o=========================
[301] | 0| 20|OBJT |GLOB |DEFAULT |UNDEF \
|__T_42RowTemplate__pt__23_8MysqlRow11MysqlResUse
=========================nm field_types.o=========================
[300] | 0| 20|OBJT |GLOB |DEFAULT |UNDEF \
|__T_42RowTemplate__pt__23_8MysqlRow11MysqlResUse
=========================nm manip.o=========================
=========================nm query.o=========================
[289] | 0| 20|OBJT |GLOB |DEFAULT |UNDEF \
|__T_42RowTemplate__pt__23_8MysqlRow11MysqlResUse
=========================nm result.o=========================
[322] | 0| 20|OBJT |GLOB |DEFAULT |UNDEF \
|__T_42RowTemplate__pt__23_8MysqlRow11MysqlResUse
How do I fix the above problem ?
----------------------------------------------------------
One more general questions... regarding row1.hh, row2.hh and row3.hh ?
Why some of the inline fuctions declared in Row class definition in
row1.hh is defined in row2.hh ?
Thanks in advance,
lourdu
--
______________________________________________________________________
All that is necessary is to accept the impossible, do without
the indispensable, and bear the intolerable. -- Kathleen Norris
______________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic