PArdon the "newbie" nature of this question, but I *am* a samba newbie
I'm trying to compile samba-1.9.18p6 on a DEC Alpha running OSF/1 V3.0 (I
know it's old, but I'm stuck with it).
I've modified the Makefile as follows...
># Add any optimisation or debugging flags here
># add -DSYSLOG for syslog support
>FLAGS1 = -O -std1 -w
>LIBS1
and
># This is for OSF1 (Alpha)
># contributed by errath@balu.kfunigraz.ac.at
># NOTE: You may need -warning_unresolved if you get unresolved symbols
>
>FLAGSM = -DOSF1 -DFAST_SHARE_MODES
>LIBSM
Everything seems to compile fine until it gets to slprintf when the
following occurs...
>% make
>Using CFLAGS = -O -std1 -w
-DSMBLOGFILE="/usr/local/samba/var/log.smb"
-DNMBLOGF>ILE="/usr/local/samba/var/log.nmb"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf">-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DWEB_ROOT="/usr/local/samba"
-DLOC>KDIR="/usr/local/samba/var/locks"
-DSMBRUN="/usr/local/samba/bin/smbrun"
-DCODEP>AGEDIR="/usr/local/samba/lib/codepages"
-DWORKGROUP="WORKGROUP"
-DGUEST_ACCOUNT>"nobody"
-DDRIVERFILE="/usr/local/samba/lib/printers.def" -DOSF1
-DFAST_SHARE_MO>DES -DSMB_PASSWD="/usr/local/samba/bin/smbpasswd"
-DSMB_PASSWD_FILE="/us>r/local/samba/private/smbpasswd"
>Using LIBS >Compiling slprintf.c
>/usr/lib/cmplrs/cc/cfe: Error: slprintf.c, line 48: Type for rhs of
assignment e>xpression is incompatible with lhs (3.3.16.1)
> buf = memalign(pagesize, len);
> ----^
>*** Exit 1
>Stop.
Anyone who knows C and samba better than I do have any ideas?
TIA,
Bruce
Bruce Bowler, Research Associate 207.633.9600 (voice)
Bigelow Laboratory for Ocean Sciences 207.633.9641 (fax)
PO Box 475 BBowler@bigelow.org (email)
West Boothbay Harbor ME 04575 http://www.bigelow.org/