From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ad36,73cac6ec7420bca6 X-Google-Attributes: gid10ad36,public X-Google-Thread: 1164f8,73cac6ec7420bca6 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-08-12 15:57:19 PST Xref: gmd.de comp.unix.bsd:13746 comp.sys.dec:9462 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!swrinde!elroy.jpl.nasa.gov!hiddenhost!jjt From: jjt@hiddenhost.jpl.nasa.gov (Jack J. Tuszynski) Newsgroups: comp.unix.bsd,comp.sys.dec Subject: Re: LABS - WHAT AM I DOING WRONG? Date: 12 Aug 1993 22:53:34 GMT Organization: self Distribution: world Message-ID: <24ehle$75d@elroy.jpl.nasa.gov> References: <2495tfINNrul@cbl.umd.edu> <7009223@zl2tnm.gen.nz> <1993Aug12.220025.6133@CSD-NewsHost.Stanford.EDU> NNTP-Posting-Host: 128.149.23.89 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 #include main() { long int along,j; j = 88; along=labs(j); printf("along: %d\n",along); }