gnupic: Can't compile gpsim on RedHat Linux 7.2
Subject:
Re: Can't compile gpsim on RedHat Linux 7.2
From:
Giray Devlet ####@####.####
Date:
16 Mar 2002 10:12:59 -0000
Message-Id: <20020316110709.I10335@devlet.cc>
The default compiler for RedHat 7.2 is buggy ... you should
get gcc 2.95-3
gd
... and Jeethu Rao wrote:
(on Sat, Mar 16, 2002 at 11:02:59AM +0530 to be exact)
> Its been quite some time since I played with gpsim.
> Yesterday I downloaded gpsim 0.20.14 from Scott's site
> and tried to compile it. But I got a some kinda error while
> making it. Here is what I got.
>
> 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
> input.cc: In function `void initialize_readline ()':
> input.cc:592: cannot convert `void (*) (char *)' to `void (*) ()' for
> argument `2' to `rl_callback_handler_install (char *, void (*) ())'
> input.cc:604: cannot convert `char **(*) (const char *, int, int)' to
> `char **(*) ()' in assignment
> make[2]: *** [input.lo] Error 1
> make[2]: Leaving directory `/root/gnupic/gpsim-0.20.14/cli'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/gnupic/gpsim-0.20.14'
> make: *** [all-recursive-am] Error 2
>
> Seems like a problem with type-casts.
>
>
> Jeethu Rao
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####