compiling POP servers
Attempting compile Solaris 10 Sparc of qpopper4.1
and vmpop3d-1.1.6
./configure with and without options runs with no reported errors.
Compile of both packages fails with same error as below
vm-pop3d errors
In file included from /usr/include/sys/wait.h:24,
from vm-pop3d.h:122,
from apop.c:21:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:292: error: ISO C forbids data definition with no type or storage class
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: ISO C forbids data definition with no type or storage class
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:426: error: ISO C forbids data definition with no type or storage class
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: ISO C forbids data definition with no type or storage class
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
/usr/include/sys/siginfo.h:437: error: ISO C forbids data definition with no type or storage class In file included from vm-pop3d.h:122,
from apop.c:21:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
apop.c: In function `pop3_apop':
apop.c:127: warning: implicit declaration of function `strdup'
apop.c:127: warning: assignment makes pointer from integer without a cast
apop.c:134: warning: assignment makes pointer from integer without a cast
apop.c:189: warning: assignment makes pointer from integer without a cast
*** Error code 1
make: Fatal error: Command failed for target `apop.o'
qpopper 4-0-5 errors
gcc -c -I.. -I.. -I. \
-I../mmangle -I../common \
-g -O2 -fpcc-struct-return -DHAVE_CONFIG_H -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_xmit.c -o pop_xmit.o In file included from /usr/include/sys/wait.h:24,
from pop_xmit.c:60:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token In file included from /usr/include/sys/procset.h:24,
from /usr/include/sys/wait.h:25,
from pop_xmit.c:60:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t" In file included from pop_xmit.c:60:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
*** Error code 1
make: Fatal error: Command failed for target `pop_xmit.o' Current working directory /home/edsrdm/qpopper4.0.5/popper
*** Error code 1
make: Fatal error: Command failed for target `popper_server'
END of SCREEN DUMP
Ideas ? I am usually on AIX so Sun knowledege and C is rusty to say the least..
I suspect header file inconsistency but not sure where to start.

