v2.2.3 and Tru64 v5.1A

Robert Carsey rcarsey at monmouth.edu
Mon Feb 4 09:56:13 GMT 2002


I'm having problems configuring/compiling samba v2.2.3.  My Tru64 UNIX
machine is a brand new install, along with GCC v3.0.3
 
# file core; ls -la core
core:   core dump, generated from 'conftest'
-rw-------   1 root     106       565248 Feb  4 10:41 core
 
First, is _that_ anything to worry about?
 
Secondly (more importantly), I can't build:
 
smbd/dir.c:625:70: macro "stat" passed 3 arguments, but takes just 2
smbd/dir.c:684:13: macro "stat" passed 3 arguments, but takes just 2
smbd/password.c: In function `validate_group':
smbd/password.c:673: warning: passing arg 1 of `setnetgrent' discards
qualifiers
 from pointer target type
make: *** [smbd/dir.o] Error 1
 
Also tried using Tru64's native compiler (v6.4-009).  Same coredump,
different error:
 
cc: Error: libsmb/clierror.c, line 185: In the initializer for
nt_errno_map[0].s
tatus.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].s
tatus.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].s
tatus.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].s
tatus.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].s
tatus.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].s
tatus.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].s
tatus.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].s
tatus.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].s
tatus.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].s
tatus.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.
 
 
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba-technical mailing list