Hi,

I'm trying to compile postfix 3.0 on Solaris 11(.2) with Solaris Studio(12.4) cc.

It works fine with last postfix-2.11.3 (same host/OS and cc).
With 3.0, it seems makefiles passed the following options
to cc

-UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment

/opt/solarisstudio12.4/bin/cc -I. -I../../include -DUSE_TLS -DHAS_LDAP -DHAS_MYSQL -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DHAS_DB -I/usr/include/openssl -I/usr/include/openldap -I/usr/mysql/5.5/include -I/opt/cyrus-sasl_2.1.26/include/sasl -DNO_NISPLUS -Dstrncasecmp=fix_strncasecmp -DNO_EAI -DHAS_PCRE -I/usr/include/pcre -UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -O5 -I. -DSUNOS5 -c alldig.c

cc: -W option with unknown program missing-prototypes
*** Error code 1
make: Fatal error: Command failed for target `alldig.o'
Current working directory /local/install/postfix-3.0.0/src/util
*** Error code 1


solarisstudio cc supports options:

-Wc,arg Passes the argument arg to a specified component c.
-w Suppresses compiler warning messages

Thank you for your help.

Regards

Reply via email to