On 11/30/15 11:57 AM, Klaus Ziegler - owner of sunfreeware.de wrote:

>>> Bash Version: 4.3
>>> Patch Level: 42
>>> Release Status: release
>>>
>>> Description:
>>> when linking bash the following linker error is displayed:
>>> cc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob...
>>> Undefined                       first referenced
>>>   symbol                             in file
>>> random                              ./lib/sh/libsh.a(tmpfile.o)
>>> ld: fatal: Symbol referencing errors. No output written to bash
>>>
>>>          Solaris 2.4 needs -L/usr/ucblib -lucb to link bash
>>>
>>> Repeat-By:
>>>          doing nm on all libraries in /usr/lib and looking for random:
>> Does it at least have rand() in the C library?

OK, I'll add something that uses rand() if random() is not available.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to