OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
compiling smtpd

From: André (listsbraisel.com)
Date: Wed Sep 29 2010 - 00:59:51 CDT


Hi there,

after playing around with the great smtpd(8) i experienced the "virtual"
problem, mentioned here:
http://marc.info/?l=openbsd-misc&w=2&r=1&s=smtpd+makemap+&q=b , i tried a
fresh checkout on smtpd:

# cd /usr
# cvs -qd anoncvsanoncvs.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?

Andri