Hello dear GNU Prolog developers,

I Built GNU Prolog 1.3.1 on my iMac G5 (ppc) running Mac OS X 10.4.11 with the usual "./configure" and "make" which did not give any errors or warnings.
Running "make test" however gave the following error:

error: objects are initialised from 1st to last (should be from last to 1st)
  define constant OBJ_CHAIN_REVERSE_ORDER in obj_chain.h

Following the suggestion I changed the last lines of "src/EnginePl/ obj_chain.h" from

  #if defined(_MSC_VER) || defined(M_ix86_darwin)
  #define OBJ_CHAIN_REVERSE_ORDER
  #endif

to

  #if defined(_MSC_VER) || defined(M_darwin)
  #define OBJ_CHAIN_REVERSE_ORDER
  #endif

and all tests succeeded.


        -------------------------------
        --- GNU PROLOG INSTALLATION ---
        -------------------------------

GNU Prolog version: 1.3.1 (Feb 10 2009)
Operating system  : darwin8.11.0
Processor         : powerpc
Size of a word    : 32 bits
C compiler        : gcc
C flags           : -O3 -fomit-frame-pointer
C flags machine   : -mpowerpc -no-cpp-precomp
Loader flags      :
Loader libraries  : -lm
Use line editor   : Yes
Use piped consult : Yes
Use sockets       : Yes
Use FD solver     : Yes
Use machine regs. : Yes
Working sigaction : Yes
Used register(s)  : 15 (pl_reg_bank)  20 (TR)

        ------------------------------

Greetings,
mart oskamp



_______________________________________________
Bug-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-prolog

Reply via email to