Hi Shantanu,

please try the attached patch and see if it fixes your problem.

-- Felix Buenemann

Am 02.10.2008 8:24 Uhr, K. Shantanu schrieb:
> Hello,
> I am trying to build spamdyke-4.0.4 on FreeBSD 6.2 with gcc 3.4.6. 
> ./configure works fine but "make" fails.
> 
> # make
> gcc -Wall -O2 -funsigned-char  -c configuration.c
> configuration.c: In function `prepare_settings':
> configuration.c:578: internal compiler error: Segmentation fault: 11
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> *** Error code 1
> 
> Stop in /usr/local/spamdyke-4.0.4/spamdyke.
> 
> 
> I am not sure if it is a spamdyke error or error in my gcc.
> Please suggest.
> Thanks,
> 
> Shantanu

--- spamdyke/Makefile.in        Tue May 13 18:36:25 2008
+++ spamdyke/Makefile.in        Thu Oct 16 02:58:12 2008
@@ -35,7 +35,9 @@
 spamdyke.o: spamdyke.c spamdyke.h Makefile config.h
        $(CC) $(CFLAGS) $(DEFS) -c spamdyke.c
 configuration.o: configuration.c configuration.h Makefile spamdyke.h config.h
-       $(CC) $(CFLAGS) $(DEFS) -c configuration.c
+       $(CC) $(CFLAGS) $(DEFS) -E -c configuration.c >configuration.pre.c
+       $(CC) $(CFLAGS) $(DEFS) -c configuration.pre.c -o configuration.o
+       rm configuration.pre.c
 dns.o: dns.c dns.h Makefile spamdyke.h config.h
        $(CC) $(CFLAGS) $(DEFS) -c dns.c
 environment.o: environment.c environment.h Makefile spamdyke.h config.h
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to