From bug-octave-request at bevo dot che dot wisc dot edu Tue Jan 12 10:20:36 1999 Subject: Octave crashes on call to rand() From: "John W. Eaton" To: Nick Youd Cc: bug-octave at bevo dot che dot wisc dot edu, nick@merton.logica.co.uk Date: Tue, 12 Jan 1999 10:20:22 -0600 (CST) On 12-Jan-1999, Nick Youd wrote: | Bug report for Octave 2.0.13 configured for sparc-sun-sunos4.1.4 | | Description: | ----------- | | I'm sending this bug report again. As far as I can make out, Octave is | fully functioning, except for calls to rand and randn | | Repeat-By: | --------- | | octave:1> rand(1) | ld.so: call to undefined procedure _setall_ from 0xef76718c As I remember, the dynamic linker on the ancient SunOS 4.x systems is not smart enough to figure out where to find _setall_, which should be in Octave's libcruft.so. I think one fix is to change the link commands for the .oct files so that they include -loctave -lcruft (and perhaps other libraries as needed). I'm not sure how to make this work correctly for all systems. It is not needed on most, as far as I know. jwe