On Wed, Sep 29, 2010 at 07:59:51AM +0200, Andr? wrote: > Hi there, >
Hi there, > # cd /usr > # cvs -qd anon...@anoncvs.ca.openbsd.org:/cvs get -P src/usr.sbin/smtpd > > (/usr/src/usr.sbin/smtpd) # make > ===> makemap > yacc -d /usr/src/usr.sbin/smtpd/makemap/../parse.y > mv y.tab.c parse.c > cc -O2 -pipe -g3 -ggdb -I/usr/src/usr.sbin/smtpd/makemap/.. -Wall > -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow > -Wpointer-arith -Wcast-qual -Wsign-compare -Wbounded -c parse.c > In file included from /usr/src/usr.sbin/smtpd/makemap/../parse.y:52: > /usr/src/usr.sbin/smtpd/smtpd.h:20:42: imsg.h: No such file or directory > In file included from /usr/src/usr.sbin/smtpd/makemap/../parse.y:52: > /usr/src/usr.sbin/smtpd/smtpd.h:167: error: field `ibuf' has incomplete type > /usr/src/usr.sbin/smtpd/smtpd.h:716: error: field `w' has incomplete type > /usr/src/usr.sbin/smtpd/smtpd.h:819: warning: `struct imsg' declared inside > parameter list > /usr/src/usr.sbin/smtpd/smtpd.h:819: warning: its scope is only this > definition or declaration, which is probably not what you want > *** Error code 1 > > Stop in /usr/src/usr.sbin/smtpd/makemap (line 92 of /usr/share/mk/sys.mk). > *** Error code 1 > > Stop in /usr/src/usr.sbin/smtpd (line 48 of /usr/share/mk/bsd.subdir.mk). > > Did i miss something? > You're trying to build smtpd-current on an OpenBSD that's not -current and unfortunately things that matter for smtpd have changed in OpenBSD between your version and -current. The imsg framework has moved to libutil so smtpd no longer ships it and is trying to find an imsg.h that you don't have. There are two solutions, the easiest one is for you to upgrade to -current or to a snapshot; the other i'm not telling you because it will turn your -stable into a bastard system that won't be supported here ;-) Gilles -- Gilles Chehade