From: Aaron M. Gowatch <aarong@wired.com>
Subject: Re: Apache httpd compile problems
Date: Fri, 13 Jun 1997 17:03:07 -0700 (PDT) [thread overview]
Message-ID: <01c1b6d9938a01b44727f0bd59dd9294.axp-list@archive.invalid> (raw)
In-Reply-To: <199706140041.SAA06362@ellpspace.math.ualberta.ca>
On Fri, 13 Jun 1997, Michal Jaegermann wrote:
> Aaron M. Gowatch writes:
> >
> > > C. Jon Larsen writes:
> > >
> > > > I recently installed a UDB with RHS Linux 4.2 (well, I bought it w/ 4.1,
> > > > but then reformatted the drive, and installed 4.2 from ftp). Everything
> > > > seems to work fine with compiling programs (perl 5.004, php, msql 2.0x,
> > > > etc . . .) *EXCEPT* for apache - all versions. Well, it compiles, but only
> > > > after a lot of warnings, and when php module is linked in, the serving
> > > > httpd child crashes every couple of pages:
> > >
> > > Excerpts from build.att log file:
> > >
> > > > + ./Configure
> > > > Using 'Configuration' as config file
> > > > + make RPM_OPT_FLAGS=-O2 AUX_LIBS=-lcrypt -lm
> > > > gcc -c -O2 -DSTATUS -DLINUX alloc.c
> > > > alloc.c: In function `fd_cleanup':
> > > > alloc.c:726: warning: cast from pointer to integer of different size
> > > > alloc.c: In function `note_cleanups_for_fd':
> > > > alloc.c:729: warning: cast to pointer from integer of different size
> > > > alloc.c: In function `pclosef':
> > > > alloc.c:749: warning: cast to pointer from integer of different size
> > > > gcc -c -O2 -DSTATUS -DLINUX http_main.c
> > > >
> > > > I get the same errors in alloc.c for every version of apache I try
> > > > to compile. I checked that all patches are applied successfully, and they
> > > > are. Is there something /stupid|silly|crazy/ I may be doing wrong ?
> >
> > According to one of the Apache Developers, the int size warnings can be
> > safely ignored.
>
> Well, yes, in alloc.c. But warnings in http_main.c about types of
> arguments to access(), getpeerbyname(), ... are likely killers.
> I know that manual page says that pointers to various sizes are pointers
> to int - headers give them as pointers to size_t.
Yea, I guess I didnt see any mention of errors in http_main.c.
> I fail to see how this can be possible (i.e. no warnings). It is likely
> that one may be a bit more lucky in this case with DU libraries.
So what you're saying is that the headers for Digital UNIX and the headers
for Linux/AXP are the same? The #defines for OSF are different than those
for Linux, which makes me believe differently...
Thanks for the patch!
Aa.
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next parent reply other threads:[~1997-06-14 0:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199706140041.SAA06362@ellpspace.math.ualberta.ca>
1997-06-14 0:03 ` Aaron M. Gowatch [this message]
[not found] <Pine.LNX.3.95.970613153358.15454G-100000@comet.hotwired.com>
1997-06-14 0:41 ` Apache httpd compile problems Michal Jaegermann
1997-06-13 12:44 Jim Nance
1997-06-13 22:43 ` Aaron M. Gowatch
-- strict thread matches above, loose matches on Subject: below --
1997-06-13 2:14 C. Jon Larsen
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox