> On Fri, Feb 25, 2011 at 12:35:48AM -0500, Dennis Clarke wrote:
>
>> /opt/studio/SOS11/SUNWspro/bin/cc -DNO_CLOSEFROM -DNO_DEV_URANDOM
>> -DNO_FUTIMESAT -Dstrcasecmp=fix_strcasecmp
>> -Dstrncasecmp=fix_strncasecmp -g -O -I. -I../../include -DSUNOS5 -c
>> postconf.c
>> "str_table.h", line 46: non-constant initializer involving a cast
>> cc: acomp failed for postconf.c
>
> What do you see on line 46 of str_table.h?

$ cat -n str_table.h | head -46 | tail -1
    46   VAR_TLS_BUG_TWEAKS, DEF_TLS_BUG_TWEAKS, &var_tls_bug_tweaks, 0, 0,

>
>> Also the -DNO_DEV_URANDOM seems wrong given :
>>
>> $ ls -l /dev/urandom
>> lrwxrwxrwx   1 root     root          34 Feb 19  2008 /dev/urandom ->
>> ../devices/pseudo/random@0:urandom
>
> Which version of SunOS first introduced unconditional support for
> /dev/urandom?

I don't know what you mean by "unconditional" but the feature was added to
Solaris 8 in :

Patch-ID# 112439-02
Keywords: random number generator prng
Synopsis: SunOS 5.8_x86: /kernel/drv/random patch
Date: Aug/15/2003

On Sparc that would be 112438-02.

In any case, a long time ago.

-- 
Dennis Clarke
dcla...@opensolaris.ca  <- Email related to the open source Solaris
dcla...@blastwave.org   <- Email related to open source for Solaris


Reply via email to