Link errors on Windows
(too old to reply)
Robert Fetter
2017-07-07 19:20:58 UTC
Raw Message
Hi there. I'm running Windows 10 64bit with CYGWIN64.
I've installed IDS for 64 bit.
I ran esql -static -libs and learned to link isqlt09s.lib with my code.
But when I try to link I get many errors:

cc main.o GeneralRecap.o DeltaCalc.o MSC2Services.o Services2MSC.o TrunkGroup2MSC.o CDRtempTable.o Event2Mobile.o Event2Network.o MTU2Network.o -O ../../../../DIA/lib/CYGWIN_NT-10.0/libDIA.a ../../../../DCT/lib/CYGWIN_NT-10.0/libAUTH.a ../../../../DCT/lib/CYGWIN_NT-10.0/libDCT.a ../../../../DCT/lib/CYGWIN_NT-10.0/libMS.a ../../../../DCT/lib/CYGWIN_NT-10.0/libMISC.a /informix/lib/isqlt09s.lib -lm /cygdrive/c/oncrpc/win32/librpc/libONCRPC.a -L /cygdrive/c/Windows/System32 -ladvapi32 -lmpr -luser32 -lcrypt -lws2_32 -lcrypt /cygdrive/c/oncrpc/win32/librpc/libONCRPC.a -o DIAreconciler.exe

../../../../DIA/lib/CYGWIN_NT-10.0/libDIA.a(informixdb.o):informixdb.c:(.text+0x3e5): undefined reference to `fnsqlca'
../../../../DIA/lib/CYGWIN_NT-10.0/libDIA.a(informixdb.o):informixdb.c:(.text+0x3e5): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `fnsqlca'
../../../../DIA/lib/CYGWIN_NT-10.0/libDIA.a(informixdb.o):informixdb.c:(.text+0x3ff): undefined reference to `sqli_connect_set'
.............and the list goes on and on.................

I checked all the .lib files in $INFORMIXDIR/lib and none of them have
any of the routines needed.
Any thoughts?
Robert Fetter
2017-07-08 16:21:00 UTC
Raw Message
I was thinking, if anyone has working Windows 64bit libraries, please
zip them up, upload to Google Drive, and post a link.