2

I'm getting an error on my source file for the mysql functions Im using. I setup my inclusion path and the libraries. The error is, for example: undefined reference to _mysql_init when I call mysql_init. Whats interesting is, I can click on the function and it will go directly to the mysql.h function declaration

somejkuser
  • 8,856
  • 20
  • 64
  • 130
  • So, does your project build without errors? Or does the compiler or linker proclaim the missing of `msql_init()` during the build? – alk Nov 22 '12 at 17:28

1 Answers1

1

Assuming your project builds well: You might like to let Eclipse rebuild its symbol index.

To do so: Right-click the project and select Index->Rebuild

(see also: eclipse C project shows errors (Symbol could not be resolved) but it compiles)

Community
  • 1
  • 1
alk
  • 69,737
  • 10
  • 105
  • 255