YABP (Yet Another Beginner Problem)?

Andre Couture Andre.Couture@search-n-find.com
Tue Jul 22 17:32:00 GMT 1997


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
-- 
Andre Couture
938934 Ontario Inc.
mailto:acouture@search-n-find.com
http://www.search-n-find.com/
 


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /