Additional information about build issue of gprolog-1.3.0

Jochen Schmitt <[email protected]>
Newsgroups gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

on

http://lists.gnu.org/archive/html/bug-prolog/2008-02/msg00002.html

I have reported a issue on building gprolog-1.3.0 on the x86_64
architecure.

After study a ebuild of the gentoo project, I have find out, that the
build works fine, if I specified the
- -funsigned-char compiler option.

Additionaly, I will send you to patches from the gentoo project, which
I have included into my
gprolog package.

Best Regards:

Jochen Schmitt

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkhWjG8ACgkQT2AHK6txfgx+pgCg3cVw9Adiqbd8G0cS+3xNSm9s
rBEAoNX6PVQKP+7lQRfWQH+lYTzuysn9
=yUEE
-----END PGP SIGNATURE-----

_______________________________________________
Bug-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-prolog
gprolog-1.3.0-linedit.patch (text/x-patch, 417 B)
--- gprolog-1.3.0.orig/src/Linedit/Makefile.in	2007-01-04 23:21:50.000000000 +1300
+++ gprolog-1.3.0/src/Linedit/Makefile.in	2007-03-04 08:33:37.000000000 +1300
@@ -11,9 +11,14 @@
 .SUFFIXES:
 .SUFFIXES: @OBJ_SUFFIX@ .c $(SUFFIXES)
 
+all: $(LIBNAME)
+
 .c@OBJ_SUFFIX@:
 	$(CC) -c $(CFLAGS) $*.c
 
+linedit.o: linedit.c
+	$(CC) -c $^
+
 $(LIBNAME): $(OBJLIB)
 	rm -f $(LIBNAME)
 	$(AR_RC)@AR_SEP@$(LIBNAME) $(OBJLIB)
gprolog-1.3.0-test.patch (text/x-patch, 494 B)
diff -up gprolog-1.3.0/src/Ma2Asm/chkma.c.tst gprolog-1.3.0/src/Ma2Asm/chkma.c
--- gprolog-1.3.0/src/Ma2Asm/chkma.c.tst	2008-06-15 21:40:34.000000000 +0200
+++ gprolog-1.3.0/src/Ma2Asm/chkma.c	2008-06-15 21:42:38.000000000 +0200
@@ -227,7 +227,7 @@ main(int argc, char *argv[])
   printf("check running without FC (NO fast call)\n");
 #endif
 
-#elif !defined(FC_USED_TO_COMPILE_CORE)
+#elif !defined(FC_USED_TO_COMPILE_CORE) && defined(FAST)
 
 #error FAST defined but cannot compile for FC
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.