gnupic: Can't compile gpsim on RedHat Linux 7.2


Previous by date: 19 Mar 2002 07:56:59 -0000 picprg, John Duncan
Next by date: 19 Mar 2002 07:56:59 -0000 Re: picprg, Byron A Jeff
Previous in thread: 19 Mar 2002 07:56:59 -0000 Re: Can't compile gpsim on RedHat Linux 7.2, Giray Devlet
Next in thread:

Subject: RE: Can't compile gpsim on RedHat Linux 7.2
From: "Jeethu Rao" ####@####.####
Date: 19 Mar 2002 07:56:59 -0000
Message-Id: <MABBKJCIMFLBADDLAHIKOEDKCGAA.jeethur@sancharnet.in>

Yesterday, I got GCC 3.0.3 from a magazine CD (as a tar ball)
I had to compile it (about 1 hour on my Celeron 633!) and then Install it.
After everything was done, I tried to recompile gpsim  with it.
Surprisingly, I got a new set of errors quite early in the make process.
Here is the output that I got.

[root@localhost gpsim-0.20.14]# make
make  all-recursive
make[1]: Entering directory `/root/gpsim-0.20.14'
Making all in cli
make[2]: Entering directory `/root/gpsim-0.20.14/cli'
/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 parse.cc
rm -f .libs/parse.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
parse.cc    -fPIC -DPIC -o .libs/parse.lo
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 `/root/gpsim-0.20.14/cli'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gpsim-0.20.14'
make: *** [all-recursive-am] Error 2
[root@localhost gpsim-0.20.14]#

I don't want to touch the source. So, as Scott suggested, I guess it'll be
better
if I'd download the RPM. But is GCC 3.0.3 Buggy too ? And I forgot to
mention,
I've got Redhat 7.1 not 7.2.


Jeethu Rao


Previous by date: 19 Mar 2002 07:56:59 -0000 picprg, John Duncan
Next by date: 19 Mar 2002 07:56:59 -0000 Re: picprg, Byron A Jeff
Previous in thread: 19 Mar 2002 07:56:59 -0000 Re: Can't compile gpsim on RedHat Linux 7.2, Giray Devlet
Next in thread:


Powered by ezmlm-browse 0.20.