undefined symbol createEnvironment
406141Oct 10 2003 — edited Oct 23 2003Hi
I am making an application which will access an oracle database by OCCI on linux. I have installed the 9i client, and I am linking with among other libraries libocci9.a . When compiling, i get an undefined symbol
undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void*, void* (*)(void*, unsigned), void* (*)(void*, void*, unsigned), void (*)(void*, void*))'
In the occi9 library, I find the symbol
00000000 T createEnvironment__Q36oracle4occi11EnvironmentQ46oracle4occi11Environment4ModePvPFPvUi_PvPFPvPvUi_PvPFPvPv_v
It looks like argument number two (void *ctxp) in the occiControl.h header file is missing in the library.
Has anyone of you guys been seeing the same problem, or do I have a mismatch between the versions of the header file and the library???