Hi All, I just downloaded the lastest Samba, went to compile it and it came up with an error. My Linux Kernel is 2.0.33 and I am running shadow passwords. The reason I went for the lastest Samba is that is have WinNT/95 Encrypted password support built it (you don't have to enable it as an extra option like you do with the previous releases) I setup my Makefile as required and then ran make: Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/usr /local/samba/var/log.nmb" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTS FILE="/usr/local/samba/lib/lmhosts" -DWEB_ROOT="/usr/local/samba" -DLOCKDIR="/us r/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/ usr/local/samba/lib/codepages" -DWORKGROUP="AWCS" -DGUEST_ACCOUNT="guest" -DDRIV ERFILE="/usr/local/samba/lib/printers.def" -DLINUX -DSHADOW_PWD -DFAST_SHARE_MOD ES -DSMB_PASSWD="/usr/local/samba/bin/smbpasswd" -DSMB_PASSWD_FILE="/usr/l ocal/samba/private/smbpasswd" Using LIBS = -lshadow Compiling util.c etc etc, all compiled fine up to: Compiling ufc.c Compiling smbpass.c cc: Internal compiler error: program cc1 got fatal signal 6 make: *** [smbpass.o] Error 1 does anyon have any idea what is causing this error? I think it may have something to do with the fact that I have Shadow passwords. Any help would be appreciated. Thanks, Ed. -=- -=- -=- -=- -=- -=- -=- -=- Edward Wilson wilson@tip.net.au (home) edward.wilson@edime.com (work) ICQ: 3025803 http://www.tip.net.au/~wilson -=- -=- -=- -=- -=- -=- -=- -=-
On Sat, 14 Feb 1998 16:49:04 +1100, you wrote:>Hi All, > >I just downloaded the lastest Samba, went to compile it and it came up with >an error. > >My Linux Kernel is 2.0.33 and I am running shadow passwords. The reason I >went for the lastest Samba is that is have WinNT/95 Encrypted password >support built it (you don't have to enable it as an extra option like you >do with the previous releases)[snip]>Compiling util.c > >etc etc, all compiled fine up to: > >Compiling ufc.c >Compiling smbpass.c >cc: Internal compiler error: program cc1 got fatal signal 6 >make: *** [smbpass.o] Error 1 > >does anyon have any idea what is causing this error? I think it may have >something to do with the fact that I have Shadow passwords. > >Any help would be appreciated. > >Thanks, > >Ed.This appears to be a problem with compiling Samba under Slacware 3.4 (and possibly other systems) and can be solved by removing the -O from FLAGS1 in the Makefile. A more permanent fix has been suggested to the Samba Team and is being looked into at the moment. Simon Hyde ----------------------------------------------------------- With a PC, I always felt limited by the software available. On Unix, I am limited only by my knowledge.
Hello Ed, I had similar problems on my first trys to get (some now ancient versions) running. The reason is, that lshadow support has been moved to the libc, and therefor it is not nessesary to add -lshadow. A small exerpt from my Makefile: # Use this for Linux with shadow passwords - but not using PAM! # contributed by Andrew.Tridgell@anu.edu.au # add -DLINUX_BIGCRYPT is you have shadow passwords but don't have the # right libraries and includes FLAGSM = -DLINUX -DSHADOW_PWD -DFAST_SHARE_MODES LIBSM = That works in my case. I do not know wether that is correct for Linux in general, or if only my SuSE distribution acts like that. hope it helps J?rgen -- ========================================== __ _ J?rgen Braukmann e-mail: brauki@cww.de | / / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | / /__/ / _ \/ // /\ \/ / ========================================== /____/_/_//_/\_,_/ /_/\_\