Hi, Remove #define HAS_NISPLUS from src/util/sys_defs.h file and try again.
$ diff -u src/util/sys_defs.h_orig src/util/sys_defs.h --- src/util/sys_defs.h_orig 2010-03-07 21:09:19.889612089 +0100 +++ src/util/sys_defs.h 2010-03-07 21:39:07.102353914 +0100 @@ -401,7 +401,6 @@ #define DEF_DB_TYPE "dbm" #define ALIAS_DB_MAP "dbm:/etc/mail/aliases" #define HAS_NIS -#define HAS_NISPLUS #define USE_SYS_SOCKIO_H /* Solaris 2.5, changed sys/ioctl.h */ #define GETTIMEOFDAY(t) gettimeofday(t) #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb" On Tue, Jun 22, 2010 at 1:14 PM, Stephan Ferraro <step...@ferraro.net> wrote: > Since I upgraded from snv_111 to snv_134 there is no more possible to compile > postfix. > gcc: -lssl: linker input file unused because linking not done > gcc: -lcrypto: linker input file unused because linking not done > gcc -Wmissing-prototypes -Wformat -DHAS_MYSQL -I/usr/mysql/include/mysql > -DUSE_TLS -lssl -lcrypto -DUSE_SASL_AUTH -DDEF_SERVER_SASL_TYPE=\"dovecot\" > -DHAS_DB -I/opt/csw/bdb33/include -Dstrcasecmp=fix_strcasecmp > -Dstrncasecmp=fix_strncasecmp -DHAS_PCRE -I/usr/include/pcre -g -O -I. > -DSUNOS5 -c dict_nisplus.c > dict_nisplus.c: In function `dict_nisplus_lookup': > dict_nisplus.c:123: error: `nis_result' undeclared (first use in this > function) > dict_nisplus.c:123: error: (Each undeclared identifier is reported only once > dict_nisplus.c:123: error: for each function it appears in.) > dict_nisplus.c:123: error: `reply' undeclared (first use in this function) > dict_nisplus.c:182: error: `FOLLOW_LINKS' undeclared (first use in this > function) > dict_nisplus.c:182: error: `FOLLOW_PATH' undeclared (first use in this > function) > dict_nisplus.c:188: error: `NIS_SUCCESS' undeclared (first use in this > function) > dict_nisplus.c:221: error: `NIS_NOTFOUND' undeclared (first use in this > function) > dict_nisplus.c:221: error: `NIS_PARTIAL' undeclared (first use in this > function) > dict_nisplus.c:224: warning: format argument is not a pointer (arg 4) > *** Error code 1 > make: Fatal error: Command failed for target `dict_nisplus.o' > Current working directory > /export/home/saf/opensolaris_mail/postfix/postfix-2.7.1/src/util > *** Error code 1 > make: Fatal error: Command failed for target `update' > > > It seems that the file /usr/include/rpcsvc/nis.h changed. > The structure nis_result and some macros like NIS_PARTIAL are missing. > What has happening? > -- > This message posted from opensolaris.org > _______________________________________________ > opensolaris-code mailing list > opensolaris-code@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/opensolaris-code > -- Piotr Jasiukajtis | estibi | SCA OS0072 http://estseg.blogspot.com _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code