Hello everyone..
I'm trying to compile the new version of courier on a Solaris 2.7 box and
this is what I get. I'm not sure how to proceed with this because it
appears that there is a problem is with the `getpw' declaration in pcp.c and
a standard Solaris include file.
Has anyone else ran across this problem as well, if so how did you fix it?
- John
pcp.c:131: conflicting types for `getpw'
/usr/include/stdlib.h:233: previous declaration of `getpw'
pcplocale.c: In function `pcp_fmttime':
pcplocale.c:850: warning: `%x' yields only last 2 digits of year in some
locales
gcc -DHAVE_CONFIG_H -I. -I. -I. -Iintl/ -I./intl
-I/apps/openldap-1.2.11/include -I.. -I./.. -Wall -g -O2 -c pcpd.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Iintl/ -I./intl
-I/apps/openldap-1.2.11/include -I.. -I./.. -Wall -g -O2 -c pcpdauth.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Iintl/ -I./intl
-I/apps/openldap-1.2.11/include -I.. -I./.. -Wall -g -O2 -c
pcpdauthtoken.c
make[3]: *** [pcp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/apps/build/courier/courier-0.36.0/pcp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/apps/build/courier/courier-0.36.0/pcp'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/apps/build/courier/courier-0.36.0/pcp'
make: *** [all-recursive] Error 1