MU-VMS Archives

September 1997

MU-VMS@LISTSERV.MIAMIOH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Kent Covert <[log in to unmask]>
Reply To:
Miami University OpenVMS <[log in to unmask]>
Date:
Mon, 8 Sep 1997 09:04:02 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
In article <[log in to unmask]>, [log in to unmask] (Kent Co
vert) writes:
> In article <[log in to unmask]>, Ralph Goodpaster <goodparc@
titan.sas.muohio.edu> writes:
>> What library on MIAVX1 is the c sleep() function located in?  I've
>> already included what I believe to be the correct header.  How do I
>> include the library?  How do I find this information out for myself?
>> The error is included below, perhaps I dont need a library but something
>> else?
>>
>> thanks, ralph
>>
>> What is thy bidding?>link loader.obj
>> %LINK-W-NUDFSYMS, 1 undefined symbol:
>> %LINK-I-UDFSYM,         SLEEP
>> %LINK-W-USEUNDEF, undefined symbol SLEEP referenced
>>         in psect $LINK$ offset %X00000040
>>         in module LOADER file SYS_USERS:[SAN.GOODPARC.HOLE]LOADER.OBJ;4
>
> I don't understand why, but if you compile your program with the
> /PREFIX=ALL qualifier, you can use the sleep() function without any
> problems.  This appears to be a bug.  I'll put a call into DEC about it.
 
After talking with DEC, I have made the /PREFIX=ALL qualifier the default
when compiling C programs.  This qualifier should no longer be needed
(although it shouldn't hurt anything if you include it).
 
Let me know if you see any negative repercussions of this change.
 
--
                                     Kent Covert, Software Coordinator
                                     Miami Computing and Information Services
                                     Miami University, Oxford, OH
                                     [log in to unmask]

ATOM RSS1 RSS2