• Link errors on Windows

    From Robert Fetter@21:1/5 to All on Fri Jul 7 12:20:58 2017
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robert Fetter@21:1/5 to All on Sat Jul 8 09:21:00 2017
    I was thinking, if anyone has working Windows 64bit libraries, please
    zip them up, upload to Google Drive, and post a link.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)