Mail Archives: cygwin/1997/07/22/18:55:19
--------------A42091BE60377F7CF4B0487A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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 AT search-n-find DOT com
http://www.search-n-find.com/
--------------A42091BE60377F7CF4B0487A
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
<P>I sent a message earlier, but seem it got lost...
<P>Anyway, here is my problem;
<P>I'm trying to compile a small program that uses ODBC, this program was
originally written for UNIX.
<P>Now using "gcc-win32" under NT the source compiles ok but at link time
I get this:
<P>undefined reference to 'SQLAllocEnv'
<P>I actually get this for all SQLxxx references.
<P>here is my command line:
<P>gcc -o prog.exe prog.o -lodbc32 -lm -loldnames
<P>Any idea somebody? Do I have to do something with dlltool???
<BR>
<P>Thanks
<BR>Andre
<P>--
<HR><B><I><FONT COLOR="#008080"><FONT SIZE=+2>Andre Couture</FONT></FONT></I></B>
<BR><B><I><FONT COLOR="#4299A7">938934 Ontario Inc.</FONT></I></B>
<BR><FONT COLOR="#6666CC"><A HREF="mailto:acouture AT search-n-find DOT com">mailto:acouture AT search-n-find DOT com</A></FONT>
<BR><B><I><FONT COLOR="#6666CC"><A HREF="http://www.search-n-find.com/">http://www.search-n-find.com/</A></FONT></I></B>
<BR> </HTML>
--------------A42091BE60377F7CF4B0487A--
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -