gnupic: Compiling gpsim-0.20.14 under Mandrake 9.0


Previous by date: 14 Oct 2002 21:10:43 -0000 Where in the source code, Ricardo Amezquita Orozco
Next by date: 14 Oct 2002 21:10:43 -0000 Re: Compiling gpsim-0.20.14 under Mandrake 9.0, Mark J. Dulcey
Previous in thread: 14 Oct 2002 21:10:43 -0000 Re: Compiling gpsim-0.20.14 under Mandrake 9.0, Scott Dattalo
Next in thread: 14 Oct 2002 21:10:43 -0000 Re: Compiling gpsim-0.20.14 under Mandrake 9.0, Mark J. Dulcey

Subject: Re: Compiling gpsim-0.20.14 under Mandrake 9.0
From: Andy ####@####.####
Date: 14 Oct 2002 21:10:43 -0000
Message-Id: <200210142210.24104.andy@bytewyse.org>

On Monday 14 Oct 2002 20:25, Scott Dattalo wrote:
> On Mon, 14 Oct 2002, Andy wrote:
> > Hi
> >
> > I switched to Mandrake 9.0 a couple of weeks ago and find that I cannot
> > compile gpsim-0.20.14 under it.  Compiled fine under 8.2.  Below is a
> > snippet of the error output from make:
> >
> > In file included from parse.yy:32:
> > command.h:55: 'string' is used as a type, but is not defined as a type.
> > command.h:56: 'string' is used as a type, but is not defined as a type.
> > command.h:82: parse error before `&' token
> > make[2]: *** [parse.lo] Error 1
> > make[2]: Leaving directory `/usr/local/src/gpsim-0.20.14/cli'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/local/src/gpsim-0.20.14'
> > make: *** [all-recursive-am] Error 2
> >
> > OK the error seems blindingly obvious but where do I need to define
> > 'string' as a type for this to work?
>
> This sounds like a C++ issue. Have you compiled any other package besides
> gpsim?
>
> Scott
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

Hi Scott

gputils-0.10.4 compiled OK as did the gtk+extra-0.99.17 tar ball.

I didn't snip all the console output, here is the stuff that preceeded error 
message in my original post

make  all-recursive
make[1]: Entering directory `/usr/local/src/gpsim-0.20.14'
Making all in cli
make[2]: Entering directory `/usr/local/src/gpsim-0.20.14/cli'
/bin/sh ../libtool --mode=compile g++ -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 parse.cc
rm -f .libs/parse.lo
g++ -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 parse.cc  -fPIC -DPIC -o .libs/parse.lo
In file included from /usr/include/c++/3.2/backward/iostream.h:31,
                 from parse.yy:24:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This 
file includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.1.2 of the C++ standard. 
Examples include substituting the <X> header for the <X.h> header for C++ 
includes, or <sstream> instead of the deprecated header <strstream.h>. To 
disable this warning use -Wno-deprecated.

As it was a warning I ingored it originally.

Regards

Andy



Previous by date: 14 Oct 2002 21:10:43 -0000 Where in the source code, Ricardo Amezquita Orozco
Next by date: 14 Oct 2002 21:10:43 -0000 Re: Compiling gpsim-0.20.14 under Mandrake 9.0, Mark J. Dulcey
Previous in thread: 14 Oct 2002 21:10:43 -0000 Re: Compiling gpsim-0.20.14 under Mandrake 9.0, Scott Dattalo
Next in thread: 14 Oct 2002 21:10:43 -0000 Re: Compiling gpsim-0.20.14 under Mandrake 9.0, Mark J. Dulcey


Powered by ezmlm-browse 0.20.