Re: linking problems with SSQLS
joh3@lithophile.com wrote:
> > /tmp/ccS0Mujl.o: In function `File_Types::table()': > /export/sda4/svn/PS_code/src/table_construct.h:42: undefined reference to > `File_Types::_table'
I suspect you're defining MYSQLPP_SSQLS_NO_STATICS in all modules. You
want to define it in all but one module. It doesn't greatly matter
which module leaves this undefined; each SSQLS has data members that
must be defined somewhere, once, in the set of modules being linked.
This macro suppresses those definitions so you don't get multiple
definition problems when defining SSQLSes in header files.
--
MySQL++ Mailing List
For list archives:
http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=lists@pantek.com
Received on Fri Oct 12 02:28:16 2007
This archive was generated by hypermail 2.1.8
: Fri Jul 04 2008 - 00:21:30 EDT
|