From: Stefan Schwarzer <sts@boa.ica1.uni-stuttgart.de>
Subject: Re: shm_open (Shared Memory Open) not found in OSF1 ?
Date: 1998/08/25 [thread overview]
Message-ID: <6rvcr7$r30$2@infosun2.rus.uni-stuttgart.de> (raw)
In-Reply-To: 359b57f0.25366721@news.kornet.nm.kr
CHOI. MYUNG JONG <CARPE@DOOSAN.COM> wrote:
> RE: shm_open (Shared Memory Open) not found in OSF1 ?
> Upon compiling of the code, however, I am getting link error.
>
> $> cc -g digital.c
> ld:
> Unresolved:
> shm_open
> shm_unlink
> memlk
> $>
I found, e.g., shm_open, in librt.a, so you can resolve the symbol
by adding -lrt on the command line.
In general use the 'nm' command to find symbols in libraries, e.g., in the
(t)csh, in /usr/lib, /usr/ccs/lib or whereever, type
> foreach f ( lib* )
? echo $f; nm $f | fgrep <symbol>
? end
Sorry, I don't have a code example, I am more of a message passing fan for
the applications I write.
--
Stefan Schwarzer office: +49-(0)711-685-7606 fax: x-3658
Uni Stuttgart, ICA 1 e-mail: sts@ica1.uni-stuttgart.de
Pfaffenwaldring 27 pgp public key available on request/finger
70569 Stuttgart, Germany http://www.ica1.uni-stuttgart.de/~sts
next prev parent reply other threads:[~1998-08-25 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-25 4:00 shm_open (Shared Memory Open) not found in OSF1 ? CHOI. MYUNG JONG
1998-08-25 4:00 ` Stefan Schwarzer [this message]
1998-08-25 4:00 ` Vincent DELOYE
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox