Re: can't compile GNU Prolog 1.4.1 with gcc 4.4.2?

Tigran Aivazian <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <CAK+_RLmzEuU7sqZccUSMhOvXORH2VL8NF5690W6boOg-LEzgGw@mail.gmail.com>
Thank you. My original reason for compiling it was to try to cross-compile
it for ARM architecture to add it to the growing list of Kindle
applications. However, after some examination of your code I saw that it
has a lot of clever low-level (i.e. architecture-specific) stuff which it
is highly unlikely that I would be able to port to Kindle/ARM easily (i.e.
without delving deep into it as a serious project).


On Tue, Sep 25, 2012 at 12:54 PM, Daniel Diaz <[email protected]>wrote:

>  Hi,
>
> the bug is also fixed in 1.4.2 (soon released).
>
> Daniel
>
> Le 27/08/2012 18:01, Tigran Aivazian a écrit :
>
> Hello,
>
> I tried compiling the latest sources of GNU Prolog (1.4.1) on my Fedora
> Core 12 Linux machine (32bit) with gcc 4.4.2 and it failed because of
> "static static":
>
> gplc -c -C '-O3 -fomit-frame-pointer' stacks_sigsegv.c
> stacks_sigsegv.c:409: error: duplicate ‘static’
> stacks_sigsegv.c:410: warning: ‘struct sigcontext’ declared inside
> parameter list
> stacks_sigsegv.c:410: warning: its scope is only this definition or
> declaration, which is probably not what you want
> stacks_sigsegv.c:410: error: parameter 2 (‘scp’) has incomplete type
> compilation failed
> make[1]: *** [stacks_sigsegv.o] Error 1
> make[1]: Leaving directory `/usr/local/src/gprolog-1.4.1/src/EnginePl'
> make: *** [all] Error 1
>
> Any ideas?
>
> Kind regards,
> Tigran
>
> --
> Ce message a été vérifié par MailScanner <http://www.mailscanner.info/>pour des virus ou des polluriels et rien de suspect n'a été trouvé.
>
> _______________________________________________
> Users-prolog mailing [email protected]://lists.gnu.org/mailman/listinfo/users-prolog
>
>
>
> --
> Ce message a été vérifié par MailScanner <http://www.mailscanner.info/>pour des virus ou des polluriels et rien de suspect n'a été trouvé.
>

_______________________________________________
Users-prolog mailing list
[email protected]
https://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.