Home » Developer & Programmer » Precompilers, OCI & OCCI » occi compile problems
occi compile problems [message #196182] Wed, 04 October 2006 07:39
Messages: 1
Registered: October 2006
Junior Member
ok im trying to run this command...

g++ -L/app/oracle/product/10.1.0/Db_1/lib -I/app/oracle/product/10.1.0/Db_1/rdbms/public test.cpp -o test.exe

and get this ugly error...

/tmp/ccFSVHJl.o(.text+0x50): In function `main':
: undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void*, void* (*)(void*, unsigned), void* (*)(void*, void*, unsigned), void (*)(void*, void*))'
collect2: ld returned 1 exit status

how do i fix this? the occi.h exists in the /rdbms/public folder, and the /lib folder im sure has the libraries needed - i dont know what is wrong? is there a linking problem???

help!!! thank you!!
Previous Topic: desperately in need of OCCI help :(
Next Topic: i need sample of DBHandler and DBconnection pool
Goto Forum:

Current Time: Thu Oct 27 09:45:07 CDT 2016

Total time taken to generate the page: 0.08016 seconds