DEC Alpha OSF 4.0d and gcc 2.8.1

Tim Winders twinders at SPC.cc.tx.us
Tue Nov 17 16:04:07 GMT 1998


Michael -

Try using cc instead of gcc.  I am running 4.0D and have no problems
getting the current cvs code (as of 9am this morning) to compile with cc.

=== Tim

---------------------------------------------------------------------
|  Tim Winders, CNE, MCSE     |  Email:  Tim.Winders at SPC.cc.tx.us   |
|  Network Administrator      |  Phone:  806-894-9611 x 2369        |
|  South Plains College       |  Fax:    806-897-4711               |
|  Levelland, TX  79336       |                                     |
---------------------------------------------------------------------


On Wed, 18 Nov 1998, Michael S. Hulet wrote:

> I did a fresh cvs checkout of Samba 2.0 Beta1 but I am unable to compile
> the code on a DEC Alpha OSF 4.0d.  We are using gcc 2.8.1 and receive the
> following errors after configure and make:
> 
> Using FLAGS = -g -O2 -Iinclude -I./include -I./ubiqx -I./smbwrapper
> -DSMBLOGFILE="/usr/system/samba/var/log.smb"
> -DNMBLOGFILE="/usr/system/samba/var/log.nmb"
> -DCONFIGFILE="/usr/system/samba/lib/smb.conf"
> -DLMHOSTSFILE="/usr/system/samba/lib/lmhosts"
> -DSWATDIR="/usr/system/samba/swat" -DSBINDIR="/usr/system/samba/bin"
> -DLOCKDIR="/usr/system/samba/var/locks"
> -DSMBRUN="/usr/system/samba/bin/smbrun"
> -DCODEPAGEDIR="/usr/system/samba/lib/codepages"
> -DDRIVERFILE="/usr/system/samba/lib/printers.def"
> -DBINDIR="/usr/system/samba/bin" -DHAVE_INCLUDES_H
> -DPASSWD_PROGRAM="/bin/passwd"
> -DSMB_PASSWD_FILE="/usr/system/samba/private/smbpasswd"
> -DSMB_PASSWD_PROGRAM="/usr/system/samba/bin/smbpasswd"
> Using LIBS = 
> Compiling smbd/server.c
> In file included from include/includes.h:224,
>                  from smbd/server.c:22:
> /usr/include/sys/mount.h:491: warning: no semicolon at end of struct or
> union
> /usr/include/sys/mount.h:491: parse error before `.'
> /usr/include/sys/mount.h:500: parse error before `.'
> /usr/include/sys/mount.h:512: parse error before `}'
> make: *** [smbd/server.o] Error 1
> 
> Any assistance would be appreciated.  
> 
> 
> 



More information about the samba-ntdom mailing list