Hello Daniel,

Thanks for the quick reply.

The latest unstable version also failed to compile, however using the arguments 
to configure that you suggested, both versions build fine.

Many thanks,
Parker

Date: Sat, 23 Oct 2010 17:39:36 +0200
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: Trouble compiling under ubuntu 10.04



  


    
  
  
    Hello,

    

    could you try the last unstable version please ?

    

    http://gprolog.univ-paris1.fr/unstable/gprolog-20100713.tgz

    

    

    If the problem persists try to pass -fno-strict-aliasing to gcc as
    follows (after a make distclean):

    ./configure --with-c-flags='-O3 -fomit-frame-pointer -fno-strict-aliasing'


    Daniel

    

    

    Le 23/10/2010 11:04, Parker Jones a écrit :
    
      
      Hello, 

      

      Has anyone else had difficulty compiling gprolog 1.3.1 under
      Ubuntu 10.04 on i686?

      

      After ./configure and make, I get 

      

      gplc -o pl2wam --no-fd-lib --min-bips pl2wam.o read_file.o
      bip_list.o syn_sugar.o internal.o code_gen.o reg_alloc.o
      inst_codif.o first_arg.o indexing.o wam_emit.o

      make[1]: Leaving directory
      `/home/parker/Downloads/gprolog-1.3.1/src/Pl2Wam'

      make[1]: Entering directory
      `/home/parker/Downloads/gprolog-1.3.1/src/Fd2C'

      gplc -c --fast-math fd2c.pl

      fd2c.pl:215-220: fatal error: exception raised:
      error(instantiation_error,sort/2)

      compilation failed

      make[1]: *** [fd2c.o] Error 1

      make[1]: Leaving directory
      `/home/parker/Downloads/gprolog-1.3.1/src/Fd2C'

      make: *** [all] Error 1

      par...@asterix:~/Downloads/gprolog-1.3.1/src$

      

      I can supply the full log if it helps.

      

      Cheers,

      Parker

      

      -- 

      Ce message a été vérifié par
      MailScanner
      

      pour des virus ou des polluriels et rien de
      

      suspect n'a été trouvé.
      
_______________________________________________
Users-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/users-prolog

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

Reply via email to