[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can't compile GNU Prolog 1.4.1 with gcc 4.4.2?

From: Tigran Aivazian
Subject: can't compile GNU Prolog 1.4.1 with gcc 4.4.2?
Date: Mon, 27 Aug 2012 17:01:51 +0100


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,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]