[GRASSLIST:6164] Re: Problems with Make - GRASS 5.4

Paul Kelly paul-grass at stjohnspoint.co.uk
Mon Mar 14 15:29:18 EST 2005


On Mon, 14 Mar 2005, William Hudspeth wrote:

> Hello, I have configured my GRASS installation with the following:
>
> ../grass-5.4.0/configure --with-tcltk-includes=/usr/local/include --
> with-tcltk-libs=/usr/local/lib --with-postgres-
> includes=/usr/local/pgsql/include --with-postgres-
> libs=/usr/local/pgsql/lib --with-odbc=no --with-gdal --with-fftw=no
>
> It then crashes on Make. I have extracted what seem to be the most
> important errors.
>
> alloc.c: In function `db_store':
> alloc.c:10: warning: assignment makes pointer from integer without a
> cast
> alloc.c: At top level:
> alloc.c:18: error: conflicting types for 'db_malloc'
> alloc.c:10: error: previous implicit declaration of 'db_malloc' was here

Try adding the line
#include "dbmi.h"

below the other two #include lines in src/libes/dbmi/lib/alloc.c and 
re-compile. Does that help?

Paul




More information about the grass-user mailing list