From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <01c1b6d9938a01b44727f0bd59dd9294.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199706140041.SAA06362@ellpspace.math.ualberta.ca> Date: Fri, 13 Jun 1997 17:03:07 -0700 (PDT) From: Aaron M. Gowatch Subject: Re: Apache httpd compile problems 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