On Thursday 19 February 2004 12:17, Tony Buser wrote:> I'm trying to compile gastman on Mandrake 9.2 using gcc 3.3.1 and I
> get the following error:
>
> gui.c: In function `gui_init':
> gui.c:944: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gui.c:944: warning: passing arg 4 of pointer to function makes
> pointer from integer without a cast
> gui.c:944: error: too few arguments to function
> make: *** [gui.o] Error 1
>
> It compiles fine on Mandrake 9.1 with gcc 3.2.2. I'm thinking its a
> gcc issue. Anyone know what I can do to resolve this?
It's more likely a BDB issue. The line quoted back to you by the
compiler indicates a problem with the API to BDB (Berkeley database),
which was changed in the latest version.
-Tilghman