gnupic: HELP ME GET OUT OF WINDOWS


Previous by date: 29 Jan 2002 00:17:29 -0000 HELP ME GET OUT OF WINDOWS, Chiptoxic
Next by date: 29 Jan 2002 00:17:29 -0000 Re: HELP ME GET OUT OF WINDOWS, Scott Dattalo
Previous in thread: 29 Jan 2002 00:17:29 -0000 HELP ME GET OUT OF WINDOWS, Chiptoxic
Next in thread: 29 Jan 2002 00:17:29 -0000 Re: HELP ME GET OUT OF WINDOWS, Scott Dattalo

Subject: Re: HELP ME GET OUT OF WINDOWS
From: Craig Franklin ####@####.####
Date: 29 Jan 2002 00:17:29 -0000
Message-Id: <3C55E914.1E1FF194@attbi.com>

Is Scott out of town this week?  Just in case...

What OS are you using?  Can you use the rpms instead of the compiling
the source?

This is a readline problem.  It has occured before.  The attached
problem statement and solution was provided by Chet Ramey
####@####.####

On Wed, 05 Sep 2001, Chet Ramey wrote:
> > I'm having trouble building a package written in c++ (gpsim, a PIC emulat=
> > or)
> > which uses readline.  The problem can be demonstrated by just handing c++=
> >  a
> > 1 line file containing the #include:
> > 
> > #include <readline/readline.h>
> > 
> > The result is:
> > 
> > In file included from /usr/include/readline/keymaps.h:37,
> >                  from /usr/include/readline/readline.h:36,
> >                  from try.c:1:
> > /usr/include/readline/rltypedefs.h:48: invalid exception specifications
> > /usr/include/readline/rltypedefs.h:51: invalid exception specifications
> > /usr/include/readline/rltypedefs.h:52: invalid exception specifications
> > etc
> > 
> > This is exactly the same error as I get when trying to compile gpsim.
> 
> The problem is with readline's use of the __P macro to write prototyped
> function definitions and typedefs.  The GNU C library uses that macro,
> too, and in such a way that it breaks readline's typedef declarations.
> 
> The next release of readline will no longer use __P.
> 
> In the meantime, you should be able to work around the problem by adding
> the following lines to rlstdc.h, just after the `#define _RL_STDC_H':
> 
> #ifdef __P
> #  undef __P
> #endif
> 
> Chet


Chiptoxic wrote:
> 
> please could someone tell me what i am doing wrong or not doing as the case
> my be i installed gtk+extra-0.99.17.tar.gz and
> installed eXdbm-0.1.0b2.tar.gz just fine
> 
> i then did ./configure for gpsim-0.20.14
> and that worked but when i typed make all
> 
> it all gose well till this happens:
> 
> mv -f .libs/command.lo command.lo
> /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I..
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/X11R6/include
>    -g -O2 -c input.cc
> rm -f .libs/input.lo
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2
> -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2
> -c input.cc  -fPIC -DPIC -o .libs/input.lo
> In file included from /usr/include/readline/keymaps.h:37,
>                  from /usr/include/readline/readline.h:36,
>                  from input.cc:44:
> /usr/include/readline/rltypedefs.h:48: invalid exception specifications
> /usr/include/readline/rltypedefs.h:51: invalid exception specifications
> /usr/include/readline/rltypedefs.h:52: invalid exception specifications
> /usr/include/readline/rltypedefs.h:54: invalid exception specifications
> /usr/include/readline/rltypedefs.h:55: invalid exception specifications
> /usr/include/readline/rltypedefs.h:57: invalid exception specifications
> /usr/include/readline/rltypedefs.h:59: invalid exception specifications
> /usr/include/readline/rltypedefs.h:62: invalid exception specifications
> /usr/include/readline/rltypedefs.h:65: invalid exception specifications
> /usr/include/readline/rltypedefs.h:70: invalid exception specifications
> /usr/include/readline/rltypedefs.h:73: invalid exception specifications
> /usr/include/readline/rltypedefs.h:75: invalid exception specifications
> /usr/include/readline/rltypedefs.h:76: invalid exception specifications
> /usr/include/readline/rltypedefs.h:78: invalid exception specifications
> /usr/include/readline/rltypedefs.h:79: invalid exception specifications
> /usr/include/readline/rltypedefs.h:80: invalid exception specifications
> /usr/include/readline/rltypedefs.h:81: invalid exception specifications
> In file included from /usr/include/readline/readline.h:37,
>                  from input.cc:44:
> /usr/include/readline/tilde.h:55: invalid exception specifications
> make[2]: *** [input.lo] Error 1
> make[2]: Leaving directory `/home/jamesw/gpsim-0.20.14/cli'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/jamesw/gpsim-0.20.14'
> make: *** [all-recursive-am] Error 2
> 
> please could you tell me if i am missing something i want to get out of
> windows for good the only thing keeping me is mplab.
> 
> it might be something to di with the libgtkextra.0-99.17.so but thats in my
> /usr/local/lib dir
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

Previous by date: 29 Jan 2002 00:17:29 -0000 HELP ME GET OUT OF WINDOWS, Chiptoxic
Next by date: 29 Jan 2002 00:17:29 -0000 Re: HELP ME GET OUT OF WINDOWS, Scott Dattalo
Previous in thread: 29 Jan 2002 00:17:29 -0000 HELP ME GET OUT OF WINDOWS, Chiptoxic
Next in thread: 29 Jan 2002 00:17:29 -0000 Re: HELP ME GET OUT OF WINDOWS, Scott Dattalo


Powered by ezmlm-browse 0.20.