Re: clex 3.18 failing on PPC

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

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux