PG schrieb:
> I did not know if this was a problem with makefile, cygwin, or the
> specific odbc library, hence i submitted this question to multiple
> groups.
>
> Anyway, after some more work, found out that the makefile is resulting
> in this command
> gcc -L/lib/w32api -lodbc32 -o ODBCTest.exe ODBCTest.o <-- Fails with
> link errors.
But that is not what you posted earlier on, see your previously posted
error output:
rm: cannot remove `*.exe': No such file or directory
make: [clean] Error 1 (ignored)
gcc -I/usr/include -Iinclude -o ODBCTest.o -c ODBCTest.c
gcc -L. -lodbc32 -o ODBCTest.exe ODBCTest.o
ODBCTest.o:ODBCTest.c:(.text+0x4a): undefined reference to
`_SQLAllocHandle@[EMAIL PROTECTED]
'
no -L/lib/w32api :-)
And hey, this is has nothing to do with databases, this is a simple
gcc,make problem!
Cheers Hans


|