System: Debian
Hi,
I have "some" linking failures with my program linking to libmysql++ 3.0.1
(freshly compiled).
Some of them are:
undefined reference to `mysqlpp::Connection::query()'
undefined reference to `mysqlpp::Row::at(unsigned int) const'
undefined reference to `mysqlpp::Connection::query()'
etc ...
The weird thing is, is that it doesn't complain at compile time (and
checking the headers that's normal because those functions are defined).
But why would it complain at linking time only? What am I doing wrong?
My build line is:
/usr/bin/c++ -fPIC "CMakeFiles/dataparser.dir/HelpFunctions.o"
"CMakeFiles/dataparser.dir/InterpretRecord.o"
"CMakeFiles/dataparser.dir/LifeCycle.o"
"CMakeFiles/dataparser.dir/LoadAbgleichTab.o"
"CMakeFiles/dataparser.dir/main.o" "CMakeFiles/dataparser.dir/stlini.o" -o
bin/dataparser -rdynamic -lmysqlpp
Compilation against 2.x went fine.
Greetings,
Steven