This is a cry for help, i have been dropped in the deep end, not knowing Visual C++ (although the code is actually C) I have been asked to make a change to some code which I can't even get to compile at the moment .. and thats without my changes.
I get an error while linking and don't have a clue where to start, the errors I get are
Linking...
app12b_nt.obj : error LNK2001: unresolved external symbol __sqlepilog
app12b_nt.obj : error LNK2001: unresolved external symbol __sqlResults
app12b_nt.obj : error LNK2001: unresolved external symbol __sqlprolog
app12b_nt.obj : error LNK2001: unresolved external symbol __sqlinitctx
app12b_nt.obj : error LNK2001: unresolved external symbol __sqlsetintrerr
app12b_nt.obj : error LNK2001: unresolved external symbol __sqlctdiag
Release/app12b_ntsrvc.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe
Can somebody give me an idea what I need to do please.
The code starts as embedded SQL, a cp file, which is then pre-complied to a c file and then compiled and linked. I managed to sort out the compliler problems (some include paths missing) but am stuck on this linker problem.
It is using Sybase 12.0 on an NT 4 box. I don't know if the missing bits are in-house written stuff or if they are standard libraries and I don't know how to find out as the only other person here who does C is on holiday.
Any help or advice is much appreciated.
Andy
I get an error while linking and don't have a clue where to start, the errors I get are
Linking...
app12b_nt.obj : error LNK2001: unresolved external symbol __sqlepilog
app12b_nt.obj : error LNK2001: unresolved external symbol __sqlResults
app12b_nt.obj : error LNK2001: unresolved external symbol __sqlprolog
app12b_nt.obj : error LNK2001: unresolved external symbol __sqlinitctx
app12b_nt.obj : error LNK2001: unresolved external symbol __sqlsetintrerr
app12b_nt.obj : error LNK2001: unresolved external symbol __sqlctdiag
Release/app12b_ntsrvc.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe
Can somebody give me an idea what I need to do please.
The code starts as embedded SQL, a cp file, which is then pre-complied to a c file and then compiled and linked. I managed to sort out the compliler problems (some include paths missing) but am stuck on this linker problem.
It is using Sybase 12.0 on an NT 4 box. I don't know if the missing bits are in-house written stuff or if they are standard libraries and I don't know how to find out as the only other person here who does C is on holiday.
Any help or advice is much appreciated.
Andy