8 messages in com.mysql.lists.plusplusRe: undefined reference error while c...
FromSent OnAttachments
Jonas Jurczok17 Jan 2006 04:02 
Warren Young17 Jan 2006 07:01 
Warren Young17 Jan 2006 07:09 
Jonas Jurczok17 Jan 2006 09:02 
Jonas Jurczok17 Jan 2006 10:03 
Jonas Jurczok17 Jan 2006 10:41 
Tommy Apel17 Jan 2006 11:04 
Jonas Jurczok17 Jan 2006 11:20 
Subject:Re: undefined reference error while compiling
From:Warren Young (mysq@etr-usa.com)
Date:01/17/2006 07:01:05 AM
List:com.mysql.lists.plusplus

Jonas Jurczok wrote:

[root@localhost mysql]# c++ -o mysqltest -I /usr/include/mysql -I /usr/include/mysql++/ mysqltest.cpp

You aren't linking to either the MySQL C API or the MySQL++ libraries here. Please read the GCC documentation. This forum tasked with teaching people how to use their build tools.