Problem compiling 1.9.18p1 on Linux 2.0.33 with GCC

Ken Seitz ken at
Thu Jan 15 01:20:12 GMT 1998

	Brian Murphy said:
			I have the above system, in the Makefile I have
set these options :

		LIBSM = -lshadow

		When it compiles smbpass.c I get this

		Using CFLAGS = -O


		Using LIBS =  -lshadow
		Compiling smbpass.c
		cc: Internal compiler error: program cc1 got fatal
signal 6
		make: *** [smbpass.o] Error 1

		Samba 1.9.17 worked ok (all versions), but since I
compiled it I have 
		upgraded the gcc to and everything else compiles
ok, kernel, 
		eggdrop, qmail etc etc

I had this same problem myself, and Luke was kind enough to offer some
advice.  Change " FLAGS1 = -O " to " FLAGS1 = -g " in your Makefile, and
it should work.  For some reason, the optimization of the code in
smbpass.c causes gcc to core dump.  After doing so, Samba should compile

Thanks again to Luke for the suggestion.

Ken Seitz
   - DRA Network Associate
   - ken at

More information about the samba mailing list