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 MOJAVE
perlvos
PERLVOS(1) Perl Programmers Reference Guide PERLVOS(1)
NAME
perlvos - Perl for Stratus OpenVOS
SYNOPSIS
This file contains notes for building perl on the Stratus OpenVOS operating system. Perl is a scripting or macro language that is popular
on many systems. See perlbook for a number of good books on Perl.
These are instructions for building Perl from source. This version of Perl requires the dynamic linking support that is found in OpenVOS
Release 17.1 and thus is not supported on OpenVOS Release 17.0 or earlier releases.
If you are running VOS Release 14.4.1 or later, you can obtain a pre-compiled, supported copy of perl by purchasing the GNU Tools product
from Stratus Technologies.
BUILDING PERL FOR OPENVOS
To build perl from its source code on the Stratus V Series platform you must have OpenVOS Release 17.1.0 or later, GNU Tools Release 3.5 or
later, and the C/POSIX Runtime Libraries.
Follow the normal instructions for building perl; e.g, enter bash, run the Configure script, then use "gmake" to build perl.
INSTALLING PERL IN OPENVOS
1. After you have built perl using the Configure script, ensure that you have modify and default write permission to ">system>ported" and
all subdirectories. Then type
gmake install
2. While there are currently no architecture-specific extensions or modules distributed with perl, the following directories can be used
to hold such files (replace the string VERSION by the appropriate version number):
>system>ported>lib>perl5>VERSION>i786
3. Site-specific perl extensions and modules can be installed in one of two places. Put architecture-independent files into:
>system>ported>lib>perl5>site_perl>VERSION
Put site-specific architecture-dependent files into one of the following directories:
>system>ported>lib>perl5>site_perl>VERSION>i786
4. You can examine the @INC variable from within a perl program to see the order in which Perl searches these directories.
USING PERL IN OPENVOS
Restrictions of Perl on OpenVOS
This port of Perl version 5 prefers Unix-style, slash-separated pathnames over OpenVOS-style greater-than-separated pathnames. OpenVOS-
style pathnames should work in most contexts, but if you have trouble, replace all greater-than characters by slash characters. Because
the slash character is used as a pathname delimiter, Perl cannot process OpenVOS pathnames containing a slash character in a directory or
file name; these must be renamed.
This port of Perl also uses Unix-epoch date values internally. As long as you are dealing with ASCII character string representations of
dates, this should not be an issue. The supported epoch is January 1, 1980 to January 17, 2038.
See the file pod/perlport.pod for more information about the OpenVOS port of Perl.
TEST STATUS
A number of the perl self-tests fails for various reasons; generally these are minor and due to subtle differences between common POSIX-
based environments and the OpenVOS POSIX environment. Ensure that you conduct sufficient testing of your code to guarantee that it works
properly in the OpenVOS environment.
SUPPORT STATUS
I'm offering this port "as is". You can ask me questions, but I can't guarantee I'll be able to answer them. There are some excellent
books available on the Perl language; consult a book seller.
If you want a supported version of perl for OpenVOS, purchase the OpenVOS GNU Tools product from Stratus Technologies, along with a support
contract (or from anyone else who will sell you support).
AUTHOR
Paul Green (Paul.Green@stratus.com)
LAST UPDATE
February 28, 2013
perl v5.18.2 2013-11-04 PERLVOS(1)