The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com




Thread: ld failure
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 09-29-2004
handak9 handak9 is offline
Registered User
  
 

Join Date: Jul 2004
Posts: 31
ld failure

Hi,

I am using gmake to compile a c program with a makefile. The make file runs ld. I get the following error

jsh1035c:/users/egate453/admegate/kapil/samples $ gmake -e -f GNUmakefile queue_c
gmake -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples
gmake[1]: Entering directory `/export/home/users/egate453/admegate/kapil/samples'
g++ -g -Wall -L. -o queue_c queue_c.o -lsocket -lnsl -lintl -lposix4 -lpthread -ldl stc_mscapi.dll stc_mscommon.dll stc_msapi.dll stc_msclient.dll
ld: fatal: file stc_mscapi.dll: unknown file type
ld: fatal: File processing errors. No output written to queue_c
collect2: ld returned 1 exit status
gmake[1]: *** [queue_c] Error 1
gmake[1]: Leaving directory `/export/home/users/egate453/admegate/kapil/samples'
gmake: *** [queue_c] Error 2

Do dll files work with ld and unix?

I got all this from a 3rd party vendor so I am having to do a bit of hacking to sort this out.

Any help is appreciated.