09-29-2004
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.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
I am using Perl program to do socket communication. My application has to use port 40001 this is a condition I can't change the port.
The execution of this script always gave an error 'Bind failure port already in use'
netstat execution gives below line:
udp 0 0 ... (5 Replies)
Discussion started by: zing_foru
5 Replies
2. UNIX for Advanced & Expert Users
aix 4.3
I get the following error from the errpt log
BD797922 0306170008 P H enclosure0 SUBSYSTEM FAILURE
I'm not clear on this kind of error. It never happened to me.
What do this errors mean, and how do I clear or solve them?
Any help is appreciated. (2 Replies)
Discussion started by: andwhat
2 Replies
3. Linux
Hi all
I used a dual boot operating system and it works fine for me. Now , i install a Ati radeon 9250 Agp card on my system and this results in boot failure of fedora 6. The graphics card is working fine with windows XP , i.e i have no compatibility issues.The system also refuses to boot when i... (2 Replies)
Discussion started by: joshighanshyam
2 Replies
4. UNIX for Advanced & Expert Users
Usually when su rejects an attempt to switch user it responds with "Sorry" but with a certain username on some unix servers the response is "Killed". I'm guessing the su accepted the username/password but refused to spawn child shell with the specified username. What's causing this and what has to... (8 Replies)
Discussion started by: twk
8 Replies
5. UNIX for Advanced & Expert Users
hi,
i´ve been the last 48 hours with this issue, this is my last resort....
after clone another system to a new one with lvm, the last step is mkinitrd.
i execute it and it finish, but some errors are sent to stderrr.
/sbin/mkinitrd: line380: gawk: command not found
Traceback (most... (2 Replies)
Discussion started by: pabloli150
2 Replies
6. Shell Programming and Scripting
Hi ,
I need to write a IF condition to know if a SFTP file transfer is successful or not and send email if its failed.
`sftp username@servername <<comm1
cd /directory
put filename
comm1
bye`
I use above commands for my connections. So please help me to write a IF statement.
... (0 Replies)
Discussion started by: krishna87
0 Replies
7. Programming
I'm running a simple web server and seem to be having a problem canceling sessions.
When a new request is received I start a thread to handle that session's requests. Since I want to keep the pipe open for a long time - 10 minutes or maybe 2 hours - I also have a session manager that... (4 Replies)
Discussion started by: John S.
4 Replies
8. UNIX for Advanced & Expert Users
i am tryin to mount my shared folder on the server, I used a command suggested to me, but it also fails, any suggestions would be thankful
saman@saman-G41MT-ES2L:~$ sudo mount -t cifs //safe/tabatabaian_s -o username="myuser",password="mypass" /mnt/share
mount: wrong fs type, bad option, bad... (1 Reply)
Discussion started by: dr_mabuse
1 Replies
9. Red Hat
I am configuring Samba on one of my vmware.when i put smbclient -L local its showing error message : NT_STATUS_LOGON failure.I found that when i remove "Encrypted password entry from smb.conf" it works.
pls help me
---------- Post updated at 08:39 PM ---------- Previous update was at 07:11 PM... (0 Replies)
Discussion started by: Vaibhav.T
0 Replies
10. UNIX for Dummies Questions & Answers
hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies
LEARN ABOUT REDHAT
gccmakedep
gccmakedep(1) General Commands Manual gccmakedep(1)
NAME
gccmakedep - create dependencies in makefiles using 'gcc -M'
SYNOPSIS
gccmakedep [ -sseparator ] [ -fmakefile ] [ -a ] [ -- options -- ] sourcefile ...
DESCRIPTION
The gccmakedep program calls 'gcc -M' to output makefile rules describing the dependencies of each sourcefile, so that make(1) knows which
object files must be recompiled when a dependency has changed.
By default, gccmakedep places its output in the file named makefile if it exists, otherwise Makefile. An alternate makefile may be speci-
fied with the -f option. It first searches the makefile for a line beginning with
# DO NOT DELETE
or one provided with the -s option, as a delimiter for the dependency output. If it finds it, it will delete everything following this up
to the end of the makefile and put the output after this line. If it doesn't find it, the program will append the string to the makefile
and place the output after that.
EXAMPLE
Normally, gccmakedep will be used in a makefile target so that typing 'make depend' will bring the dependencies up to date for the make-
file. For example,
SRCS = file1.c file2.c ...
CFLAGS = -O -DHACK -I../foobar -xyz
depend:
gccmakedep -- $(CFLAGS) -- $(SRCS)
OPTIONS
The program will ignore any option that it does not understand, so you may use the same arguments that you would for gcc(1), including -D
and -U options to define and undefine symbols and -I to set the include path.
-a Append the dependencies to the file instead of replacing existing dependencies.
-fmakefile
Filename. This allows you to specify an alternate makefile in which gccmakedep can place its output. Specifying "-" as the file
name (that is, -f-) sends the output to standard output instead of modifying an existing file.
-sstring
Starting string delimiter. This option permits you to specify a different string for gccmakedep to look for in the makefile. The
default is "# DO NOT DELETE".
-- options --
If gccmakedep encounters a double hyphen (--) in the argument list, then any unrecognized arguments following it will be silently
ignored. A second double hyphen terminates this special treatment. In this way, gccmakedep can be made to safely ignore esoteric
compiler arguments that might normally be found in a CFLAGS make macro (see the EXAMPLE section above). -D, -I, and -U options
appearing between the pair of double hyphens are still processed normally.
SEE ALSO
gcc(1), make(1), makedepend(1).
AUTHOR
gccmakedep was written by the XFree86 Project based on code supplied by Hongjiu Lu.
Colin Watson wrote this manual page, originally for the Debian Project, based partly on the manual page for makedepend(1).
XFree86 Version Version 4.3.0 gccmakedep(1)