Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* apache 1.2.0 compile woes
@ 1997-06-16 18:51 Jonathan M. Skanes
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan M. Skanes @ 1997-06-16 18:51 UTC (permalink / raw)


I have been following the thread discussing compile problems with the
latest apache on alpha.  I applied the patch that was posted, but still no
luck.  The only difference I can see is I'm running RedHat 4.2.  Here is
the error message:

gcc -c -Iregex   -DLINUX=2 -DSTATUS -D__alpha__   http_core.c
http_core.c: In function `set_rlimit':
http_core.c:1034: dereferencing pointer to incomplete type
http_core.c:1045: dereferencing pointer to incomplete type
http_core.c:1058: dereferencing pointer to incomplete type
http_core.c:1065: dereferencing pointer to incomplete type
http_core.c:1067: dereferencing pointer to incomplete type
make: *** [http_core.o] Error 1

Thanks,
Jon

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: apache 1.2.0 compile woes
       [not found] <Pine.LNX.3.95.970616161751.26157A-100000@test.datastore.com>
@ 1997-06-16 19:37 ` Aaron M. Gowatch
  0 siblings, 0 replies; 2+ messages in thread
From: Aaron M. Gowatch @ 1997-06-16 19:37 UTC (permalink / raw)


On Mon, 16 Jun 1997, Jonathan M. Skanes wrote:

> I have been following the thread discussing compile problems with the
> latest apache on alpha.  I applied the patch that was posted, but still no
> luck.  The only difference I can see is I'm running RedHat 4.2.  Here is
> the error message:
> 
> gcc -c -Iregex   -DLINUX=2 -DSTATUS -D__alpha__   http_core.c
> http_core.c: In function `set_rlimit':
> http_core.c:1034: dereferencing pointer to incomplete type
> http_core.c:1045: dereferencing pointer to incomplete type
> http_core.c:1058: dereferencing pointer to incomplete type
> http_core.c:1065: dereferencing pointer to incomplete type
> http_core.c:1067: dereferencing pointer to incomplete type
> make: *** [http_core.o] Error 1

In apache_1.2.0/src/conf.h, there is a line that looks like this:

#include <linux/resource.h>

Change it so it looks like this:

#include <sys/resource.h>

You'll also need to add -lcrypt to EXTRA_LIBS in the Makefile.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-06-16 19:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.3.95.970616161751.26157A-100000@test.datastore.com>
1997-06-16 19:37 ` apache 1.2.0 compile woes Aaron M. Gowatch
1997-06-16 18:51 Jonathan M. Skanes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox