>Number: 3848 >Category: os-solaris >Synopsis: mod_perl won't compile on Solaris 2.5 >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Feb 5 13:50:01 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.4 >Environment: SunOS star9 5.5 Generic sun4m sparc SUNW,SPARCstation-5 Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.2/specs gcc version 2.7.2.2 perl 5.004_04 (compiled with SFIO) >Description: apache 1.3.4 builds fine stand-alone. However, with mod_perl 1.18, it won't compile.
Everything is fine until below: Most *.c files were being compiled with the following flags... (I cut the whole make output for brevity) gcc -c -I../../os/unix -I../../include -DSOLARIS2=250 -DMOD_PERL Here's where it aborts compilation: ===> modules/perl gcc -I. -I../../include -I../../include/regex -I../../include/.././os/unix -DSOLARIS2=250 -DMOD_PERL `/usr/local/bin/perl -MExtUtils::Embed -e ccopts` -DNO_PERL_DISPATCH -DNO_PERL_POST_READ_REQUEST -DNO_PERL_TRANS -DNO_PERL_HEADER_PARSER -DNO_PERL_ACCESS -DNO_PERL_AUTHEN -DNO_PERL_AUTHZ -DNO_PERL_TYPE -DNO_PERL_FIXUP -DNO_PERL_LOG -DNO_PERL_INIT -DNO_PERL_CLEANUP -DNO_PERL_RESTART -DNO_PERL_STACKED_HANDLERS -DNO_PERL_SECTIONS -DNO_PERL_METHOD_HANDLERS -DNO_PERL_SSI -DNO_PERL_DIRECTIVE_HANDLERS -DMOD_PERL_VERSION=\"1.18\" -I./os/unix -I../../include -c mod_perl_opmask.c -o mod_perl_opmask.o In file included from ../../include/httpd.h:72, from mod_perl.h:114, from mod_perl_opmask.c:1: ../../include/alloc.h:131: unrecognized format specifier for `anf__' In file included from ../../include/httpd.h:73, from mod_perl.h:114, from mod_perl_opmask.c:1: ../../include/buff.h:172: unrecognized format specifier for `anf__' In file included from ../../include/httpd.h:74, from mod_perl.h:114, from mod_perl_opmask.c:1: ../../include/ap.h:158: unrecognized format specifier for `anf__' In file included from mod_perl.h:116, from mod_perl_opmask.c:1: ../../include/http_protocol.h:152: unrecognized format specifier for `anf__' In file included from mod_perl.h:117, from mod_perl_opmask.c:1: ../../include/http_log.h:119: unrecognized format specifier for `anf__' ../../include/http_log.h:122: unrecognized format specifier for `anf__' ../../include/http_log.h:133: unrecognized format specifier for `anf__' make[3]: *** [mod_perl_opmask.o] Error 1 make[2]: *** [all] Error 1 make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/home/haroon/apache_1.3.4/src' make: *** [apache_httpd] Error 2 >How-To-Repeat: >Fix: I can only trace it to the __attribute__ definition in apache_1.3.4/src/include/ap_config.h This is my first time reporting a bug, so please be gentle... I RTFM'ed, looked at c.i.w.s.u, searched the bug registry. >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [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! ]