httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Wilson <awil...@hyperreal.com>
Subject UnixWare SVR4.2: Beware!!! (fwd)
Date Tue, 02 Jan 1996 20:17:23 GMT
Ack sent.  More UnixWare stuff, from the previous poster.  This
sounds like an important bit of info.  Is UnixWare the *only* OS
affected by this hairy library stuff?


Ay.

Forwarded message:
> From squeek!Kazule!crh@kksys.com  Fri Dec 29 15:10:40 1995
> Message-Id: <m0tVnwg-0003QpC@kksys.skypoint.net>
> Date: Fri, 29 Dec 1995 17:00:24 -0600 (CST)
> Reply-To: crh@ubiqx.mn.org (Christopher R Hertel)
> X-Mailer: ELM [version 2.4 PL17]
> Content-Type: text
> Content-Length: 1345
> From: "Christopher R. Hertel" <crh@Kazule>
> To: squeek!apache.org!apache-bugs
> Subject: UnixWare SVR4.2: Beware!!!
> 
> Aiiiiigh!
> 
> Okay, a day or two ago I sent an E'mail discussing compiling Apache 1.0.0 
> under UnixWare.
> 
> Okay, I got it to compile.
> 
> Okay, so there were some weird bugs which I didn't tell you about because
> I didn't know about them...
> 
> For example, directory indexing didn't work.  I tracked it down to the 
> call to readdir() in mod_dir.c.  It was returning garbage records.  "How 
> could that be?" I wondered.  I tested readdir() in a simple program and 
> it worked fine.
> 
> After playing with it for a LONG time, I remembered the problems that I
> was having linking in the BSD stuff.  In particular, attempting to compile
> using the /usr/ucb/cc had failed because of incompatibilities between BSD
> and SVR4 include files.
> 
> So: I checked /usr/ucblib/libucb.a and--boing!--it has it's own version 
>     of readdir()!
> 
> Strangely, I could not find any documentation for the BSD version.  AIIIGH!
> 
> Result:  LINK ORDER IS IMPORTANT under UnixWare SVR4.2 1.1.2, SDK 1.1!
> 
> Here are some of the significant lines from my Configuration file:
> 
> LFLAGS=
> EXTRA_LIBS=
> AUX_CFLAGS= -DSVR4
> AUX_LIBS= -lsocket -lnsl -lc -L /usr/ucblib -ldbm -lucb
> 
> 
> Additional notes:
> 
> in order to include ndbm.h, I had to include it as:
> 
> #include "/usr/ucbinclude/ndbm.h"
> 
> On my system, there is no libndbm, it's libdbm.
> 
> I hope that this is of use.
> 
> Chris Hertel -)-----
> crh@ubiqx.mn.org
> 


Mime
View raw message