Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rand48 routines



Hello,
I am trying to compile some code that uses the rand48 family of random number generators. If I do a "man 3 rand48" I get:
NAME
drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48,
lcong48 - pseudo random number generators and initialization routines


SYNOPSIS
     #include <stdlib.h>

     double
     drand48(void)
... etc.

However, at the linking stage the symbols in this library are undefined. Are they really there somewhere or are they missing? Any suggestions on which library might be needed to link with?
Thanks in advance.


Jon.
--
Jon McCormack
Monash University, Australia
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.





Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.