Why am I seeing these build failures in master?

Stefan (metze) Metzmacher metze at samba.org
Wed Aug 1 00:00:11 MDT 2012


Hi Richard,

> This is what I see. Should I be using waf these days?
> 
> Compiling smbd/smbXsrv_session.c
> smbd/smbXsrv_session.c: In function ‘smbXsrv_session_table_init’:
> smbd/smbXsrv_session.c:211:11: error: ‘MSG_SMBXSRV_SESSION_CLOSE’
> undeclared (first use in this function)
> smbd/smbXsrv_session.c:211:11: note: each undeclared identifier is
> reported only once for each function it appears in
> smbd/smbXsrv_session.c: In function ‘smb2srv_session_close_previous_check’:
> smbd/smbXsrv_session.c:1020:5: error: ‘MSG_SMBXSRV_SESSION_CLOSE’
> undeclared (first use in this function)

Because you might have an old
source3/librpc/gen_ndr/messaging.h
from an old autoconf build.

In new autoconf builds create generated files in an autoconf subdirectory,
to hide them from waf.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120801/db4a369f/attachment.pgp>


More information about the samba-technical mailing list