Can not build wget-1.8 under SunOS-4.1.4

2001-12-14 Thread Vin Shelton
Greetings, I have successfully built wget-1.8 under linux-2.4.xx (at home) and under SunOS-5.5, but under SunOS-4.1.4, I get a compile-time error: gcc -I. -I../../../../src/wget-1.8/src-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/u/shelto n/new/SunOS-4.1/etc/wgetrc\" -DLOCALEDIR=\"/u/shelton/new/Su

Re: Can not build wget-1.8 under SunOS-4.1.4

2001-12-14 Thread Hrvoje Niksic
Vin Shelton <[EMAIL PROTECTED]> writes: > I have successfully built wget-1.8 under linux-2.4.xx (at home) and > under SunOS-5.5, but under SunOS-4.1.4, I get a compile-time error: > > ../../../../src/wget-1.8/src/retr.c:682: `RAND_MAX' undeclared (first use in this fun > ction) [...] > Please le

Re: Can not build wget-1.8 under SunOS-4.1.4

2001-12-15 Thread Andre Majorel
On 2001-12-15 07:37 +0100, Hrvoje Niksic wrote: > Is there a good fallback value of RAND_MAX for systems that don't > bother to define it? The standard (SUS2) says : The value of the {RAND_MAX} macro will be at least 32767. -- André Majorel Work: <[EMAIL PROTECTED]> Home: <[EMAIL PROTECTED]

Re: Can not build wget-1.8 under SunOS-4.1.4

2001-12-16 Thread Hrvoje Niksic
Andre Majorel <[EMAIL PROTECTED]> writes: > On 2001-12-15 07:37 +0100, Hrvoje Niksic wrote: > >> Is there a good fallback value of RAND_MAX for systems that don't >> bother to define it? > > The standard (SUS2) says : > > The value of the {RAND_MAX} macro will be at least 32767. c9x says th

Re: Can not build wget-1.8 under SunOS-4.1.4

2001-12-16 Thread Andre Majorel
On 2001-12-16 19:02 +0100, Hrvoje Niksic wrote: > Andre Majorel <[EMAIL PROTECTED]> writes: > > > On 2001-12-15 07:37 +0100, Hrvoje Niksic wrote: > > > >> Is there a good fallback value of RAND_MAX for systems that don't > >> bother to define it? > > > > The standard (SUS2) says : > > > > Th

Re: Can not build wget-1.8 under SunOS-4.1.4

2001-12-16 Thread Hrvoje Niksic
Andre Majorel <[EMAIL PROTECTED]> writes: > 5th edition, 6th edition, 7th edition and System III all returned > 0-32767. As RAND_MAX didn't exist at the time, plenty of code must > have been written that assumed 0-32767. For that reason I think it > unlikely that anybody ever wrote an implementat