OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Problems building 2.2.6 on Solaris 7

From: Albert Chin (postfix-usersmlists.thewrittenword.com)
Date: Wed Nov 30 2005 - 18:12:33 CST


I encounter the following build failure with 2.2.6 on Solaris 7 with
the Sun C compiler:
cc -DDEF_COMMAND_DIR=\"/opt/TWWfsw/postfix226/sbin\"
-DDEF_CONFIG_DIR=\"/etc/opt/TWWfsw/postfix226\"
-DDEF_DAEMON_DIR=\"/opt/TWWfsw/postfix226/libexec\"
-DDEF_MAILQ_PATH=\"/opt/TWWfsw/postfix226/bin/mailq\"
-DDEF_MANPAGE_DIR=\"/opt/TWWfsw/postfix226/man\"
-DDEF_NEWALIAS_PATH=\"/opt/TWWfsw/postfix226/bin/newaliases\"
-DDEF_SAMPLE_DIR=\"/opt/TWWfsw/postfix226/contrib\"
-DDEF_SENDMAIL_PATH=\"/opt/TWWfsw/postfix226/sbin/sendmail\"
-DDEF_QUEUE_DIR=\"/var/opt/TWWfsw/postfix226\"
-DDEF_README_DIR=\"/opt/TWWfsw/postfix226/doc/readme-files\" -DHAS_DB
-I/opt/TWWfsw/libdb42/include -DHAS_LDAP
-I/opt/TWWfsw/openldap2229/include -DUSE_TLS
-I/opt/TWWfsw/libopenssl097/include -DHAS_PCRE
-I/opt/TWWfsw/libpcre50/include -DNO_IPV6 -DNO_CLOSEFROM
-DNO_DEV_URANDOM -Dstrcasecmp=fix_strcasecmp
-Dstrncasecmp=fix_strncasecmp -mr -Qn -xstrconst -xO2
-xtarget=generic -I. -DSUNOS5 -c unix_recv_fd.c
"unix_recv_fd.c", line 70: warning: implicit function declaration:
_CMSG_ALIGN
"unix_recv_fd.c", line 70: member can not have variably modified type:
control
"unix_recv_fd.c", line 74: undefined struct/union member: msg_control
"unix_recv_fd.c", line 75: undefined struct/union member:
msg_controllen
"unix_recv_fd.c", line 100: warning: implicit function declaration:
CMSG_FIRSTHDR
"unix_recv_fd.c", line 100: warning: improper pointer/integer
combination: op "="
"unix_recv_fd.c", line 108: warning: implicit function declaration:
CMSG_DATA
"unix_recv_fd.c", line 118: cannot recover from previous errors

_CMSG_ALIGN is not defined anywhere in /usr/include.

--
albert chin (chinathewrittenword.com)