This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I sent a message earlier, but seem it got lost...
Anyway, here is my problem;
I'm trying to compile a small program that uses ODBC, this program was originally written for UNIX.
Now using "gcc-win32" under NT the source compiles ok but at link time I get this:
undefined reference to 'SQLAllocEnv'
I actually get this for all SQLxxx references.
here is my command line:
gcc -o prog.exe prog.o -lodbc32 -lm -loldnames
Any idea somebody? Do I have to do something with dlltool???
Thanks
Andre
--
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |