Gregory, Paul (PS, GNF, Contractor)
2002-Apr-10 12:54 UTC
[Samba] 2.2.3a will not compile on Compaq Tru64 UNIX v5.1A
Has anyone gotten this to work. make gives: 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. Paul Gregory Unix and Oracle Database Administrator ASIS at GE Nuclear Energy 910-675-5490 paul.gregory@gnf.com -------------- next part -------------- HTML attachment scrubbed and removed
Greg Freemyer
2002-Apr-11 07:28 UTC
[Samba] 2.2.3a will not compile on Compaq Tru64 UNIX v5.1A
I think it has been fixed in CVS, or you can do the small patch described at=20 http://www.ornl.gov/its/archives/mailing-lists/tru64-unix-managers/2002/02/msg00385.html yourself.=20 >> Has anyone gotten this to work.=20 >> make gives:=20 >> Using FLAGS =3D -O -Iinclude -I./include -I./ubiqx -I./smbwrapper >> -DLOGFILEBASE=3D"/usr/local/samba/var" >> -DCONFIGFILE=3D"/usr/local/samba/lib/smb.conf" >> -DLMHOSTSFILE=3D"/usr/local/samba/lib/lmhosts"=20 >> -DSWATDIR=3D"/usr/local/samba/swat" -DSBINDIR=3D"/usr/local/samba/bin" >> -DLOCKDIR=3D"/usr/local/samba/var/locks" >> -DCODEPAGEDIR=3D"/usr/local/samba/lib/codepages" >> -DDRIVERFILE=3D"/usr/local/samba/lib/printers.def" >> -DBINDIR=3D"/usr/local/samba/bin" -DHAVE_INCLUDES_H >> -DPASSWD_PROGRAM=3D"/bin/passwd" >> -DSMB_PASSWD_FILE=3D"/usr/local/samba/private/smbpasswd" >> -DTDB_PASSWD_FILE=3D"/usr/local/samba/private/smbpasswd.tdb" >> Using FLAGS32 =3D -O -Iinclude -I./include -I./ubiqx -I./smbwrapper >> -DLOGFILEBASE=3D"/usr/local/samba/var" >> -DCONFIGFILE=3D"/usr/local/samba/lib/smb.conf" >> -DLMHOSTSFILE=3D"/usr/local/samba/lib/lmhosts"=20 >> -DSWATDIR=3D"/usr/local/samba/swat" -DSBINDIR=3D"/usr/local/samba/bin" >> -DLOCKDIR=3D"/usr/local/samba/var/locks" >> -DCODEPAGEDIR=3D"/usr/local/samba/lib/codepages" >> -DDRIVERFILE=3D"/usr/local/samba/lib/printers.def" >> -DBINDIR=3D"/usr/local/samba/bin" -DHAVE_INCLUDES_H >> -DPASSWD_PROGRAM=3D"/bin/passwd" >> -DSMB_PASSWD_FILE=3D"/usr/local/samba/private/smbpasswd" >> -DTDB_PASSWD_FILE=3D"/usr/local/samba/private/smbpasswd.tdb" >> Using LIBS =3D -lsecurity=20 >> Compiling libsmb/clierror.c=20 >> 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},=20 >> ---------^=20 >> 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},=20 >> ---------^=20 >> 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},=20 >> ---------^=20 >> 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},=20 >> ---------^=20 >> 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},=20 >> ---------^=20 >> 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},=20 >> ---------^=20 >> 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},=20 >> ---------^=20 >> 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},=20 >> ---------^=20 >> 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},=20 >> ---------^=20 >> 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},=20 >> ---------^=20 >> 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},=20 >> ---------^=20 >> 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}=20 >> ---------^=20 >> *** Exit 1=20 >> Stop.=20 >> Paul Gregory=20 >> Unix and Oracle Database Administrator=20 >> ASIS at GE Nuclear Energy=20 >> 910-675-5490=20 >> paul.gregory@gnf.com Greg Freemyer Internet Engineer Deployment and Integration Specialist The Norcross Group www.NorcrossGroup.com
Gregory, Paul (PS, GNF, Contractor)
2002-Apr-11 08:16 UTC
[Samba] 2.2.3a will not compile on Compaq Tru64 UNIX v5.1A
According to the web page, the fix is: ------------------------------------------ Thanks for the helpful responses. The solution (from Conrad Huang) is to run "configure" and then change: #define HAVE_IMMEDIATE_STRUCTURES 1 to /* #undef HAVE_IMMEDIATE_STRUCTURES */ in source/include/config.h ------------------------------------------ I've tested the fix. It seems to work. Thanks Paul Gregory Unix and Oracle Database Administrator ASIS at GE Nuclear Energy 910-675-5490 paul.gregory@gnf.com -------------- next part -------------- HTML attachment scrubbed and removed