On Thu, 06 May 2004 09:27:10 -0700, ScriptBoy wrote:
Quote:
hi,
I was looking for a C/C++ program that will make a connection to the
sybase server (version 11) and i finally found it at
http://www.cs.sfu.ca/CC/SW/Sybase/DB-LIBRARY/node2.html now I'm trying to
make it work. This program uses sybdb and just executes dblogin, dbopen,
dbcmd, dbsqlexec. I can compile it but there is some trouble in linking it
Following are the errors when i try to link it:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error:
Unresolved external 'dbinit' referenced from C:\SYBASE\SAMPLE\DBLIBRARY\E
XAMPLE3.OBJ |
<snip>
All of the missing symbols are defined in the sybdb library. I'm not sure
what the file is called on Windows, nor if it will work with Borland's C
compiler/linker. Still the symptom that you are seeing is indicative that
your binary is not linked with the proper Sybase library file.
Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler (AT) peppler (DOT) org http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.peppler.org/resume.html