gnupic: troubles in compiling gpsim
Subject:
troubles in compiling gpsim
From:
Vincent Besse ####@####.####
Date:
2 Jul 2001 20:58:41 -0000
Message-Id: <3B40FD4B.624BBF74@serveur.ouhena>
Hi
I've tried to compile gpsim 0.20.0... :-(. It refuses to "make all".
I've installed gtk+extra0.99.9 and eXdbm0.1.0b2 without problem. Here's
what I get :
k6:/usr/local/src/gpsim-0.20.0# ./configure
...............
...............
gpsim-0.20.0 is now configured for
Source directory: .
Installation prefix: /usr/local
C compiler: gcc -g -O2
C++ compiler: c++ -g -O2
gui: yes
k6:/usr/local/src/gpsim-0.20.0# make all
make all-recursive
make[1]: Entering directory `/usr/local/src/gpsim-0.20.0'
Making all in cli
make[2]: Entering directory `/usr/local/src/gpsim-0.20.0/cli'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -c scan.cc
rm -f .libs/scan.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/glib/include
-I/usr/X11R6/include -g -O2 -c -fPIC -DPIC scan.cc -o .libs/scan.lo
scan.cc:273: `void yy_fatal_error(const char *)' used but never defined
make[2]: *** [scan.lo] Error 1
make[2]: Leaving directory `/usr/local/src/gpsim-0.20.0/cli'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gpsim-0.20.0'
make: *** [all-recursive-am] Error 2
k6:/usr/local/src/gpsim-0.20.0# c++ --version
2.95.2
Line 273 in scan.cc looks like this:
static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
If someone can see what's wrong. MPLAB is not so bad, but I'm sure I'll
prefer gpsim :-)
Thanks
Vincent