472,347 Members | 2,409 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,347 software developers and data experts.

Re: LNK2001: unresolved external symbol

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
0 2528

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Bil Muh | last post by:
Hello Developers, I use VC++ .NET v2003. By using Windows Forms .NET, I am developing an application which will work with TCP/IP functions. I can...
2
by: rangalo | last post by:
Hi All, I have succeeded in compiling a massive project, originally from vc6 to VS .Net 2005. Now, while linking I am having loads of linker...
5
by: eberesche | last post by:
Hello, as a novice in ASN.1 I have me to a project in C ++ under use of ASN.1 - structures risquély. One of my colleagues means, this would deal...
2
by: Angus | last post by:
Hello I am using some classes from a third party and have included them in my projecxt and am compiling and linking with them. Everything...
2
by: Maydogg6 | last post by:
I need a hand with some stubborn link errors. I'm trying to recreate and old program from 6.0 into .NET, but for some reason when I try to compile...
6
by: sadegh | last post by:
Hi I have a problem with my program in VC++6 When I compile it, the following errors are listed. I spend a lot of time on the groups.google.com...
5
by: bonnielym84 | last post by:
Im new here..didnt noe whether is this the rite way to post my problem..Really need help here..i've been stucked in this error from last wk..My...
0
by: bonnielym84 | last post by:
Im new here and im not sure whether is this the right place for me to post my question..anyway..hope that you can help me..i have been stucked in...
1
by: mahricky | last post by:
i have the following error msg when i buid one of my cpp projects in visual studio 6. pls help me, it's very urgent. extures.obj : error LNK2001:...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.