I have downloaded and installed  gprolog-1.3.0 from http://www.gprolog.org/

I encounter a problem when running "make check". The error is as follows:

chkma.c:232:2: error: #error FAST defined but cannot compile for FC

Full output from "make check" is at end of this e-mail.

I can't figure out from the source code and Makefile(s) what exactly the 
problem is.

Can anyone suggest what has happened.

By the way the machine is a quad core Dell PC (x86_64) architecture and running 
RedHat
Enterprise Linux. The gcc compiler version is

                   4.1.2 20071124 (Red Hat 4.1.2-42)

Thanks,

Charles.

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

bash-3.2$ make check
(cd EnginePl; make check) && \
        (cd Ma2Asm; make check) && \
        (cd Pl2Wam; make check) && \
        (cd BipsPl; make check) && \
        echo All tests succeeded
make[1]: Entering directory 
`/users/tcp0031/GNUProlog/gprolog-1.3.0/src/EnginePl'
./test_oc
starting...
object <object #5> found  &name:0x607300
object <object #4> found  &name:0x6072e0
object <object #3> found  &name:0x6072c0
object <object #2> found  &name:0x6072a0
object <object #1> found  &name:0x607280
finished - OK !
make[1]: Leaving directory `/users/tcp0031/GNUProlog/gprolog-1.3.0/src/EnginePl'
make[1]: Entering directory `/users/tcp0031/GNUProlog/gprolog-1.3.0/src/Ma2Asm'
if [ "$FC" = "Y" ]; then FCFLAGS='-DFAST'; fi; \
        gplc --c-compiler "gcc " -C "-O3 -fomit-frame-pointer $FCFLAGS" -c 
chkma.c
chkma.c:232:2: error: #error FAST defined but cannot compile for FC
compilation failed
make[1]: *** [chkma.o] Error 1
make[1]: Leaving directory `/users/tcp0031/GNUProlog/gprolog-1.3.0/src/Ma2Asm'
make: *** [check] Error 2

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

Reply via email to