|
From: | Daniel Diaz |
Subject: | Re: can't compile GNU Prolog 1.4.1 with gcc 4.4.2? |
Date: | Wed, 29 Aug 2012 09:51:08 +0200 |
Hi, I'm currently not at my office and I won't be able to dig into this before a while. However, from what I can see, it seems the struct sigcontext is used (and it is not defined). I don't know fedora but I expect the more standard function sigaction is supported (so sigcontext should not be used). To confirm this, please check the output of ./configure looking for the line: checking for a working sigaction... yes / no If you obtain 'no' this explains why sigcontext is used and then you can try to force sigaction adding the following lines to EnginePl/stacks_sigsegv.c just BEFORE the #include "engine_pl.h" #include "gp_config.h" #define HAVE_WORKING_SIGACTION Then try a: make clean make If it is not better, we can try to force sigcontext to work well. Remove the (above) added lines. From memory you can try to #include <asm/sigcontext.h> just AFTER #include "engine_pl.h". then make clean make Thank you for keeping me informed Daniel Le 27 août 2012 à 18:01, Tigran Aivazian a écrit : Hello, -- Ce message a été vérifié par MailScanner pour des virus ou des polluriels et rien de suspect n'a été trouvé. |
[Prev in Thread] | Current Thread | [Next in Thread] |