Undefined symbols
I'm working on a program that uses Connector/C++ and I can't figure out what is causing this issue. When I attempt to get the driver and compile I get this error:
Undefined symbols for architecture x86_64:
"_get_driver_instance", referenced from:
_main in cc6UHEQ6.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
Everything seems to be included correctly. The code I'm using to connect is:
Driver *driver;
Connection *connect;
driver= get_driver_instance();
connect = driver->connect(url, userName, password);
url, username, and password are strings.
Anyone have a solution?
Subject
Views
Written By
Posted
Undefined symbols
3501
May 09, 2011 12:47PM
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.