I can no longer compile Samba on DGUX 5.4.3R10 with version 1.9.17p5. I
get the following errors during the compile:
Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb"
-DNMBLOGFILE="/usr/local/samba/var/log.nmb"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DLOCKDIR="/usr/local/samba/var/locks"
-DSMBRUN="/usr/local/samba/bin/smbrun"
-DWORKGROUP="WORKGROUP"
-DGUEST_ACCOUNT="ftp " -DDGUX -DNETGROUP -DUFC_CRYPT
-DFAST_SHARE_MODES -I/usr/local/libdes -DREPLACE_GETPASS
-DUSE_LIBDES -DSMB_PASSWD="/usr/local/samba/bin/smbpasswd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
Using LIBS = -lcurses -lm -lc -lPW -lnsl -L/usr/local/libdes -ldes
Compiling loadparm.c
loadparm.c: In function `init_globals':
loadparm.c:594: parse error before `NULL'
loadparm.c:600: stray '\' in program
loadparm.c:605: stray '\' in program
loadparm.c:605: stray '\' in program
loadparm.c:605: stray '\' in program
loadparm.c:616: malformed floating constant
loadparm.c:617: malformed floating constant
loadparm.c:617: nondigits in number and not hexadecimal
loadparm.c:725: `rm' undeclared (first use this function)
loadparm.c:725: (Each undeclared identifier is reported only once
loadparm.c:725: for each function it appears in.)
loadparm.c:733: parse error before string constant
loadparm.c:787: stray '\' in program
loadparm.c:787: stray '\' in program
loadparm.c:1082: stray '\' in program
loadparm.c:1121: stray '\' in program
loadparm.c:1154: stray '\' in program
loadparm.c:1206: stray '\' in program
loadparm.c:1206: stray '\' in program
loadparm.c:1206: stray '\' in program
loadparm.c:1232: stray '\' in program
loadparm.c:1232: stray '\' in program
loadparm.c:1232: stray '\' in program
loadparm.c:1331: stray '\' in program
loadparm.c:1332: stray '\' in program
loadparm.c:1341: stray '\' in program
loadparm.c:1349: stray '\' in program
loadparm.c:1355: stray '\' in program
loadparm.c:1407: stray '\' in program
loadparm.c:1417: stray '\' in program
loadparm.c:1423: stray '\' in program
loadparm.c:1574: character constant too long
loadparm.c:1574: stray '\' in program
loadparm.c:1587: stray '\' in program
loadparm.c:1879: character constant too long
loadparm.c:2061: character constant too long
loadparm.c:2061: stray '\' in program
loadparm.c:2084: character constant too long
loadparm.c:2084: stray '\' in program
Fatal error in /usr/lib/gcc/cc1
Child exit status 041
*** Error code 1
I did a diff and noticed some differences in the 1.9.17p2 version
136d135
< char *szRemoteBrowseSync;
266d264
< BOOL bDosFiletimes;
347,348c345
< False, /* bDosFiletimes */
< "", /* dummy */
---> "" /* dummy */
371c368
< static BOOL handle_character_set(char *pszParmValue,char **ptr);
---> static BOOL handle_character_set(char *pszParmValue,int *val);
442d438
< {"remote browse sync", P_STRING, P_GLOBAL,
&Globals.szRemoteBrowseSync, NULL},
567d562
< {"dos filetimes", P_BOOL, P_LOCAL,
&sDefault.bDosFiletimes, NULL},
787,788d781
< trim_string(ret, "\"", "\"");
<
840d832
< FN_GLOBAL_STRING(lp_remote_browse_sync,&Globals.szRemoteBrowseSync)
954d945
< FN_LOCAL_BOOL(lp_dos_filetimes,bDosFiletimes)
1422,1425c1413,1416
< if (f->modtime != mod_time) {
< DEBUG(6,("file %s modified: %s\n", n2,
ctime(&mod_time)));
< f->modtime = mod_time;
< return(True);
---> if (f->modtime != mod_time)
> {
> DEBUG(6,("file %s modified: %s\n", n2,
ctime(&mod_time)));
> return(True);
1446c1437
< static BOOL handle_character_set(char *pszParmValue,char **ptr)
---> static BOOL handle_character_set(char *pszParmValue,int *val)
1448,1449c1439,1440
< string_set(ptr,pszParmValue);
< interpret_character_set(pszParmValue);
---> string_set(&Globals.szCharacterSet,pszParmValue);
> *val = interpret_character_set(pszParmValue,*val);
Can you please offer some guidance as to how to fix this problem so that
I can compile the latest version of Samba on DGUX. Thanks very much.
-------------- next part --------------
An embedded message was scrubbed...
From: scmartin <scmartin@usgs.gov>
Subject: DGUX can no longer compile Samba 1.9.17p5
Date: Mon, 29 Dec 1997 12:02:39 -0700
Size: 4407
Url:
http://lists.samba.org/archive/samba/attachments/19971229/12f8f4c9/attachment.eml