Received: (qmail 27975 invoked by uid 2012); 6 Jul 1998 20:30:09 -0000 Message-Id: <19980706203009.27974.qmail@hyperreal.org> Date: 6 Jul 1998 20:30:09 -0000 From: Judith Bush Reply-To: jbush@fi.edu To: apbugs@hyperreal.org Subject: compilation failure of http_mail.c in copy_listeners X-Send-Pr-Version: 3.2 >Number: 2558 >Category: os-irix >Synopsis: compilation failure of http_mail.c in copy_listeners >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Jul 6 13:40:00 PDT 1998 >Last-Modified: Wed Nov 11 12:54:03 PST 1998 >Originator: jbush@fi.edu >Organization: >Release: 1.3.0 >Environment: IRIX sln 6.3 12161207 IP32 I'm not sure which version of the IRIX cc I'm using: <205 4:20pm sln.sln.org:local/lib/apache_1.3.0/src> which cc /bin/cc <206 4:20pm sln.sln.org:local/lib/apache_1.3.0/src> ls -l /bin/cc lrwxr-xr-x 1 root sys 17 Jun 3 16:35 /bin/cc -> ../lib/driverwrap* <207 4:20pm sln.sln.org:local/lib/apache_1.3.0/src> ls -l /usr/lib/driverwrap -rwxr-xr-x 1 root sys 86996 Jun 3 16:41 /usr/lib/driverwrap* <208 4:20pm sln.sln.org:local/lib/apache_1.3.0/src> file /usr/lib/driverwrap /usr/lib/driverwrap: ELF 32-bit MSB mips-2 dynamic executable MIPS - version 1 >Description: I am getting a compilation failure. The make output and the diff of Configuration are attached. ------------------------------------------------------------------------ <176 3:59pm sln.sln.org:local/lib/apache_1.3.0/src> make ===> regex <=== regex ===> os/unix <=== os/unix ===> ap <=== ap ===> main cc -c -I../os/unix -I../include -DIRIX -n32 -DSTATUS -DUSE_HSREGEX http_main.c "http_main.c", line 2978: error(1010): "#" not expected here ap_assert(old_listeners == NULL); ^ "http_main.c", line 2978: error(1029): expected an expression ap_assert(old_listeners == NULL); ^ "http_main.c", line 2992: error(1010): "#" not expected here ap_assert(!nr->used); ^ "http_main.c", line 2992: error(1029): expected an expression ap_assert(!nr->used); --------------------------------------------------------------------------- <181 4:14pm sln.sln.org:local/lib/apache_1.3.0/src> diff Configuration Configuration.org 230c230 < AddModule modules/standard/mod_status.o --- > # AddModule modules/standard/mod_status.o 235c235 < AddModule modules/standard/mod_info.o --- > # AddModule modules/standard/mod_info.o 267c267 < AddModule modules/standard/mod_speling.o --- > # AddModule modules/standard/mod_speling.o 313c313 < AddModule modules/standard/mod_digest.o --- > # AddModule modules/standard/mod_digest.o 320c320 < AddModule modules/standard/mod_cern_meta.o --- > # AddModule modules/standard/mod_cern_meta.o 325c325 < AddModule modules/standard/mod_expires.o --- > # AddModule modules/standard/mod_expires.o 330c330 < AddModule modules/standard/mod_headers.o --- > # AddModule modules/standard/mod_headers.o 342c342 < AddModule modules/standard/mod_usertrack.o --- > # AddModule modules/standard/mod_usertrack.o 354c354 < AddModule modules/standard/mod_unique_id.o --- > # AddModule modules/standard/mod_unique_id.o >How-To-Repeat: I suspect it's a problem local to me, but any other folks with 6.X compilation experience may be able to shed light on the problem. >Fix: >Audit-Trail: From: Dean Gaudet To: Judith Bush Cc: apbugs@hyperreal.org Subject: Re: os-irix/2558: compilation failure of http_mail.c in copy_listeners Date: Mon, 6 Jul 1998 21:20:25 -0700 (PDT) On 6 Jul 1998, Judith Bush wrote: > cc -c -I../os/unix -I../include -DIRIX -n32 -DSTATUS -DUSE_HSREGEX http_main.c > "http_main.c", line 2978: error(1010): "#" not expected here > ap_assert(old_listeners == NULL); > ^ Looks like your c preprocessor is not ANSI standard. If that's the IRIX compiler that you have to buy, then bitch to SGI. If it came with the system there's a good chance it only pretends to be ANSI... in that case use gcc instead. Dean State-Changed-From-To: open-closed State-Changed-By: randy State-Changed-When: Wed Nov 11 12:54:02 PST 1998 State-Changed-Why: [This is a standard response.] No response from submitter, assuming issue has been resolved. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]