[GRASSLIST:5760] Re: errors on 5.4.0 build

Kent Hodges hodgesk at eastlink.ca
Mon Feb 14 11:37:17 EST 2005


Hi,

The make.log is 4749 lines long so I have snipped the section containing the 
error:

c -L/home/kent/Programs/grass-build/src/libes -Wl,--export-dynamic  
-Wl,-rpath-link,/home/kent/Programs/grass-build/src/libes 
-o /home/kent/Programs/grass-build/dist.i686-pc-linux-gnu/etc/bin/cmd/db.columns /home/kent/Programs/grass-build/src/libes/dbmi/clients/columns.o 
-ldbmi -lgrass_gis    -lz  -lm 
/home/kent/Programs/grass-build/src/libes/libdbmi.a(start.o)(.text+0xa3): In 
function `db_start_driver':
/home/kent/Programs/grass-5.4.0/src/libes/dbmi/lib/start.c:47: undefined 
reference to `db_malloc'
/home/kent/Programs/grass-build/src/libes/libdbmi.a(table.o)(.text+0x5b): In 
function `db_alloc_table':
/home/kent/Programs/grass-5.4.0/src/libes/dbmi/lib/table.c:11: undefined 
reference to `db_malloc'
/home/kent/Programs/grass-build/src/libes/libdbmi.a(alloc.o)(.text+0x23): In 
function `db_store':
/home/kent/Programs/grass-5.4.0/src/libes/dbmi/lib/alloc.c:10: undefined 
reference to `db_malloc'
/home/kent/Programs/grass-build/src/libes/libdbmi.a(dbmscap.o)(.text+0x27a): 
In function `db_read_dbmscap':
/home/kent/Programs/grass-5.4.0/src/libes/dbmi/lib/dbmscap.c:169: undefined 
reference to `db_malloc'
collect2: ld returned 1 exit status

I agree with Paul Kelly that it is probably one error causing all of the 
others. I believe it is probably a library which is either missing, or there 
is an incorrect version installed which which doesn't provide the same 
functionality. Unfortunately, I am at a loss to find the error.

On February 14, 2005 05:18 am, Paul Kelly wrote:
> On Mon, 14 Feb 2005, Kent Hodges wrote:
> > Hello,
> >
> > I am trying to build grass 5.4.0 on Mandrake 10.0 CE. I have one problem
> > left. I  receive the following errors from build:
> >
> > Compilation error in module: src/libes/dbmi/lib
>
> There is probably one error here that has caused all the others.
>
> > There are no problems in compile. If I check make.log these errors are
> > all caused by an undefined reference to db_malloc. Can anyone help me
> > figure out which library I am missing or have the wrong version of
> > installed.
>
> Not a lot to go on there unless someone is very familiar with the dbmi
> library. Can you post the actual error message (output from make)?
>
> Paul K




More information about the grass-user mailing list