From: jjt@hiddenhost.jpl.nasa.gov (Jack J. Tuszynski)
Subject: Re: LABS - WHAT AM I DOING WRONG?
Date: 12 Aug 1993 22:53:34 GMT [thread overview]
Message-ID: <24ehle$75d@elroy.jpl.nasa.gov> (raw)
In-Reply-To: 1993Aug12.220025.6133@CSD-NewsHost.Stanford.EDU
I have LNK$LIBRARY defined as SYS$LIBRARY:VAXCRTL in my login.com. ABS is in
the VAXCRTL library, but LABS is not. But the Vax C RTL Ref. Manual says
that LABS should be in VAXCRTL. I have C language version 3.1 installed
correctly. I'm running VMS 5.3 BTW.
When I run a program (below), which uses LABS, here is what I get:
What am I doing wrong?
%LINK-W-NUDFSYMS, 1 undefined symbol:
%LINK-I-UDFSYM, LABS
%LINK-W-USEUNDEF, undefined symbol LABS referenced
in psect $CODE offset %X00000011
in module LTEST file USER$DISK2:[JJT.SRC]LTEST.OBJ;6
------------------------------- program --------------------------------------
#include <stdio.h>
#include <stdlib.h>
main()
{
long int along,j;
j = 88;
along=labs(j);
printf("along: %d\n",along);
}
next prev parent reply other threads:[~1993-08-12 22:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-08-10 22:02 ?wuarchive 4.3bsd-reno code for VAX Michael F. Santangelo
1993-08-11 15:39 ` ivie
1993-08-12 13:36 ` Don Stokes
1993-08-12 22:00 ` Jonathan Stone
1993-08-12 22:53 ` Jack J. Tuszynski [this message]
1993-08-13 13:54 ` LABS - WHAT AM I DOING WRONG? Ken Cowan
1993-08-12 22:37 ` ?wuarchive 4.3bsd-reno code for VAX Mark Davies
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