Thanks for the quick response, additional information as requested is below.


Priest, Darryl - BALTO wrote:
> I'm getting the error below for every cc in the make:
> 
> 
> "/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h", line 41.9: 1506-236
(W)
> Macro name __attribute__ has been redefined.
> "/usr/local/perl5.8.0/lib/5.8.0/aix/CORE/config.h", line 41.9: 1506-358
(I)
> "__attribute__" is defined on line 28 of /usr/local/apache/include/apr.h.

I'll take this issue to the apr/p5p lists, but this is non-fatal.

> But the make sails along until:
> 
>         cc -I/tmp/mod_perl-1.99_08/src/modules/perl
> -I/tmp/mod_perl-1.99_08/xs -I/usr/local/apache/include -D_ALL_SOURCE
> -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias
> -DUSE_NATIVE_DLOPEN   -I/usr/local/perl5.8.0/lib/5.8.0/aix/CORE -DMOD_PERL
> -O   -c modperl_sys.c && mv modperl_sys.o modperl_sys.lo
> "modperl_largefiles.h", line 15.9: 1506-199 (S) #define directive requires
a
> macro name.
> "modperl_largefiles.h", line 17.9: 1506-199 (S) #define directive requires
a
> macro name.
[...]
> Is it just a coincidence that perl has USE_LARGE_FILES on and the file
that
> make finally fails on is modperl_largefiles.h ?

Can you please post your src/modules/perl/modperl_largefiles.h and the
output of:

#ifndef MODPERL_LARGEFILES_H
#define MODPERL_LARGEFILES_H

/*
 * *********** WARNING **************
 * This file generated by ModPerl::Code/0.01
 * Any changes made here will be lost
 * ***********************************
 * 01: lib/ModPerl/Code.pm:648
 * 02: lib/ModPerl/Code.pm:674
 * 03: Makefile.PL:209
 * 04: Makefile.PL:91
 */

#define -q32 
#define _LARGE_FILES 
#define -qlonglong 

#endif /* MODPERL_LARGEFILES_H */



   % perl -MConfig -e 'print $Config{ccflags_uselargefiles}'

-q32 -D_LARGE_FILES -qlonglong

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


____________________________________________________________________________
The information contained in this communication may be confidential, is
intended only for the use of the recipient named above, and may be legally
privileged.  If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, distribution, or copying of
this communication, or any of its contents, is strictly prohibited. If you
have received this communication in error, please re-send this communication
to the sender and delete the original message and any copy of it from your
computer system.
Thank you.

For more information please visit us at http://www.piperrudnick.com
____________________________________________________________________________


Reply via email to