[Samba] Problem compiling clierror.c

Eiler, James A. James.Eiler at alcoa.com
Wed Mar 20 10:48:10 GMT 2002


Hello,

I've just downloaded the latest samba (samba-2.2.3a) onto an Alpha DS10
running Tru64 UNIX v 5.1 (Patch Kit 4).  The "configure" went without a
hitch, but the "make" produced the attached errors.

Any suggestions?

Thanks!!

Jim

# make
Using FLAGS =  -O  -Iinclude -I./include -I./ubiqx -I./smbwrapper
-DLOGFILEBASE="/usr/local/samba/var"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/locks"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin"  -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using FLAGS32 =  -O  -Iinclude -I./include -I./ubiqx -I./smbwrapper
-DLOGFILEBASE="/usr/local/samba/var"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/locks"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin"  -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using LIBS = -lsecurity 
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)
        {NT_STATUS_NO_SUCH_DEVICE, ENODEV},
---------^
cc: Error: libsmb/clierror.c, line 188: In the initializer for
nt_errno_map[3].status.v, "NTSTATUS" is a struct type, which is not scalar.
(needscalartyp)
        {NT_STATUS_INVALID_HANDLE, EBADF},
---------^
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},
---------^
cc: Error: libsmb/clierror.c, line 191: In the initializer for
nt_errno_map[6].status.v, "NTSTATUS" is a struct type, which is not scalar.
(needscalartyp)
        {NT_STATUS_OBJECT_NAME_NOT_FOUND, ENOENT},
---------^
cc: Error: libsmb/clierror.c, line 192: In the initializer for
nt_errno_map[7].status.v, "NTSTATUS" is a struct type, which is not scalar.
(needscalartyp)
        {NT_STATUS_SHARING_VIOLATION, EBUSY},
---------^
cc: Error: libsmb/clierror.c, line 193: In the initializer for
nt_errno_map[8].status.v, "NTSTATUS" is a struct type, which is not scalar.
(needscalartyp)
        {NT_STATUS_OBJECT_PATH_INVALID, ENOTDIR},
---------^
cc: Error: libsmb/clierror.c, line 194: In the initializer for
nt_errno_map[9].status.v, "NTSTATUS" is a struct type, which is not scalar.
(needscalartyp)
        {NT_STATUS_OBJECT_NAME_COLLISION, EEXIST},
---------^
cc: Error: libsmb/clierror.c, line 195: In the initializer for
nt_errno_map[10].status.v, "NTSTATUS" is a struct type, which is not scalar.
(needscalartyp)
        {NT_STATUS_PATH_NOT_COVERED, ENOENT},
---------^
cc: Error: libsmb/clierror.c, line 196: In the initializer for
nt_errno_map[11].status.v, "NTSTATUS" is a struct type, which is not scalar.
(needscalartyp)
        {NT_STATUS(0), 0}
---------^
*** Exit 1
Stop.




More information about the samba mailing list