Hello,

I'm trying to build Cherokee on Solaris 9 in order to provide a package 
for OpenCSW --> http://www.opencsw.org/ . Unfortunately, it does not 
build and stops with this error:

/bin/bash ../libtool --tag=CC   --mode=compile /opt/csw/gcc4/bin/gcc 
-std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -pthreads  -I/opt/csw/include 
-O2 -pipe -mcpu=v8 -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo 
util.c
libtool: compile:  /opt/csw/gcc4/bin/gcc -std=gnu99 -DHAVE_CONFIG_H -I. 
-I.. -I.. -pthreads -I/opt/csw/include -O2 -pipe -mcpu=v8 -MT util.lo 
-MD -MP -MF .deps/util.Tpo -c util.c  -fPIC -DPIC -o .libs/util.o
In file included from util.c:26:
util.h:156: warning: 'struct sockaddr' declared inside parameter list
util.h:156: warning: its scope is only this definition or declaration, 
which is probably not what you want
util.c: In function 'cherokee_readdir':
util.c:423: error: too few arguments to function 'readdir_r'
util.c: At top level:
util.c:1773: error: conflicting types for 'cherokee_ntop'
util.h:156: error: previous declaration of 'cherokee_ntop' was here
gmake[5]: *** [util.lo] Error 1
gmake[5]: Leaving directory 
`/home/ihsan/mgar/pkg/cherokee/trunk/work/solaris9-sparc/build-isa-sparcv8/cherokee-0.99.44/cherokee'

OS: Solaris 9 sparc
Compiler: GCC 4.3.3




Ihsan


-- 
[email protected]          http://blog.dogan.ch/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to