From: Warren Young Date: August 22 2005 10:20pm Subject: Re: Undefined reference to Connection object.... List-Archive: http://lists.mysql.com/plusplus/4791 Message-Id: <430A4FBC.1080407@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Josh Bigelow wrote: > g++ -I/usr/include/mysql -L/usr/include/mysql -L/usr/local/include > -I/usr/local/include -lmysqlclient box.c -o box You're failing to link to the MySQL++ library. Add -lmysqlpp > #include "connection.h" You don't need to add that. > I know that mysql++.h and connection.h > are in /usr/local/include, and I cannot figure out why it's doing this > when these function references are clearly there. If this were your problem, you'd get a different error.