users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error compiling prolog


From: Daniel Diaz
Subject: Re: error compiling prolog
Date: Wed, 04 Feb 2004 13:00:55 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113

Hi,

Your bug report is not enough precise: you should mention at least the architecture (using uname -a) and the Prolog file used as example. But I suspect a problem with the asm generated vs the as program used. Some days ago, Rémy Haemmerle (address@hidden)) reported to me a problem on sparc/solaris 9 due to a bad start comment character. This can be fixed changing in src/Ma2Asm/sparc_any.c
         char *comment_prefix = "#";
   by
         char *comment_prefix = "!";

You can modify this by hand or get snapshot of sources at:
ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/unstable/gprolog-20040129.tgz
Then redo the ./configure, make, make install.

BTW, Alex, can you try this modification on your sparc/solaris system and inform me if (I hope !) it works.

See you

micheon eubanks wrote:

I am receiving the following error when running make from gprolot-1.2.16 on sparc/solaris machive v5.8:

gplc -c utils.wam
as: "/var/tmp/gplcmhqMvc.s", line 1055: error: statement syntax
as: "/var/tmp/gplcmhqMvc.s", line 1075: error: missing '('
as: "/var/tmp/gplcmhqMvc.s", line 1075: error: statement syntax
as: "/var/tmp/gplcmhqMvc.s", line 1095: error: statement syntax
as: "/var/tmp/gplcmhqMvc.s", line 1095: error: statement syntax
as: "/var/tmp/gplcmhqMvc.s", line 1105: error: statement syntax
as: "/var/tmp/gplcmhqMvc.s", line 1105: error: statement syntax
compilation failed
*** Error code 1
make: Fatal error: Command failed for target `utils.o'


Can someone help me with this?

sheon






reply via email to

[Prev in Thread] Current Thread [Next in Thread]