Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2003
    Location
    India
    Posts
    10

    Unanswered: ProC: Undefined reference to sqlcxt

    Hi all,
    I wrote some Pro C code in a C++ program and precompiled it. The precompilation was successful, but when I try to run the generated .cpp file, it gives the following error,

    -----
    error LNK2001: unresolved external symbol "void __cdecl sqlcxt(void * *,unsigned int *,struct sqlexd *,struct sqlcxp const *)" (?sqlcxt@@YAXPAPAXPAIPAUsqlexd@@PBUsqlcxp@@@Z)
    Debug/nested.exe : fatal error LNK1120: 1 unresolved externals
    ------

    I am using VC++. I linked all the necessary libraries, orasql9.lib. But I am still getting this error. There was a similar problem in linux, which was solved on linking with libclntsh.so What is its equivalent in windows.
    Are there other mistakes I am making too.

  2. #2
    Join Date
    Jun 2008
    Posts
    1
    Could u find any solutions ? I am also facing the same problem. Plz help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •