  | | | Subject: Re: linking problems with SSQLS | Subject: Re: linking problems with SSQLS 2007-10-12 - By Warren Young
Back joh3@(protected) 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=mysql@(protected)
|
|
 |