I'm trying to link 2 compiled objects files with libclntst11.a.
I do that with a gcc compiler / linker. I get this error message :
collect2: /oracle/oradb/11.2.0/ora/lib/libclntst11.a: cannot open as COFF file
and here is the command line producing this error :
gcc -L/oracle/oradb/11.2.0/ora/lib -L/usr/lib main.o base.o -lsql11 -lclntsh -lclntst11 -lpthread -lodm -o istam
the file /oracle/oradb/11.2.0/ora/lib/libclntst11.a exists and the user has access to this file (i compile with the "oracle" user) ...
Anyone has an idea on what's happen ? (i'm a newbie in C/C++ ...)