Re: Trouble compiling under ubuntu 10.04

Daniel Diaz <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
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

parker@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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.