From owner-apache@oss.sgi.com Wed Jun 27 04:25:35 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f5RBPZ911940 for apache-outgoing; Wed, 27 Jun 2001 04:25:35 -0700 Received: from brunel.uk1.vbc.net (brunel.uk1.vbc.net [194.207.2.8]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5RBPXV11937 for ; Wed, 27 Jun 2001 04:25:33 -0700 Received: from localhost (ans@localhost) by brunel.uk1.vbc.net (8.11.0/8.11.0) with ESMTP id f5RBPVv00401 for ; Wed, 27 Jun 2001 12:25:31 +0100 (BST) Date: Wed, 27 Jun 2001 12:25:30 +0100 (BST) From: Alastair Stevens To: apache@oss.sgi.com Subject: Compile problems - Apache 1.3.14+accel on FreeBSD 4.3 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Content-Length: 2032 Lines: 49 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@vbc.net \ \ \ \ 0117 929 1316 \.....\.....\.....\................... www.vbc.net << faster connections for a faster world >> From owner-apache@oss.sgi.com Wed Jun 27 06:25:55 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f5RDPtk13623 for apache-outgoing; Wed, 27 Jun 2001 06:25:55 -0700 Received: from mout0.freenet.de (exim@mout0.freenet.de [194.97.50.131]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5RDPrV13620 for ; Wed, 27 Jun 2001 06:25:54 -0700 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with esmtp (Exim 3.30 #3) id 15FFKJ-0007ia-00; Wed, 27 Jun 2001 15:25:51 +0200 Received: from a3685.pppool.de ([213.6.54.133] helo=Magelan.Leidinger.net) by mx1.freenet.de with esmtp (Exim 3.30 #3) id 15FFKI-0002P2-00; Wed, 27 Jun 2001 15:25:51 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.4/8.11.4) with ESMTP id f5RChfq93355; Wed, 27 Jun 2001 14:43:42 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200106271243.f5RChfq93355@Magelan.Leidinger.net> Date: Wed, 27 Jun 2001 14:43:39 +0200 (CEST) From: Alexander Leidinger Subject: Re: Compile problems - Apache 1.3.14+accel on FreeBSD 4.3 To: ans@vbc.net cc: apache@oss.sgi.com In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Content-Length: 1175 Lines: 29 On 27 Jun, Alastair Stevens wrote: > 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: I compiled it a long time ago on FreeBSD, and I can't remember every step, but I definitivly didn't used "--enable-rule=IRIX64". I also didn't configured it myself, I used the ports framework (make patch in the ports directory, applied the SGI patch, modified the port-makefile (CFLAGS+=-DUSE_QSC ..., added --enable-module=mmap_static to CONFIGURE_ARGS), make)). This also enables the use of the accept filter (you want to add it to the kernel or to load the kernel module). Bye, Alexander. -- It's not a bug, it's tradition! http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-apache@oss.sgi.com Wed Jun 27 11:02:19 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f5RI2JC20865 for apache-outgoing; Wed, 27 Jun 2001 11:02:19 -0700 Received: from yog-sothoth.sgi.com (eugate.sgi.com [192.48.160.10]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5RI2HV20855 for ; Wed, 27 Jun 2001 11:02:17 -0700 Received: from nodin.corp.sgi.com (fddi-nodin.corp.sgi.com [198.29.75.193]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via ESMTP id UAA380407 for ; Wed, 27 Jun 2001 20:02:15 +0200 (CEST) mail_from (mja@trudge.engr.sgi.com) Received: from trudge.engr.sgi.com (trudge.engr.sgi.com [163.154.38.51]) by nodin.corp.sgi.com (8.11.4/8.11.2/nodin-1.0) with ESMTP id f5RI1Ej25567387 for ; Wed, 27 Jun 2001 11:01:14 -0700 (PDT) Received: (from mja@localhost) by trudge.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) id KAA29607; Wed, 27 Jun 2001 10:59:58 -0700 (PDT) From: mja@trudge.engr.sgi.com (Mike Abbott) Message-Id: <200106271759.KAA29607@trudge.engr.sgi.com> Subject: Re: Compile problems - Apache 1.3.14+accel on FreeBSD 4.3 To: ans@vbc.net (Alastair Stevens) Date: Wed, 27 Jun 2001 10:59:58 -0700 (PDT) Cc: apache@oss.sgi.com In-Reply-To: from "Alastair Stevens" at Jun 27, 2001 12:25:30 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-apache@oss.sgi.com Precedence: bulk Content-Length: 482 Lines: 14 > CFLAGS=-DUSE_QSC -DSPEED_DAEMON -DUSE_DIRECT_IO -O2 > ... > ../include/httpd.h:74: warning: `USE_QSC' redefined SPEED_DAEMON implies USE_QSC. See src/include/httpd.h in your patched source tree. > ../include/http_protocol.h:139: warning: `struct dioattr' declared inside > parameter list USE_DIRECT_IO applies only to Irix systems. See htdocs/manual/misc/perf-mja.html#direct in your patched source tree. -- Michael J. Abbott mja@sgi.com www.repbot.org/mike From owner-apache@oss.sgi.com Thu Jun 28 00:46:49 2001 Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f5S7knX01368 for apache-outgoing; Thu, 28 Jun 2001 00:46:49 -0700 Received: from brunel.uk1.vbc.net (brunel.uk1.vbc.net [194.207.2.8]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f5S7kmV01363 for ; Thu, 28 Jun 2001 00:46:48 -0700 Received: from localhost (ans@localhost) by brunel.uk1.vbc.net (8.11.0/8.11.0) with ESMTP id f5S7kiI08406; Thu, 28 Jun 2001 08:46:45 +0100 (BST) Date: Thu, 28 Jun 2001 08:46:44 +0100 (BST) From: Alastair Stevens To: Alexander Leidinger cc: ans@vbc.net, apache@oss.sgi.com Subject: Re: Compile problems - Apache 1.3.14+accel on FreeBSD 4.3 In-Reply-To: <200106271243.f5RChfq93355@Magelan.Leidinger.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-apache@oss.sgi.com Precedence: bulk Content-Length: 1046 Lines: 22 > I compiled it a long time ago on FreeBSD, and I can't remember every > step, but I definitivly didn't used "--enable-rule=IRIX64". > > I also didn't configured it myself, I used the ports framework (make > patch in the ports directory, applied the SGI patch, modified the > port-makefile (CFLAGS+=-DUSE_QSC ..., added --enable-module=mmap_static > to CONFIGURE_ARGS), make)). This also enables the use of the accept > filter (you want to add it to the kernel or to load the kernel module). FWIW, I tried it this way, going via the ports system, but I got exactly the same compile failure, in the same place. I'm really not sure what else to do, other than hacking some code, but that's beyond my realm! Thanks anyway Alastair Alastair Stevens : Network Engineer : VBCnet GB Ltd .................................................... ans@vbc.net \ \ \ \ 0117 929 1316 \.....\.....\.....\................... www.vbc.net << faster connections for a faster world >>