Additional information about build issue of gprolog-1.3.0

View: New views
2 Messages — Rating Filter:   Alert me  

Additional information about build issue of gprolog-1.3.0

by Jochen Schmitt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----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-----


--- 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)

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
 

_______________________________________________
Bug-prolog mailing list
Bug-prolog@...
http://lists.gnu.org/mailman/listinfo/bug-prolog

Re: Additional information about build issue of gprolog-1.3.0

by Daniel Diaz-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you Jochen

btw -funsigned-char is required for every architecture with gcc.
I should be added by configure...



Jochen Schmitt wrote :

> -----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
> Bug-prolog@...
> http://lists.gnu.org/mailman/listinfo/bug-prolog


--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.



_______________________________________________
Bug-prolog mailing list
Bug-prolog@...
http://lists.gnu.org/mailman/listinfo/bug-prolog
LightInTheBox - Buy quality products at wholesale price!