Hi there. Has anyone experienced problems when compiling Samba? I always get stuck with an "internal compiler error" at the file smbpass.o. The system is Slackware 3.4.0 (still the current release), with kernel 2.0.33 and GCC 2.7.2.3, I checked it with Samba 1.9.18p8 and 1.9.18p7. How to get the error: Install Slackware 3.4.0 Extract samba-1.9.18p8.tar.gz edit samba-1.9.18p8/source/Makefile (uncomment lines for Linux w/ Shadow support - line numbers 209-210) run make you get: 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" -DWEB_ROOT="/usr/local/samba" -DLOCKDIR="/usr/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DWORKGROUP="WORKGROUP" -DGUEST_ACCOUNT="nobody" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DLINUX -DSHADOW_PWD -DFAST_SHARE_MODES -DSMB_PASSWD="/usr/local/samba/bin/smbpasswd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" Using LIBS = -lshadow Compiling smbpass.c cc: Internal compiler error: program cc1 got fatal signal 6 make: *** [smbpass.o] Error 1 I doubt it's the hardware since the same happens on twototally different machines (but both running Slackware 3.4.0) Any ideas? Hiran
On Thu, 25 Jun 1998, Hiran Chaudhuri wrote:> Hi there. > > Has anyone experienced problems when compiling Samba? I always get stuck > with an "internal compiler error" at the file smbpass.o. > > The system is Slackware 3.4.0 (still the current release), with > kernel 2.0.33 and GCC 2.7.2.3, I checked it with Samba 1.9.18p8 and 1.9.18p7.[..etc..] Try upgrading your compiler to 2.7.3, but not to the latest 3.x versions as people have had problems with those too.