配置sendmail+sasl出错
我的系统是solaris 5.9 sparc
在配置cyrus-sasl-1.5.28 的时候出错了。当我./configure --enable-login --with-pwcheck --disable-gssapi --disable-digest --disable-cram --disable-krb4 --enable-plain 完的时候再make时出现:
bash-2.05$ make
make all-recursive
Making all in include
Making all in lib
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -Wall -W -g -O2 -c common.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/local/include -Wall -W -g -O2 -c common.c -fPIC -DPIC -o common.lo
In file included from /usr/include/sys/t_lock.h:19,
from /usr/include/sys/vnode.h:38,
from /usr/include/sys/stream.h:22,
from /usr/include/netinet/in.h:41,
from /usr/include/netdb.h:96,
from ../config.h:254,
from common.c:45:
/opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/sys/param.h:185: warning: `NBBY' redefined
/usr/include/sys/select.h:59: warning: this is the location of the previous definition
In file included from /opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/time.h:90,
from /usr/include/sys/time.h:418,
from /usr/include/sys/select.h:20,
from /opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/sys/types.h:278,
from /usr/include/sys/wait.h:20,
from /opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/stdlib.h:17,
from ../config.h:251,
from common.c:45:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
In file included from /opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/time.h:90,
from /usr/include/sys/time.h:418,
from /usr/include/sys/select.h:20,
from /opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/sys/types.h:278,
from /usr/include/sys/wait.h:20,
from /opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/stdlib.h:17,
from ../config.h:251,
from common.c:45:
/usr/include/sys/siginfo.h:284: parse error before `int32_t'
/usr/include/sys/siginfo.h:284: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:284: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:286: parse error before `}'
/usr/include/sys/siginfo.h:286: warning: data definition has no type or storage class
/usr/include/sys/siginfo.h:288: parse error before `}'
/usr/include/sys/siginfo.h:288: warning: data definition has no type or storage class
/usr/include/sys/siginfo.h:415: parse error before `int32_t'
/usr/include/sys/siginfo.h:415: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:415: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:416: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:285: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:418: parse error before `}'
/usr/include/sys/siginfo.h:418: warning: data definition has no type or storage class
/usr/include/sys/siginfo.h:420: parse error before `}'
/usr/include/sys/siginfo.h:420: warning: data definition has no type or storage class
/usr/include/sys/siginfo.h:424: parse error before `k_siginfo_t'
/usr/include/sys/siginfo.h:424: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:428: parse error before `}'
/usr/include/sys/siginfo.h:428: warning: data definition has no type or storage class
In file included from /opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/stdlib.h:17,
from ../config.h:251,
from common.c:45:
/usr/include/sys/wait.h:90: parse error before `siginfo_t'
In file included from /usr/include/sys/stream.h:22,
from /usr/include/netinet/in.h:41,
from /usr/include/netdb.h:96,
from ../config.h:254,
from common.c:45:
/usr/include/sys/vnode.h:173: parse error before `u_offset_t'
/usr/include/sys/vnode.h:173: warning: no semicolon at end of struct or union
/usr/include/sys/vnode.h:181: parse error before `}'
/usr/include/sys/vnode.h:181: warning: data definition has no type or storage class
/usr/include/sys/vnode.h:208: parse error before `vattr32_t'
/usr/include/sys/vnode.h:208: warning: data definition has no type or storage class
/usr/include/sys/vnode.h:321: parse error before `intptr_t'
/usr/include/sys/vnode.h:389: parse error before `u_offset_t'
In file included from /usr/include/netinet/in.h:41,
from /usr/include/netdb.h:96,
from ../config.h:254,
from common.c:45:
/usr/include/sys/stream.h:307: parse error before `projid_t'
/usr/include/sys/stream.h:307: warning: no semicolon at end of struct or union
/usr/include/sys/stream.h:308: warning: data definition has no type or storage class
In file included from /usr/include/netdb.h:96,
from ../config.h:254,
from common.c:45:
/usr/include/netinet/in.h:53: parse error before `in_port_t'
/usr/include/netinet/in.h:53: warning: data definition has no type or storage class
/usr/include/netinet/in.h:69: parse error before `in_addr_t'
/usr/include/netinet/in.h:69: warning: data definition has no type or storage class
/usr/include/netinet/in.h:74: parse error before `ipaddr_t'
/usr/include/netinet/in.h:74: warning: data definition has no type or storage class
/usr/include/netinet/in.h:96: parse error before `uint8_t'
/usr/include/netinet/in.h:96: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:96: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:97: warning: data definition has no type or storage class
/usr/include/netinet/in.h:99: parse error before `__S6_align'
/usr/include/netinet/in.h:99: warning: data definition has no type or storage class
/usr/include/netinet/in.h:100: warning: data definition has no type or storage class
/usr/include/netinet/in.h:101: parse error before `}'
/usr/include/netinet/in.h:226: parse error before `uint8_t'
/usr/include/netinet/in.h:226: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:226: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:226: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:226: warning: data definition has no type or storage class
/usr/include/netinet/in.h:227: parse error before `uint16_t'
/usr/include/netinet/in.h:227: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:227: warning: data definition has no type or storage class
/usr/include/netinet/in.h:229: parse error before `S_addr'
/usr/include/netinet/in.h:229: warning: data definition has no type or storage class
/usr/include/netinet/in.h:233: warning: data definition has no type or storage class
/usr/include/netinet/in.h:240: parse error before `}'
/usr/include/netinet/in.h:298: parse error before `in_port_t'
/usr/include/netinet/in.h:298: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:305: parse error before `}'
/usr/include/netinet/in.h:313: parse error before `in_port_t'
/usr/include/netinet/in.h:313: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:314: warning: data definition has no type or storage class
/usr/include/netinet/in.h:316: parse error before `sin6_scope_id'
/usr/include/netinet/in.h:316: warning: data definition has no type or storage class
/usr/include/netinet/in.h:317: parse error before `__sin6_src_id'
/usr/include/netinet/in.h:317: warning: data definition has no type or storage class
/usr/include/netinet/in.h:684: parse error before `uint8_t'
/usr/include/netinet/in.h:684: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:685: warning: data definition has no type or storage class
/usr/include/netinet/in.h:686: parse error before `ipsr_esp_auth_alg'
/usr/include/netinet/in.h:686: warning: data definition has no type or storage class
/usr/include/netinet/in.h:687: warning: data definition has no type or storage class
/usr/include/netinet/in.h:737: field `imr_multiaddr' has incomplete type
/usr/include/netinet/in.h:738: field `imr_interface' has incomplete type
/usr/include/netinet/in.h:746: field `ipv6mr_multiaddr' has incomplete type
/usr/include/netinet/in.h:754: field `ipi6_addr' has incomplete type
/usr/include/netinet/in.h:771: field `in_prefix_addr' has incomplete type
In file included from /usr/include/netdb.h:98,
from ../config.h:254,
from common.c:45:
/usr/include/sys/socket.h:61: parse error before `socklen_t'
/usr/include/sys/socket.h:61: warning: data definition has no type or storage class
In file included from /usr/include/netdb.h:98,
from ../config.h:254,
from common.c:45:
/usr/include/sys/socket.h:297: parse error before `socklen_t'
/usr/include/sys/socket.h:297: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:309: parse error before `}'
/usr/include/sys/socket.h:375: parse error before `socklen_t'
/usr/include/sys/socket.h:375: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:378: parse error before `}'
/usr/include/sys/socket.h:447: parse error before `socklen_t'
/usr/include/sys/socket.h:448: parse error before `socklen_t'
/usr/include/sys/socket.h:461: parse error before `socklen_t'
/usr/include/sys/socket.h:462: parse error before `socklen_t'
In file included from ../config.h:254,
from common.c:45:
/usr/include/netdb.h:187: parse error before `in_addr_t'
/usr/include/netdb.h:187: warning: no semicolon at end of struct or union
/usr/include/netdb.h:239: parse error before `int'
/usr/include/netdb.h:308: parse error before `socklen_t'
In file included from common.c:57:
saslint.h:95: field `ip_local' has incomplete type
saslint.h:95: field `ip_remote' has incomplete type
common.c: In function `_sasl_conn_init':
common.c:249: warning: implicit declaration of function `gethostname'
common.c: In function `sasl_setprop':
common.c:419: dereferencing pointer to incomplete type
common.c:423: dereferencing pointer to incomplete type
common.c: In function `_sasl_log':
common.c:947: warning: implicit declaration of function `snprintf'
/usr/include/netinet/in.h: At top level:
/usr/include/netinet/in.h:299: storage size of `sin_addr' isn't known
/usr/include/netinet/in.h:315: storage size of `sin6_addr' isn't known
*** Error code 1
make: Fatal error: Command failed for target `common.lo'
Current working directory /export1/akazam/cyrus-sasl-1.5.28/lib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export1/akazam/cyrus-sasl-1.5.28
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
请帮忙解决,哎,解决不了,就要被老板骂了。