Rick van Ek
2002-Feb-11 12:57 UTC
[Samba] Compilation error version 2.2.3a on Alpha True 64
Skipped content of type multipart/related-------------- next part -------------- A non-text attachment was scrubbed... Name: Rick Van Ek (E-mail).vcf Type: text/x-vcard Size: 512 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20020211/9bd56df3/RickVanEkE-mail.vcf
Gerald Carter
2002-Feb-13 05:42 UTC
[Samba] Compilation error version 2.2.3a on Alpha True 64
On Mon, 11 Feb 2002, Rick van Ek wrote:> I'm getting the following error while compiling Samba 2.2.3a: > cc: Error: libsmb/clierror.c, line 189: In the initializer for > nt_errno_map[4].status.v, "NTSTATUS" is a struct type, which is not scalar. > (needscalartyp) > {NT_STATUS_NO_MEMORY, ENOMEM}, > ---------^ > cc: Error: libsmb/clierror.c, line 190: In the initializer for > nt_errno_map[5].status.v, "NTSTATUS" is a struct type, which is not scalar. > (needscalartyp) > {NT_STATUS_ACCESS_DENIED, EACCES}, > ---------^ > etc. infact I'll get this messages for all mappings of messages of this > struct. How can this be solved ??It's a bug. It's a trick that Tridge used for developers to make sure that BOOLs and NT_STATUS codes didn't get confused when passing the return value up the control stack. Works fine with gcc. I don't have my Alpha box up and running right now so I can't look into it. abartlet was going to look at it IIRC. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--