MySQL Forums
Forum List  »  Connector/C++

undefined reference for some functions
Posted by: Mauro Oliveira Maurão
Date: July 24, 2017 06:22PM

Dear friends,

The following functios are declared in the mysql.h header file that is well included in the example source code. And it´s path well seted.

But the compiler says:

undefined reference to 'mysql_real_connect'
undefined reference to 'mysql_query'
undefined reference to 'mysql_store_result'
undefined reference to 'mysql_num_rows'
undefined reference to 'mysql_fetch_row'
undefined reference to 'mysql_close'

Could you helpe me please?

Thanks in advance.

Options: ReplyQuote


Subject
Views
Written By
Posted
undefined reference for some functions
963
July 24, 2017 06:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.