Compiling Squid-1.1.11

From: Basil McCrea <mccrebsi@dont-contact.us>
Date: Thu, 3 Jul 1997 09:28:29 +0200

Hi,

I've been trying to compile version 1.1.11 on hpux 9.0.5 using gcc At first it didn't
compile due to (what I assume was) an error in config.h. It looked like this:-

#if HAVE_RANDOM
#define squid_random random
#define squid_srandom srandom
#elif HAVE_LRAND48
#define squid_random lrand48
#define squid_random srand48
#else
#define squid_random rand
#define squid_random srand
#endif

and I redefined the second squid_random in HAVE_LRAND48 as squid_srandom

#if HAVE_RANDOM
#define squid_random random
#define squid_srandom srandom
#elif HAVE_LRAND48
#define squid_random lrand48
#define squid_srandom srand48
#else
#define squid_random rand
#define squid_srandom srand
#endif

it now compiles, but when I execute any of the binaries, I get a bus error and a core
dump:-( (and I've tried on a few hp boxes)

Any ideas?

Basil McCrea

INA Schaeffler KG
Industriestr 1-3
91074 Herzogenaurach
Germany
Received on Thu Jul 03 1997 - 00:31:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:39 MST