On Mon, 8 Jul 2002, Kent, Mr. John wrote:
> Greetings,
>
> Following:
> Create the build environment
> % cd modperl-2.0
> % perl Makefile.PL MP_AP_PREFIX=/home/stas/src/httpd-2.0.xx
> % make
>
> on Solaris 2.7
>
> got:
> make[3]: Entering directory
> `/users/webuser/src/modperl-2.0/WrapXS/APR/Table'
> gcc -c -I/users/webuser/src/modperl-2.0/src/modules/perl
> -I/users/webuser/src/modperl-2.0/xs
> -I/users/webuser/apache_heavy_test/include -I/usr/local/include -DMOD_PERL
> -O -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC
> -I/users/webuser/perl/lib/5.6.1/sun4-solaris-thread-multi/CORE Table.c
> In file included from
> /users/webuser/src/modperl-2.0/src/modules/perl/modperl_perl_includes.h:42,
> from
> /users/webuser/src/modperl-2.0/src/modules/perl/mod_perl.h:5,
> from Table.xs:18:
> /users/webuser/perl/lib/5.6.1/sun4-solaris-thread-multi/CORE/perl.h:23:
> warning: `VOIDUSED' redefined
> /users/webuser/perl/lib/5.6.1/sun4-solaris-thread-multi/CORE/config.h:3118:
> warning: this is the location of the previous definition
> /users/webuser/src/modperl-2.0/xs/APR/Table/APR__Table.h: In function
> `mpxs_apr_table_do':
> In file included from Table.xs:26:
> /users/webuser/src/modperl-2.0/xs/APR/Table/APR__Table.h:73: dereferencing
> pointer to incomplete type
> make[3]: *** [Table.o] Error 1
I'm not sure if this is related, but with the cvs httpd-2.0 I get
an error in about the same place. If one places the definition of
apr_table_t in httpd-2.0/srclib/apr/tables/apr_tables.c:
struct apr_table_t {
apr_array_header_t a;
#ifdef MAKE_TABLE_PROFILE
void *creator;
#endif
};
into MP_AP_PREFIX/include/apr_tables.h, just after the
struct apr_array_header_t declaration, then things compiled
for me, and all tests pass.
best regards,
randy kobes
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]