gnupic: Gnupic Compilation Error


Previous by date: 30 Jul 2002 17:26:35 -0000 Gnupic Compilation Error, Ricardo Amezquita Orozco
Next by date: 30 Jul 2002 17:26:35 -0000 pic 16f84 programming, Davide Vosti
Previous in thread: 30 Jul 2002 17:26:35 -0000 Gnupic Compilation Error, Ricardo Amezquita Orozco
Next in thread: 30 Jul 2002 17:26:35 -0000 Re: Gnupic Compilation Error, Terry Porter

Subject: Re: Gnupic Compilation Error
From: Scott Dattalo ####@####.####
Date: 30 Jul 2002 17:26:35 -0000
Message-Id: <Pine.LNX.4.44.0207301006560.31859-100000@ruckus.brouhaha.com>

On Tue, 30 Jul 2002, Ricardo Amezquita  Orozco wrote:

> I just downloaded GPSIM from CVS, and tried to compile it.
> 
> It is giving me the following error message
> .....
> .....
> .....
> /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -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/lib/glib/include -I/usr/X11R6/include -g -O2 -Wp,-MD,.deps/input.pp -c input.cc  -fPIC -DPIC -o .libs/input.lo
> input.cc: In function `void initialize_readline()':
> input.cc:592: ANSI C++ prohibits conversion from `(char *)' to `(...)'
> input.cc:604: ANSI C++ prohibits conversion from `(const char *, int, int)' to `(...)'
> make[2]: *** [input.lo] Error 1
> make[2]: Saliendo directorio `/home/richi/proyectos/CompiladorC/gpsim/cli'
> make[1]: *** [all-recursive] Error 1
> make[1]: Saliendo directorio `/home/richi/proyectos/CompiladorC/gpsim'
> make: *** [all-recursive-am] Error 2
> 
> Can some one please help me with this??

Yes that's the annoying readline bug that's almost been permanently 
fixed...

To get around this annoyance, you'll need to dig into the code a little. 
Go to the sourcefile:

gpsim/cli/input.cc


On around line 38 or so you'll see something like:

//#define RALF
#define SCOTT

Change it to this:

#define RALF
//#define SCOTT


And it should compile.

FYI, I'm going to add pthreads to gpsim and handle the command line 
interface in a totally separate thread. See this message on the gpsim 
development mailing list:

http://sourceforge.net/mailarchive/forum.php?thread_id=932373&forum_id=10321

When that's done there will be a new release of gpsim. At the moment 
though, I'm swimming in SDCC bugs.

Scott


Previous by date: 30 Jul 2002 17:26:35 -0000 Gnupic Compilation Error, Ricardo Amezquita Orozco
Next by date: 30 Jul 2002 17:26:35 -0000 pic 16f84 programming, Davide Vosti
Previous in thread: 30 Jul 2002 17:26:35 -0000 Gnupic Compilation Error, Ricardo Amezquita Orozco
Next in thread: 30 Jul 2002 17:26:35 -0000 Re: Gnupic Compilation Error, Terry Porter


Powered by ezmlm-browse 0.20.