[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: clex 3.18 failing on PPC
- From: David Woodhouse <dwmw2 infradead org>
- To: Development discussions related to Fedora <fedora-devel-list redhat com>
- Subject: Re: clex 3.18 failing on PPC
- Date: Wed, 30 Apr 2008 14:11:29 +0100
On Wed, 2008-04-30 at 13:36 +0100, David Woodhouse wrote:
> Smells like libtinfo isn't built with -fPIC?
Hm, don't think it's that. But 'stdscr' is a variable, and the configure
test seems to be attempting to call it as if it's a function. This is
probably not a good thing to be doing.
This is a quick hack to fix it, but you should probably be including
ncurses.h to pick up the appropriate declaration of stdscr -- it's
different according to how ncurses was built.
--- clex-3.18/configure~ 2008-04-01 14:06:50.000000000 +0100
+++ clex-3.18/configure 2008-04-30 14:11:02.000000000 +0100
@@ -3339,11 +3339,11 @@ cat >>conftest.$ac_ext <<_ACEOF
#ifdef __cplusplus
extern "C"
#endif
-char stdscr ();
+extern int stdscr;
int
main ()
{
-return stdscr ();
+return stdscr;
;
return 0;
}
--
dwmw2
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]