users-prolog
[Top][All Lists]
Advanced

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

Compiling gprolog 1.2.16 under MacOSX


From: Alberto Simões
Subject: Compiling gprolog 1.2.16 under MacOSX
Date: Tue, 21 Feb 2006 15:40:42 +0000

Hi

I am trying to compile 1.2.16 under MacOSX (10.4.4, I think) and with gcc 4 (yeah, I know it complains a lot, but I am trying to cope with it). When compiling, I get:

In file included from /Users/ambs/tmp/gprolog- 1.2.16/src/EnginePl/engine_pl.h:40,
                 from error_supp.c:34:
/Users/ambs/tmp/gprolog-1.2.16/src/EnginePl/obj_chain.h:84: error: static declaration of 'obj_chain_stop' follows non-static declaration
/Users/ambs/tmp/gprolog-1.2.16/src/EnginePl/obj_chain.h:79: error: previous declaration of 'obj_chain_stop' was here
compilation failed
make[1]: *** [error_supp.o] Error 1
make: *** [all] Error 1

I tried to correct it (it is simple) but then I get another, and another, and another. Is there any other version of gprolog without these errors, is there any trick I can use, or should I really try using gcc 3.x instead?

Thanks
Alberto

--
Alberto Simões

reply via email to

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