You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2022/01/31 14:49:56 UTC

[Bug 65862] New: Compiler error in mod_proxy.c:3075: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token

https://bz.apache.org/bugzilla/show_bug.cgi?id=65862

            Bug ID: 65862
           Summary: Compiler error in mod_proxy.c:3075: error: expected
                    '=', ',', ';', 'asm' or '__attribute__' before '*'
                    token
           Product: Apache httpd-2
           Version: 2.4.52
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Build
          Assignee: bugs@httpd.apache.org
          Reporter: sgrapt@abv.bg
  Target Milestone: ---

The Apache 2.4.52 compilation fails with the following error while trying to
build mod_proxy:

make[4]: Entering directory `/tmp/httpd-2.4.52/modules/proxy'
/usr/local/apache/2.2.24a/build/libtool --silent --mode=compile gcc -std=gnu99 
-g -O2 -pthread      -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE     -I.
-I/tmp/httpd-2.4.52/os/unix -I/tmp/httpd-2.4.52/include
-I/usr/local/apache/2.2.24a/include -I/tmp/httpd-2.4.52/modules/aaa
-I/tmp/httpd-2.4.52/modules/cache -I/tmp/httpd-2.4.52/modules/core
-I/tmp/httpd-2.4.52/modules/database -I/tmp/httpd-2.4.52/modules/filters
-I/tmp/httpd-2.4.52/modules/ldap -I/tmp/httpd-2.4.52/server
-I/tmp/httpd-2.4.52/modules/loggers -I/tmp/httpd-2.4.52/modules/lua
-I/tmp/httpd-2.4.52/modules/proxy -I/tmp/httpd-2.4.52/modules/http2
-I/tmp/httpd-2.4.52/modules/session -I/tmp/httpd-2.4.52/modules/ssl
-I/tmp/httpd-2.4.52/modules/test -I/tmp/httpd-2.4.52/server
-I/tmp/httpd-2.4.52/modules/md -I/tmp/httpd-2.4.52/modules/arch/unix
-I/tmp/httpd-2.4.52/modules/dav/main -I/tmp/httpd-2.4.52/modules/generators
-I/tmp/httpd-2.4.52/modules/mappers -prefer-pic -c mod_proxy.c && touch
mod_proxy.slo
mod_proxy.c:3075: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
mod_proxy.c: In function 'proxy_post_config':
mod_proxy.c:3134: error: 'proxy_ssl_engine' undeclared (first use in this
function)
mod_proxy.c:3134: error: (Each undeclared identifier is reported only once
mod_proxy.c:3134: error: for each function it appears in.)
mod_proxy.c:3134: error: 'apr_OFN_ssl_engine_set_t' undeclared (first use in
this function)
mod_proxy.c:3134: error: expected expression before ')' token
make[4]: *** [mod_proxy.slo] Error 1
make[4]: Leaving directory `/tmp/httpd-2.4.52/modules/proxy'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/tmp/httpd-2.4.52/modules/proxy'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/tmp/httpd-2.4.52/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/tmp/httpd-2.4.52'
make: *** [all-recursive] Error 1

I reviewed BugID 62228 that describes a similar issue and it is solved by
building and installing expat. This however is a different problem that is not
caused by missing expat library.

Could you suggest if I should use some compiler option or do some other
configuration to build httpd-2.4.52.

Thank you in advance for the help.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 65862] Compiler error in mod_proxy.c:3075: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65862

--- Comment #2 from Stefan <sg...@abv.bg> ---
Thank you for your response Joe. Indeed the issue was that include:
/usr/local/apache/2.2.24a/include

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 65862] Compiler error in mod_proxy.c:3075: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65862

Joe Orton <jo...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Joe Orton <jo...@redhat.com> ---
From references like -I/usr/local/apache/2.2.24a/include I'd assume you are
mixing a previous install of APR/httpd with a new one and the headers are
conflicting.  Use an APR install with different header locations (etc) to the
previous httpd build.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org