This is the mail archive of the cygwin-apps@cygwin.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]
Other format: [Raw text]

Re: Update: perl-Win32-GUI, perl-libwin32


Reini Urban wrote:

Gerrit P. Haase schrieb:

$ nm /lib/libodbccp32.a | grep ' _SQL'
nm: '/lib/libodbccp32.a': No such file

I have the import library in the right place:
$ nm /lib/w32api/libodbccp32.a | grep ' _SQL'
00000000 T _SQLGetPrivateProfileString@24
00000000 T _SQLConfigDataSource@16


So this should be found by the linker.

Maybe the -L/usr/local/lib hurts you?
Is there another -lodbccp32?
Maybe a clash with iodbcunix?

$ ls /usr/lib/*odbc*
/usr/lib/libiodbc.a /usr/lib/libiodbc.la /usr/lib/libiodbcadm.dll.a /usr/lib/libiodbcinst.a /usr/lib/libiodbcinst.la /usr/lib/libodbc.dll.a@
/usr/lib/libiodbc.dll.a /usr/lib/libiodbcadm.a /usr/lib/libiodbcadm.la /usr/lib/libiodbcinst.dll.a /usr/lib/libodbc.a@


$ ls /usr/local/lib/*odbc*
ls: /usr/local/lib/*odbc*: No such file or directory

Maybe some wrong header?


Which version of gcc are you using?

3.3.3

I use 3.4.x, but it *should* work anyway since it seems the linker is irritated.

Gerrit
--
=^..^=

Action Soccer: http://www.action-soccer.de/?lv=de&id=505
(german online game)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]