apache
[Top] [All Lists]

Compile problems - Apache 1.3.14+accel on FreeBSD 4.3

To: apache@xxxxxxxxxxx
Subject: Compile problems - Apache 1.3.14+accel on FreeBSD 4.3
From: Alastair Stevens <ans@xxxxxxx>
Date: Wed, 27 Jun 2001 12:25:30 +0100 (BST)
Sender: owner-apache@xxxxxxxxxxx
Hi - I am running FreeBSD 4.3, and have a clean Apache 1.3.14 source tree,
patched with the full SGI Accelerator patch. I have set the following
compiler flags, after reading all the documentation:

  CFLAGS=-DUSE_QSC -DSPEED_DAEMON -DUSE_DIRECT_IO -O2

I then run "./configure --enable-module=mmap_static --enable-rule=IRIX64"
to add the options I need. Then I run "make" of course, and the
compilation fails at this point:

In file included from http_config.c:75:
../include/httpd.h:74: warning: `USE_QSC' redefined
*Initialization*:1: warning: this is the location of the previous
definition
gcc -c  -I../os/unix -I../include   -funsigned-char -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED -DUSE_QSC -DSPEED_DAEMON
-DUSE_DIRECT_IO -O2 `../apaci` http_core.c
In file included from http_core.c:59:
../include/httpd.h:74: warning: `USE_QSC' redefined
*Initialization*:1: warning: this is the location of the previous
definition
In file included from http_core.c:62:
../include/http_protocol.h:139: warning: `struct dioattr' declared inside
parameter list
../include/http_protocol.h:139: warning: its scope is only this definition
or
declaration, which is probably not what you want.
http_core.c: In function `default_handler':
http_core.c:3208: storage size of `da' isn't known
http_core.c:3304: `F_DIOINFO' undeclared (first use in this function)
http_core.c:3304: (Each undeclared identifier is reported only once
http_core.c:3304: for each function it appears in.)
*** Error code 1
 
Stop in /usr/local/src/apache_1.3.14/src/main.
*** Error code 1

Given that I'm not a C coder, can anyone help me with this? I'd like to
get this working as soon as possible, to experiment with it.

Thanks for your help
Alastair

Alastair Stevens : Network Engineer : VBCnet GB Ltd
....................................................
ans@xxxxxxx                        \     \     \     \
0117 929 1316                       \.....\.....\.....\...................
www.vbc.net                       << faster connections for a faster world >>


<Prev in Thread] Current Thread [Next in Thread>