[GRASSLIST:6165] Problems with make -GRASS 5.4

William Hudspeth wbhk at unm.edu
Mon Mar 14 15:58:38 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



Paul, your solution worked well. Thanks much for the help. Bill




More information about the grass-user mailing list