[SOGo] SOPE Patching failure - update
Deven Phillips
sogo@opengroupware.org
Wed, 02 Apr 2008 07:07:57 -0400
It appears that the root of my problems are related to Apache Portable=20
Runtime. When I attempt to compile SOPE, I get errors related to apr.h.=20
As mentioned before, this is on CentOS 5.1. Do I need a particular=20
version of APR? Can someone please point me in the right direction?
Thanks,
Deven Phillips, CISSP, CCNA
Systems Administrator
Metal Sales Manufacturing Corp.
Deven Phillips, CISSP, CCNA wrote:
> OK, I linked all of the apr includes into /usr/include/httpd/ and=20
> re-ran make. Here's what I get:
>
> make[2]: Entering directory=20
> `/root/Source/SOPE/sope-appserver/mod_ngobjweb'
> gcc -Wall -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2=20
> -fexceptions -fstack-protector --param=3Dssp-buffer-size=3D4 -m32=20
> -march=3Di386 -mtune=3Dgeneric -fasynchronous-unwind-tables=20
> -I/usr/include/httpd -O0 -ggdb -c -o handler.o handler.c
> In file included from /usr/include/httpd/apr.h:7,
> from /usr/include/httpd/ap_config.h:25,
> from /usr/include/httpd/httpd.h:43,
> from common.h:37,
> from handler.c:22:
> /usr/include/httpd/apr-i386.h:270: error: expected =91=3D=92, =91,=92, =
=91;=92,=20
> =91asm=92 or =91__attribute__=92 before =91apr_off_t=92
> In file included from /usr/include/httpd/apr_file_io.h:29,
> from /usr/include/httpd/apr_network_io.h:26,
> from /usr/include/httpd/httpd.h:53,
> from common.h:37,
> from handler.c:22:
> /usr/include/httpd/apr_file_info.h:204: error: expected=20
> specifier-qualifier-list before =91apr_off_t=92
> In file included from /usr/include/httpd/apr_network_io.h:26,
> from /usr/include/httpd/httpd.h:53,
> from common.h:37,
> from handler.c:22:
> /usr/include/httpd/apr_file_io.h:548: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/apr_file_io.h:740: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> In file included from /usr/include/httpd/httpd.h:53,
> from common.h:37,
> from handler.c:22:
> /usr/include/httpd/apr_network_io.h:545: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> In file included from /usr/include/httpd/apr_buckets.h:32,
> from /usr/include/httpd/httpd.h:54,
> from common.h:37,
> from handler.c:22:
> /usr/include/httpd/apr_mmap.h:134: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/apr_mmap.h:161: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> In file included from /usr/include/httpd/httpd.h:54,
> from common.h:37,
> from handler.c:22:
> /usr/include/httpd/apr_buckets.h:242: error: expected=20
> specifier-qualifier-list before =91apr_off_t=92
> /usr/include/httpd/apr_buckets.h:706: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/apr_buckets.h:718: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/apr_buckets.h:754: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/apr_buckets.h:890: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/apr_buckets.h:891: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/apr_buckets.h:1168: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/apr_buckets.h:1367: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/apr_buckets.h:1381: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/apr_buckets.h:1431: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/apr_buckets.h:1447: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> In file included from common.h:37,
> from handler.c:22:
> /usr/include/httpd/httpd.h:826: error: expected=20
> specifier-qualifier-list before =91apr_off_t=92
> In file included from /usr/include/httpd/http_core.h:32,
> from common.h:38,
> from handler.c:22:
> /usr/include/httpd/util_filter.h:142: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/util_filter.h:299: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> In file included from common.h:38,
> from handler.c:22:
> /usr/include/httpd/http_core.h:229: error: expected =91=3D=92, =91,=92,=
=91;=92,=20
> =91asm=92 or =91__attribute__=92 before =91ap_get_limit_req_body=92
> /usr/include/httpd/http_core.h:672: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> In file included from common.h:41,
> from handler.c:22:
> /usr/include/httpd/http_protocol.h:111: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/http_protocol.h:203: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> In file included from common.h:47,
> from handler.c:22:
> /usr/include/httpd/apr_strings.h:297: error: expected declaration=20
> specifiers or =91...=92 before =91apr_off_t=92
> /usr/include/httpd/apr_strings.h:313: error: expected =91)=92 before =91=
*=92=20
> token
> /usr/include/httpd/apr_strings.h:349: error: expected =91)=92 before =91=
size=92
> handler.c: In function =91_getConfig=92:
> handler.c:44: error: =91request_rec=92 has no member named =91per_dir_c=
onfig=92
> handler.c:51: error: =91request_rec=92 has no member named =91per_dir_c=
onfig=92
> handler.c: In function =91_readRequestBody=92:
> handler.c:87: error: =91request_rec=92 has no member named =91headers_i=
n=92
> handler.c: In function =91_copyHeadersToRequest=92:
> handler.c:139: error: =91request_rec=92 has no member named =91content_=
type=92
> handler.c:141: error: =91request_rec=92 has no member named=20
> =91content_encoding=92
> handler.c:151: error: =91request_rec=92 has no member named =91headers_=
out=92
> handler.c: In function =91_writeInHeaders=92:
> handler.c:239: error: =91request_rec=92 has no member named =91headers_=
in=92
> handler.c:241: error: =91request_rec=92 has no member named =91headers_=
in=92
> handler.c: In function =91ngobjweb_handler=92:
> handler.c:271: error: =91request_rec=92 has no member named =91uri=92
> handler.c:276: error: =91request_rec=92 has no member named =91handler=92
> handler.c:278: error: =91request_rec=92 has no member named =91handler=92
> handler.c:318: error: =91request_rec=92 has no member named =91headers_=
in=92
> handler.c:496: error: =91request_rec=92 has no member named =91ap_auth_=
type=92
> handler.c:509: error: =91request_rec=92 has no member named =91user=92
> handler.c:569: error: =91request_rec=92 has no member named =91subproce=
ss_env=92
> handler.c:570: error: =91request_rec=92 has no member named =91subproce=
ss_env=92
> make[2]: *** [handler.o] Error 1
> make[2]: Leaving directory=20
> `/root/Source/SOPE/sope-appserver/mod_ngobjweb'
> make[1]: *** [internal-all] Error 2
> make[1]: Leaving directory `/root/Source/SOPE/sope-appserver'
> make: *** [internal-all] Error 2
>
> Thanks,
>
> Deven
>
> Deven Phillips, CISSP, CCNA wrote:
>> The error with apr.h not being found seems to be because CentOS=20
>> places apr.h in /usr/include/apr-1/apr.h instead of the expected=20
>> /usr/include/httpd/apr.h... How would I fix where it's looking?
>>
>> Deven
>>
>> Deven Phillips, CISSP, CCNA wrote:
>>> After getting all of my settings right and trying to compile I am=20
>>> getting an error compiling handler.c. See the compiler output below:
>>>
>>> Making all in mod_ngobjweb...
>>> make[2]: Entering directory=20
>>> `/root/Source/SOPE/sope-appserver/mod_ngobjweb'
>>> gcc -Wall -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2=20
>>> -fexceptions -fstack-protector --param=3Dssp-buffer-size=3D4 -m32=20
>>> -march=3Di386 -mtune=3Dgeneric -fasynchronous-unwind-tables=20
>>> -I/usr/include/httpd -O0 -ggdb -c -o handler.o handler.c
>>> In file included from /usr/include/httpd/httpd.h:43,
>>> from common.h:37,
>>> from handler.c:22:
>>> /usr/include/httpd/ap_config.h:25:17: error: apr.h: No such file or=20
>>> directory
>>> /usr/include/httpd/ap_config.h:26:23: error: apr_hooks.h: No such=20
>>> file or directory
>>> /usr/include/httpd/ap_config.h:27:32: error: apr_optional_hooks.h:=20
>>> No such file or directory
>>> In file included from /usr/include/httpd/httpd.h:46,
>>> from common.h:37,
>>> from handler.c:22:
>>> /usr/include/httpd/ap_release.h:25:41: error: apr_general.h: No such=20
>>> file or directory
>>> In file included from common.h:37,
>>> from handler.c:22:
>>> /usr/include/httpd/httpd.h:50:24: error: apr_tables.h: No such file=20
>>> or directory
>>> /usr/include/httpd/httpd.h:51:23: error: apr_pools.h: No such file=20
>>> or directory
>>> /usr/include/httpd/httpd.h:52:22: error: apr_time.h: No such file or=20
>>> directory
>>> /usr/include/httpd/httpd.h:53:28: error: apr_network_io.h: No such=20
>>> file or directory
>>> /usr/include/httpd/httpd.h:54:25: error: apr_buckets.h: No such file=20
>>> or directory
>>> /usr/include/httpd/httpd.h:55:22: error: apr_poll.h: No such file or=20
>>> directory
>>> In file included from /usr/include/httpd/httpd.h:59,
>>> from common.h:37,
>>> from handler.c:22:
>>> /usr/include/httpd/ap_regex.h:87: error: expected=20
>>> specifier-qualifier-list before =E2apr_size_t=E2
>>> /usr/include/httpd/ap_regex.h:118: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_size_t=E2
>>> /usr/include/httpd/ap_regex.h:127: error: expected =E2=3D=E2, =E2,=E2=
, =E2;=E2,=20
>>> =E2asm=E2 or =E2__attribute__=E2 before =E2ap_regerror=E2
>>> In file included from common.h:37,
>>> from handler.c:22:
>>> /usr/include/httpd/httpd.h:433: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:601: error: expected=20
>>> specifier-qualifier-list before =E2apr_int64_t=E2
>>> /usr/include/httpd/httpd.h:723:21: error: apr_uri.h: No such file or=20
>>> directory
>>> /usr/include/httpd/httpd.h:730: error: expected=20
>>> specifier-qualifier-list before =E2apr_pool_t=E2
>>> /usr/include/httpd/httpd.h:746: error: expected=20
>>> specifier-qualifier-list before =E2apr_pool_t=E2
>>> /usr/include/httpd/httpd.h:1008: error: expected=20
>>> specifier-qualifier-list before =E2apr_pool_t=E2
>>> /usr/include/httpd/httpd.h:1085: error: expected=20
>>> specifier-qualifier-list before =E2APR_RING_ENTRY=E2
>>> /usr/include/httpd/httpd.h:1118: error: expected=20
>>> specifier-qualifier-list before =E2apr_sockaddr_t=E2
>>> /usr/include/httpd/httpd.h:1146: error: expected=20
>>> specifier-qualifier-list before =E2apr_port_t=E2
>>> /usr/include/httpd/httpd.h:1202: error: expected=20
>>> specifier-qualifier-list before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/httpd.h:1210: error: expected=20
>>> specifier-qualifier-list before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/httpd.h:1216: error: expected=20
>>> specifier-qualifier-list before =E2apr_socket_t=E2
>>> /usr/include/httpd/httpd.h:1232: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1242: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1255: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1265: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1274: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1284: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1294: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1306: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1314: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1323: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1334: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1357: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1367: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1379: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1388: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1397: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1439: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1449: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1460: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1468: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1477: error: expected =E2=3D=E2, =E2,=E2, =
=E2;=E2,=20
>>> =E2asm=E2 or =E2__attribute__=E2 before =E2ap_escape_errorlog_item=E2
>>> /usr/include/httpd/httpd.h:1488: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1497: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1526: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1540: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1550: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1602: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1610: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1624: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1632: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1645: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1685: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1697: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1707: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1715: error: expected =E2)=E2 before =E2*=E2=
token
>>> /usr/include/httpd/httpd.h:1726: error: expected =E2)=E2 before =E2*=E2=
token
>>> In file included from common.h:38,
>>> from handler.c:22:
>>> /usr/include/httpd/http_core.h:30:22: error: apr_hash.h: No such=20
>>> file or directory
>>> /usr/include/httpd/http_core.h:31:26: error: apr_optional.h: No such=20
>>> file or directory
>>> In file included from /usr/include/httpd/http_core.h:32,
>>> from common.h:38,
>>> from handler.c:22:
>>> /usr/include/httpd/util_filter.h:136: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2*=E2 token
>>> /usr/include/httpd/util_filter.h:137: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/util_filter.h:137: warning: type defaults to=20
>>> =E2int=E2 in declaration of =E2apr_status_t=E2
>>> /usr/include/httpd/util_filter.h:137: error: =E2apr_status_t=E2 decla=
red=20
>>> as function returning a function
>>> /usr/include/httpd/util_filter.h:139: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/util_filter.h:141: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_read_type_e=E2
>>> /usr/include/httpd/util_filter.h:142: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_off_t=E2
>>> /usr/include/httpd/util_filter.h:142: error: =E2ap_in_filter_func=E2=20
>>> declared as function returning a function
>>> /usr/include/httpd/util_filter.h:146: error: expected=20
>>> specifier-qualifier-list before =E2ap_out_filter_func=E2
>>> /usr/include/httpd/util_filter.h:296: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/util_filter.h:298: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_read_type_e=E2
>>> /usr/include/httpd/util_filter.h:299: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_off_t=E2
>>> /usr/include/httpd/util_filter.h:299: error: =E2ap_get_brigade=E2=20
>>> declared as function returning a function
>>> /usr/include/httpd/util_filter.h:310: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/util_filter.h:310: error: =E2ap_pass_brigade=E2=20
>>> declared as function returning a function
>>> /usr/include/httpd/util_filter.h:348: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2ap_out_filter_func=E2
>>> /usr/include/httpd/util_filter.h:374: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2ap_out_filter_func=E2
>>> /usr/include/httpd/util_filter.h:492: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/util_filter.h:493: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/util_filter.h:493: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_pool_t=E2
>>> /usr/include/httpd/util_filter.h:493: error: =E2ap_save_brigade=E2=20
>>> declared as function returning a function
>>> /usr/include/httpd/util_filter.h:503: error: expected =E2)=E2 before =
=E2*=E2=20
>>> token
>>> /usr/include/httpd/util_filter.h:511: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/util_filter.h:511: error: =E2ap_fflush=E2 declared=
as=20
>>> function returning a function
>>> /usr/include/httpd/util_filter.h:548: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/util_filter.h:549: error: =E2ap_fputstrs=E2 declar=
ed=20
>>> as function returning a function
>>> /usr/include/httpd/util_filter.h:559: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/util_filter.h:562: error: =E2ap_fprintf=E2 declare=
d=20
>>> as function returning a function
>>> /usr/include/httpd/util_filter.h:562: error: format string argument=20
>>> not a string type
>>> In file included from common.h:38,
>>> from handler.c:22:
>>> /usr/include/httpd/http_core.h:208: error: expected =E2)=E2 before =E2=
*=E2=20
>>> token
>>> /usr/include/httpd/http_core.h:222: error: expected =E2=3D=E2, =E2,=E2=
, =E2;=E2,=20
>>> =E2asm=E2 or =E2__attribute__=E2 before =E2ap_get_server_port=E2
>>> /usr/include/httpd/http_core.h:229: error: expected =E2=3D=E2, =E2,=E2=
, =E2;=E2,=20
>>> =E2asm=E2 or =E2__attribute__=E2 before =E2ap_get_limit_req_body=E2
>>> /usr/include/httpd/http_core.h:278: error: expected=20
>>> specifier-qualifier-list before =E2apr_int64_t=E2
>>> /usr/include/httpd/http_core.h:314: error: expected =E2=3D=E2, =E2,=E2=
, =E2;=E2,=20
>>> =E2asm=E2 or =E2__attribute__=E2 before =E2*=E2 token
>>> /usr/include/httpd/http_core.h:633: error: expected=20
>>> specifier-qualifier-list before =E2apr_hash_t=E2
>>> /usr/include/httpd/http_core.h:662: error: expected =E2)=E2 before =E2=
int=E2
>>> /usr/include/httpd/http_core.h:680: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2ap_ident_lookup=E2
>>> /usr/include/httpd/http_core.h:681: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2(=E2 token
>>> /usr/include/httpd/http_core.h:681: warning: data definition has no=20
>>> type or storage class
>>> /usr/include/httpd/http_core.h:681: warning: type defaults to =E2int=E2=
=20
>>> in declaration of =E2APR_DECLARE_OPTIONAL_FN=E2
>>> In file included from common.h:39,
>>> from handler.c:22:
>>> /usr/include/httpd/http_config.h:279: error: expected=20
>>> specifier-qualifier-list before =E2apr_int64_t=E2
>>> /usr/include/httpd/http_config.h:357: error: expected =E2)=E2 before =
=E2*=E2=20
>>> token
>>> /usr/include/httpd/http_config.h:365: error: expected =E2;=E2 before =
=E2void=E2
>>> /usr/include/httpd/http_config.h:557: error: expected =E2)=E2 before =
=E2*=E2=20
>>> token
>>> /usr/include/httpd/http_config.h:566: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_pool_t=E2
>>> /usr/include/httpd/http_config.h:582: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_pool_t=E2
>>> /usr/include/httpd/http_config.h:608: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_pool_t=E2
>>> /usr/include/httpd/http_config.h:608: error: =E2ap_pcfg_openfile=E2=20
>>> declared as function returning a function
>>> /usr/include/httpd/http_config.h:619: error: expected =E2)=E2 before =
=E2*=E2=20
>>> token
>>> /usr/include/httpd/http_config.h:669: error: expected =E2)=E2 before =
=E2*=E2=20
>>> token
>>> /usr/include/httpd/http_config.h:685: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_pool_t=E2
>>> /usr/include/httpd/http_config.h:686: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_pool_t=E2
>>> /usr/include/httpd/http_config.h:975: error: expected =E2)=E2 before =
=E2int=E2
>>> In file included from common.h:40,
>>> from handler.c:22:
>>> /usr/include/httpd/http_log.h:33:29: error: apr_thread_proc.h: No=20
>>> such file or directory
>>> In file included from /usr/include/syslog.h:1,
>>> from /usr/include/httpd/http_log.h:36,
>>> from common.h:40,
>>> from handler.c:22:
>>> /usr/include/sys/syslog.h:200: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2__gnuc_va_list=E2
>>> In file included from common.h:40,
>>> from handler.c:22:
>>> /usr/include/httpd/http_log.h:102: error: expected =E2)=E2 before =E2=
*=E2 token
>>> /usr/include/httpd/http_log.h:109: error: expected =E2)=E2 before =E2=
*=E2 token
>>> /usr/include/httpd/http_log.h:121: error: expected =E2)=E2 before =E2=
*=E2 token
>>> /usr/include/httpd/http_log.h:196: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_pool_t=E2
>>> /usr/include/httpd/http_log.h:198: error: format string argument not=20
>>> a string type
>>> /usr/include/httpd/http_log.h:261: error: expected =E2)=E2 before =E2=
*=E2 token
>>> /usr/include/httpd/http_log.h:269: error: expected =E2)=E2 before =E2=
*=E2 token
>>> /usr/include/httpd/http_log.h:282: error: expected=20
>>> specifier-qualifier-list before =E2apr_pool_t=E2
>>> /usr/include/httpd/http_log.h:301: error: expected =E2)=E2 before =E2=
*=E2 token
>>> /usr/include/httpd/http_log.h:335: error: expected =E2)=E2 before =E2=
void=E2
>>> In file included from common.h:41,
>>> from handler.c:22:
>>> /usr/include/httpd/http_protocol.h:31:26: error: apr_portable.h: No=20
>>> such file or directory
>>> /usr/include/httpd/http_protocol.h:32:22: error: apr_mmap.h: No such=20
>>> file or directory
>>> In file included from common.h:41,
>>> from handler.c:22:
>>> /usr/include/httpd/http_protocol.h:77: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/http_protocol.h:111: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_off_t=E2
>>> /usr/include/httpd/http_protocol.h:127: error: expected =E2=3D=E2, =E2=
,=E2,=20
>>> =E2;=E2, =E2asm=E2 or =E2__attribute__=E2 before =E2ap_rationalize_mt=
ime=E2
>>> /usr/include/httpd/http_protocol.h:203: error: expected =E2)=E2 befor=
e=20
>>> =E2*=E2 token
>>> /usr/include/httpd/http_protocol.h:228: error: expected =E2)=E2 befor=
e=20
>>> =E2*=E2 token
>>> /usr/include/httpd/http_protocol.h:235: error: expected =E2)=E2 befor=
e=20
>>> =E2*=E2 token
>>> /usr/include/httpd/http_protocol.h:253: error: expected =E2)=E2 befor=
e=20
>>> =E2*=E2 token
>>> /usr/include/httpd/http_protocol.h:356: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2va_list=E2
>>> /usr/include/httpd/http_protocol.h:426: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_size_t=E2
>>> /usr/include/httpd/http_protocol.h:534: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_size_t=E2
>>> /usr/include/httpd/http_protocol.h:535: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_size_t=E2
>>> /usr/include/httpd/http_protocol.h:537: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/http_protocol.h:537: error: =E2ap_rgetline_core=E2=
=20
>>> declared as function returning a function
>>> /usr/include/httpd/http_protocol.h:554: error: expected =E2)=E2 befor=
e=20
>>> =E2*=E2 token
>>> /usr/include/httpd/http_protocol.h:569: error: expected =E2)=E2 befor=
e=20
>>> =E2int=E2
>>> /usr/include/httpd/http_protocol.h:608: error: expected=20
>>> specifier-qualifier-list before =E2apr_bucket_refcount=E2
>>> /usr/include/httpd/http_protocol.h:616: error: expected =E2=3D=E2, =E2=
,=E2,=20
>>> =E2;=E2, =E2asm=E2 or =E2__attribute__=E2 before =E2ap_bucket_type_er=
ror=E2
>>> /usr/include/httpd/http_protocol.h:633: error: expected =E2=3D=E2, =E2=
,=E2,=20
>>> =E2;=E2, =E2asm=E2 or =E2__attribute__=E2 before =E2*=E2 token
>>> /usr/include/httpd/http_protocol.h:644: error: expected =E2=3D=E2, =E2=
,=E2,=20
>>> =E2;=E2, =E2asm=E2 or =E2__attribute__=E2 before =E2*=E2 token
>>> /usr/include/httpd/http_protocol.h:648: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/http_protocol.h:648: error: =E2ap_byterange_filter=
=E2=20
>>> declared as function returning a function
>>> /usr/include/httpd/http_protocol.h:649: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/http_protocol.h:649: error:=20
>>> =E2ap_http_header_filter=E2 declared as function returning a function
>>> /usr/include/httpd/http_protocol.h:651: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/http_protocol.h:651: error:=20
>>> =E2ap_content_length_filter=E2 declared as function returning a funct=
ion
>>> /usr/include/httpd/http_protocol.h:652: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_bucket_brigade=E2
>>> /usr/include/httpd/http_protocol.h:652: error: =E2ap_old_write_filter=
=E2=20
>>> declared as function returning a function
>>> In file included from handler.c:22:
>>> common.h:45:17: error: apr.h: No such file or directory
>>> common.h:46:25: error: apr_buckets.h: No such file or directory
>>> common.h:47:25: error: apr_strings.h: No such file or directory
>>> common.h:48:26: error: apr_portable.h: No such file or directory
>>> common.h:49:26: error: apr_optional.h: No such file or directory
>>> common.h:50:21: error: apr_lib.h: No such file or directory
>>> In file included from common.h:52,
>>> from handler.c:22:
>>> /usr/include/httpd/ap_listen.h:34: error: expected declaration=20
>>> specifiers or =E2...=E2 before =E2apr_pool_t=E2
>>> /usr/include/httpd/ap_listen.h:34: error: =E2accept_function=E2 decla=
red=20
>>> as function returning a function
>>> /usr/include/httpd/ap_listen.h:50: error: expected=20
>>> specifier-qualifier-list before =E2apr_socket_t=E2
>>> In file included from handler.c:22:
>>> common.h:110: error: expected =E2=3D=E2, =E2,=E2, =E2;=E2, =E2asm=E2 =
or=20
>>> =E2__attribute__=E2 before =E2*=E2 token
>>> common.h:132: error: expected =E2)=E2 before =E2*=E2 token
>>> common.h:133: error: expected =E2)=E2 before =E2*=E2 token
>>> handler.c: In function =E2_getConfig=E2:
>>> handler.c:41: warning: implicit declaration of function =E2fprintf=E2
>>> handler.c:41: warning: incompatible implicit declaration of built-in=20
>>> function =E2fprintf=E2
>>> handler.c:41: error: =E2stderr=E2 undeclared (first use in this funct=
ion)
>>> handler.c:41: error: (Each undeclared identifier is reported only onc=
e
>>> handler.c:41: error: for each function it appears in.)
>>> handler.c:44: error: =E2request_rec=E2 has no member named =E2per_dir=
_config=E2
>>> handler.c:45: error: =E2request_rec=E2 has no member named =E2server=E2
>>> handler.c:51: error: =E2request_rec=E2 has no member named =E2per_dir=
_config=E2
>>> handler.c: In function =E2_readRequestBody=E2:
>>> handler.c:87: warning: implicit declaration of function =E2apr_table_=
get=E2
>>> handler.c:87: error: =E2request_rec=E2 has no member named =E2headers=
_in=E2
>>> handler.c:87: warning: assignment makes pointer from integer without=20
>>> a cast
>>> handler.c:88: warning: implicit declaration of function =E2atoi=E2
>>> handler.c:97: error: =E2request_rec=E2 has no member named =E2server=E2
>>> handler.c:101: warning: implicit declaration of function =E2apr_pallo=
c=E2
>>> handler.c:101: error: =E2request_rec=E2 has no member named =E2pool=E2
>>> handler.c:101: warning: assignment makes pointer from integer=20
>>> without a cast
>>> handler.c:109: error: too many arguments to function=20
>>> =E2ap_get_client_block=E2
>>> handler.c:118: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c: At top level:
>>> handler.c:129: error: expected declaration specifiers or =E2...=E2=20
>>> before =E2apr_table_t=E2
>>> handler.c: In function =E2_copyHeadersToRequest=E2:
>>> handler.c:131: error: expected =E2=3D=E2, =E2,=E2, =E2;=E2, =E2asm=E2=
or=20
>>> =E2__attribute__=E2 before =E2*=E2 token
>>> handler.c:131: error: =E2array=E2 undeclared (first use in this funct=
ion)
>>> handler.c:132: error: =E2apr_table_entry_t=E2 undeclared (first use i=
n=20
>>> this function)
>>> handler.c:132: error: =E2entries=E2 undeclared (first use in this fun=
ction)
>>> handler.c:136: error: =E2headers=E2 undeclared (first use in this fun=
ction)
>>> handler.c:138: warning: assignment makes pointer from integer=20
>>> without a cast
>>> handler.c:139: error: =E2request_rec=E2 has no member named =E2conten=
t_type=E2
>>> handler.c:140: warning: assignment makes pointer from integer=20
>>> without a cast
>>> handler.c:141: error: =E2request_rec=E2 has no member named=20
>>> =E2content_encoding=E2
>>> handler.c:142: warning: assignment makes pointer from integer=20
>>> without a cast
>>> handler.c:145: warning: implicit declaration of function=20
>>> =E2apr_table_elts=E2
>>> handler.c:146: error: expected expression before =E2)=E2 token
>>> handler.c:149: error: =E2entry=E2 undeclared (first use in this funct=
ion)
>>> handler.c:151: warning: implicit declaration of function=20
>>> =E2apr_table_set=E2
>>> handler.c:151: error: =E2request_rec=E2 has no member named =E2header=
s_out=E2
>>> handler.c: In function =E2_logInstanceAddress=E2:
>>> handler.c:163: warning: implicit declaration of function =E2apr_snpri=
ntf=E2
>>> handler.c:187: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c: In function =E2_connectInstance=E2:
>>> handler.c:205: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:210: warning: implicit declaration of function =E2apr_sleep=
=E2
>>> handler.c:213: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:225: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c: In function =E2_writeInHeaders=E2:
>>> handler.c:235: error: expected =E2=3D=E2, =E2,=E2, =E2;=E2, =E2asm=E2=
or=20
>>> =E2__attribute__=E2 before =E2*=E2 token
>>> handler.c:235: error: =E2array=E2 undeclared (first use in this funct=
ion)
>>> handler.c:236: error: =E2apr_table_entry_t=E2 undeclared (first use i=
n=20
>>> this function)
>>> handler.c:236: error: =E2entries=E2 undeclared (first use in this fun=
ction)
>>> handler.c:239: error: =E2request_rec=E2 has no member named =E2header=
s_in=E2
>>> handler.c:241: error: =E2request_rec=E2 has no member named =E2header=
s_in=E2
>>> handler.c:242: error: expected expression before =E2)=E2 token
>>> handler.c:245: error: =E2entry=E2 undeclared (first use in this funct=
ion)
>>> handler.c: In function =E2ngobjweb_handler=E2:
>>> handler.c:271: error: =E2request_rec=E2 has no member named =E2uri=E2
>>> handler.c:276: error: =E2request_rec=E2 has no member named =E2handle=
r=E2
>>> handler.c:278: error: =E2request_rec=E2 has no member named =E2handle=
r=E2
>>> handler.c:291: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:317: error: =E2request_rec=E2 has no member named =E2the_re=
quest=E2
>>> handler.c:318: error: =E2request_rec=E2 has no member named =E2header=
s_in=E2
>>> handler.c:321: warning: passing argument 3 of =E2_sendSNSQuery=E2 mak=
es=20
>>> pointer from integer without a cast
>>> handler.c:324: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:334: error: =E2request_rec=E2 has no member named =E2pool=E2
>>> handler.c:334: warning: assignment makes pointer from integer=20
>>> without a cast
>>> handler.c:348: error: =E2request_rec=E2 has no member named =E2pool=E2
>>> handler.c:348: warning: assignment makes pointer from integer=20
>>> without a cast
>>> handler.c:366: error: =E2request_rec=E2 has no member named =E2pool=E2
>>> handler.c:366: warning: assignment makes pointer from integer=20
>>> without a cast
>>> handler.c:370: warning: implicit declaration of function=20
>>> =E2apr_inet_addr=E2
>>> handler.c:376: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:380: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:386: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:392: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:403: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:417: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:426: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:434: error: =E2request_rec=E2 has no member named =E2the_re=
quest=E2
>>> handler.c:437: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:455: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:464: error: =E2request_rec=E2 has no member named =E2protoc=
ol=E2
>>> handler.c:473: error: =E2request_rec=E2 has no member named =E2connec=
tion=E2
>>> handler.c:482: error: =E2request_rec=E2 has no member named =E2connec=
tion=E2
>>> handler.c:483: error: =E2request_rec=E2 has no member named =E2connec=
tion=E2
>>> handler.c:496: error: =E2request_rec=E2 has no member named =E2ap_aut=
h_type=E2
>>> handler.c:509: error: =E2request_rec=E2 has no member named =E2user=E2
>>> handler.c:533: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:538: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:539: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:550: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:552: warning: implicit declaration of function=20
>>> =E2ap_run_http_scheme=E2
>>> handler.c:553: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:554: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:558: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:569: error: =E2request_rec=E2 has no member named=20
>>> =E2subprocess_env=E2
>>> handler.c:570: error: =E2apr_table_t=E2 undeclared (first use in this=
=20
>>> function)
>>> handler.c:570: error: =E2env=E2 undeclared (first use in this functio=
n)
>>> handler.c:570: error: =E2request_rec=E2 has no member named=20
>>> =E2subprocess_env=E2
>>> handler.c:573: warning: assignment makes pointer from integer=20
>>> without a cast
>>> handler.c:583: warning: assignment makes pointer from integer=20
>>> without a cast
>>> handler.c:585: error: expected =E2=3D=E2, =E2,=E2, =E2;=E2, =E2asm=E2=
or=20
>>> =E2__attribute__=E2 before =E2*=E2 token
>>> handler.c:585: error: =E2array=E2 undeclared (first use in this funct=
ion)
>>> handler.c:586: error: =E2apr_table_entry_t=E2 undeclared (first use i=
n=20
>>> this function)
>>> handler.c:586: error: =E2entries=E2 undeclared (first use in this fun=
ction)
>>> handler.c:598: error: expected expression before =E2)=E2 token
>>> handler.c:600: error: =E2entry=E2 undeclared (first use in this funct=
ion)
>>> handler.c:617: warning: assignment makes pointer from integer=20
>>> without a cast
>>> handler.c:625: warning: assignment makes pointer from integer=20
>>> without a cast
>>> handler.c:657: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:672: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:681: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:693: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:697: error: =E2request_rec=E2 has no member named =E2status=
=E2
>>> handler.c:698: error: =E2request_rec=E2 has no member named =E2status=
_line=E2
>>> handler.c:702: error: =E2headers=E2 undeclared (first use in this fun=
ction)
>>> handler.c:705: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:707: warning: implicit declaration of function=20
>>> =E2NGScanHeaders=E2
>>> handler.c:707: error: =E2request_rec=E2 has no member named =E2pool=E2
>>> handler.c:708: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:712: error: too many arguments to function=20
>>> =E2_copyHeadersToRequest=E2
>>> handler.c:720: error: =E2request_rec=E2 has no member named =E2header=
_only=E2
>>> handler.c:724: warning: implicit declaration of function =E2apr_pcall=
oc=E2
>>> handler.c:724: error: =E2request_rec=E2 has no member named =E2pool=E2
>>> handler.c:724: warning: assignment makes pointer from integer=20
>>> without a cast
>>> handler.c:725: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:738: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> handler.c:761: error: =E2request_rec=E2 has no member named =E2server=
=E2
>>> make[2]: *** [handler.o] Error 1
>>> make[2]: Leaving directory=20
>>> `/root/Source/SOPE/sope-appserver/mod_ngobjweb'
>>> make[1]: *** [internal-all] Error 2
>>> make[1]: Leaving directory `/root/Source/SOPE/sope-appserver'
>>> make: *** [internal-all] Error 2
>>>
>>>
>>> Wolfgang Sourdeau wrote:
>>>>
>>>>>
>>>>> patching file sope-appserver/mod_ngobjweb/handler.c
>>>>> Hunk #6 FAILED at 728.
>>>>> Hunk #7 succeeded at 740 (offset -3 lines).
>>>>> 1 out of 8 hunks FAILED -- saving rejects to file=20
>>>>> sope-appserver/mod_ngobjweb/handler.c.rej
>>>>
>>>> There were fixes commited in SOPE yesterday. I think those fixes do=20
>>>> the same thing than what was in the pachset. I think you can thus=20
>>>> ignore this.
>>>>
>>>> I will update the patchset to avoid the rejection.
>>>>
>>>>
>>>> Wolfgang
>>>>
>>>
>>
>