I'm having trouble getting mod_perl 1.24 to compile using the Solaris compiler
(Version is: Sun WorkShop 6 2000/04/07 C 5.1)

Any ideas?

For various reasons I'm using the Apache 1.3.12 source tree, and I can compile
fine using gcc, but the Solaris compiler complains:


/opt/SUNWspro/WS6/bin/cc -c  -I../../os/unix -I../../include 
-DSOLARIS2=270 -DUSE_EXPAT -I../../lib/expat-lite 
`/export/home/matisse/devel/apache/apache_1.3.12/src/apaci` 
-I/usr/local/include 
-I/usr/local/lib/perl5/5.00503/sun4-solaris/CORE  -I. -I../.. 
-DUSE_PERL_SSI -DMOD_PERL -KPIC -DSHARED_MODULE mod_include.c && mv 
mod_include.o mod_include.lo
"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h", line 
319: formal parameter lacks name: param #1
"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h", line 
319: formal parameter lacks name: param #2
"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h", line 
319: formal parameter lacks name: param #3
"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h", line 
319: syntax error before or at: __attribute__
"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/iperlsys.h", line 
319: warning: syntax error:  empty declaration
"/usr/include/ctype.h", line 48: cannot recover from previous errors
cc: acomp failed for mod_include.c



PS: I need to use this compiler becaue i want to compile in another 
module, mod_curl.c (StoryServer)
which require the Solaris compiler.


-- 
---------------------------------------------------------------------------
Matisse Enzer
TechTv Web Engineering
[EMAIL PROTECTED]
415-355-4364 (desk)
415-225-6703 (cellphone)

Reply via email to