[Samba] Possible bug in Samba 2.2.3 on Tru Unix 5

Christophe Wolfhugel wolf at pasteur-kh.org
Wed Feb 6 05:05:05 GMT 2002


Hello.

I believe there might be a bug when trying to compile
samba on following Tru Unix :

	OSF1 clorinde.pasteur-kh.org V5.1 732 alpha
	
HAVE_IMMEDIATE_STRUCTURES is defined by the "configure" script, whereas it
happens that compilation will fail (using cc) :

Compiling libsmb/clierror.c
cc: Error: libsmb/clierror.c, line 185: In the initializer for nt_errno_map[0].status.v, "NTSTATUS" is a struct type, which is not scalar. (needscalartyp)
        {NT_STATUS_ACCESS_VIOLATION, EACCES},
---------^
cc: Error: libsmb/clierror.c, line 186: In the initializer for nt_errno_map[1].status.v, "NTSTATUS" is a struct type, which is not scalar. (needscalartyp)
        {NT_STATUS_NO_SUCH_FILE, ENOENT},
---------^
cc: Error: libsmb/clierror.c, line 187: In the initializer for nt_errno_map[2].status.v, "NTSTATUS" is a struct type, which is not scalar. (needscalartyp)

Having manually disabled HAVE_IMMEDIATE_STRUCTURES allowed Samba to
compile fine.

Hope it helps and thanks for the work.

-- 
Christophe Wolfhugel -+- wolf at pasteur-kh.org -+- Institut Pasteur du Cambodge




More information about the samba mailing list