Home » Developer & Programmer » Precompilers, OCI & OCCI » Linking error on Linux
Linking error on Linux [message #94375] Wed, 15 September 2004 12:57
Naresh
Messages: 27
Registered: March 2001
Junior Member
I have compiled and built the preccompiler libarary containing the Oracle calls.The lib, named sample1 has built successfully.

I have included the name of this library in my final executable's Makefile.linux  (which links to the above lib).

The problem is the GCC compiler on linux is giving the error message " undefined reference to ".

 

For example , the function is ORACLEDB_connect (char*,char*,char*);

The linking error is " undefined reference to ORACLEDB_connect (char*,char*,char*)"

I have correctly specified the path to find this library.But its not recognising the libarray.

What changes do i need to make to the Makefile.linux.

Please suggest.

 

Thanks

 

 
Previous Topic: not finding proc compiler
Next Topic: Any OCI library Available for linux
Goto Forum:
  


Current Time: Fri Apr 19 03:46:06 CDT 2024