By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,098 Members | 2,007 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,098 IT Pros & Developers. It's quick & easy.

Re: LNK2001: unresolved external symbol

P: n/a
hl*****@hotmail.com (Eric) wrote in message news:<ab**************************@posting.google. com>...
Hi !
I am trying to compile a C++ program that uses OCI but get the
following linker errors. I'm running Oracle 9i on Windows 2000,
compiling with Microsoft
Visual C++ 6.0.

Does anyone know a solution or what I am doing wrong?

Any help would be greatly appreciated. Thanks,

Linking...
server.obj : error LNK2001: unresolved external symbol
_OCIDescriptorFree
server.obj : error LNK2001: unresolved external symbol _OCIHandleFree
server.obj : error LNK2001: unresolved external symbol _OCIInitialize
server.obj : error LNK2001: unresolved external symbol _OCIAttrSet
server.obj : error LNK2001: unresolved external symbol
_OCIServerAttach
server.obj : error LNK2001: unresolved external symbol _OCIHandleAlloc
server.obj : error LNK2001: unresolved external symbol _OCIEnvInit
server.obj : error LNK2001: unresolved external symbol
_OCISessionBegin
server.obj : error LNK2001: unresolved external symbol _OCIErrorGet
server.obj : error LNK2001: unresolved external symbol _OCIStmtPrepare
server.obj : error LNK2001: unresolved external symbol _OCIStmtExecute
server.obj : error LNK2001: unresolved external symbol _OCIAttrGet
server.obj : error LNK2001: unresolved external symbol _OCIBindByName
server.obj : error LNK2001: unresolved external symbol _OCIDefineByPos
server.obj : error LNK2001: unresolved external symbol
_OCIServerDetach
server.obj : error LNK2001: unresolved external symbol _OCISessionEnd
Debug/server.exe : fatal error LNK1120: 16 unresolved externals
Error executing link.exe.
server.exe - 17 error(s), 0 warning(s)
----------------------------------------------------------------

LNK1120 is a standard C++ error. you using Visual C++? Means your
references a class that doesnt exist or something similiar to that.
explanation on microsoft.com

its not an oracle specific problem.
Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.