Received: (qmail 52151 invoked by uid 501); 13 Mar 2002 18:43:02 -0000 Message-Id: <20020313184302.52150.qmail@apache.org> Date: 13 Mar 2002 18:43:02 -0000 From: Mike Dransfield Reply-To: mike@blueroot.net To: submit@bugz.apache.org Subject: make error - ../include/buff.h:129: parse error before `ap_ctx' X-Send-Pr-Version: 3.110 >Number: 10168 >Category: build >Synopsis: make error - ../include/buff.h:129: parse error before `ap_ctx' >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Mar 13 10:50:00 PST 2002 >Closed-Date: >Last-Modified: Wed Mar 13 16:00:01 PST 2002 >Originator: mike@blueroot.net >Release: 1.3.23 >Organization: apache >Environment: Linux 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown Red Hat 7.2 >Description: <=== src/os/unix ===> src/ap gcc -c -I.. -I/usr/lib/perl5/5.6.0/i386-linux/CORE -I/usr/src/Apachetoolbox-1.5.54/src/mm-1.1.3 -I../os/unix -I../include -DLINUX=22 -I/usr/include/db1 -DMOD_SSL=208106 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2 -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2/main -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2/main -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2/Zend -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2/Zend -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2/TSRM -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2/TSRM -I/usr/src/Apachetoolbox-1.5.54/src/php-4.1.2 -DEAPI -DEAPI_MM `../apaci` ap_cpystrn.c In file included from ../include/httpd.h:74, from ap_cpystrn.c:59: ../include/buff.h:129: parse error before `ap_ctx' ../include/buff.h:129: warning: no semicolon at end of struct or union ../include/buff.h:140: parse error before `}' make[3]: *** [ap_cpystrn.o] Error 1 make[2]: *** [subdirs] Error 1 >How-To-Repeat: did configure and install of php. then ./configure \ "--with-layout=Apache" \ "--prefix=/usr/local/apache" \ "--enable-suexec" \ "--suexec-caller=nobody" \ "--enable-module=so" \ "--enable-module=access" \ "--disable-module=auth_db" \ "--disable-module=digest" \ "--enable-module=imap" \ "--enable-module=mime" \ "--enable-module=setenvif" \ "--disable-module=usertrack" \ "--enable-module=auth" \ "--disable-module=cern_meta" \ "--disable-module=expires" \ "--enable-module=log_config" \ "--disable-module=proxy" \ "--disable-module=vhost_alias" \ "--disable-module=auth_anon" \ "--enable-module=cgi" \ "--disable-module=headers" \ "--disable-module=log_referer" \ "--enable-module=rewrite" \ "--enable-module=userdir" \ "--enable-module=asis" \ "--enable-module=autoindex" \ "--disable-module=example" \ "--disable-module=log_agent" \ "--enable-module=negotiation" \ "--disable-module=status" \ "--enable-module=actions" \ "--disable-module=auth_dbm" \ "--enable-module=dir" \ "--enable-module=include" \ "--disable-module=mime_magic" \ "--disable-module=unique_id" \ "--enable-module=alias" \ "--disable-module=auth_digest" \ "--enable-module=env" \ "--disable-module=info" \ "--disable-module=mmap_static" \ "--disable-module=speling" \ "--add-module=/usr/src/Apachetoolbox-1.5.54/src/apache-contrib-1.0.8/mod_macro/mod_macro.c" \ "--enable-module=ssl" \ "--activate-module=src/modules/perl/libperl.a" \ "--add-module=/usr/src/Apachetoolbox-1.5.54/src/mod_bandwidth.c" \ "--add-module=/usr/src/Apachetoolbox-1.5.54/src/mod_gzip.c" \ "--activate-module=src/modules/php4/libphp4.a" \ in apache directory. >Fix: Dont know - maybe a typo? is it a php module that is causing the error i am using apache toolbox to do the configuration on a new machine >Release-Note: >Audit-Trail: From: Michael Dransfield To: submit@bugz.apache.org Cc: Subject: Re: build/10168: make error - ../include/buff.h:129: parse error before `ap_ctx' Date: 13 Mar 2002 23:47:46 +0000 I have tracked down the error, it only appears when the option --enable-module=ssl is used, it compiles without this option. On Wed, 2002-03-13 at 18:50, submit@bugz.apache.org wrote: > Thank you very much for your problem report. > It has the internal identification `build/10168'. > The individual assigned to look at your > report is: apache. > > >Category: build > >Responsible: apache > >Synopsis: make error - ../include/buff.h:129: parse error before `ap_ctx' > >Arrival-Date: Wed Mar 13 10:50:00 PST 2002 From: Michael Dransfield To: submit@bugz.apache.org Cc: Subject: Re: build/10168: make error - ../include/buff.h:129: parse error before `ap_ctx' Date: 13 Mar 2002 23:51:26 +0000 here is the ssl part of the output from the configure command Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o rewrite_module uses ConfigStart/End + using -ldb1 for DBM support enabling DBM support for mod_rewrite o ssl_module uses ConfigStart/End + SSL interface: mod_ssl/2.8.6 + SSL interface build type: OBJ + SSL interface compatibility: enabled + SSL interface experimental code: disabled + SSL interface conservative code: disabled + SSL interface vendor extensions: disabled + SSL interface plugin: Built-in SDBM + SSL library path: /usr + SSL library version: OpenSSL 0.9.6b [engine] 9 Jul 2001 + SSL library type: installed package (stand-alone) o perl_module uses ConfigStart/End + mod_perl build type: OBJ + setting up mod_perl build environment + adjusting Apache build environment + enabling Perl support for SSI (mod_include) o php4_module uses ConfigStart/End + enabling Extended API (EAPI) using MM library: /usr/src/Apachetoolbox-1.5.54/src/mm-1.1.3 (source-tree only) + using system Expat + using -ldl for vendor DSO support + checking sizeof various data types + doing sanity check on compiler and options using redhat rpms of openssl # rpm -qa | grep openssl openssl-0.9.6b-8 openssl-devel-0.9.6b-8 On Wed, 2002-03-13 at 18:50, submit@bugz.apache.org wrote: > Thank you very much for your problem report. > It has the internal identification `build/10168'. > The individual assigned to look at your > report is: apache. > > >Category: build > >Responsible: apache > >Synopsis: make error - ../include/buff.h:129: parse error before `ap_ctx' > >Arrival-Date: Wed Mar 13 10:50:00 PST 2002 >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]