Hello,
I just finished upgrading my operating system and I grabbed the latest
CVS GRASS version.
When building I get a bunch of errors related to the imagery library.
The library itself builds fine but alot of the imagery programs fail to
build as well as ps.map and r.in.gdal. The problem seems to be related
to the HAVE_CURSES_H flag in the imagery library. The flag is defined
but I get get undefined reference to I_v_exec (from r.in.gdal and
others).
Am I missing a library (ncurses is installed) or is there something else
wrong?
--
Bob
Bob,
can you update from CVS again? Radim conditionalized parts
of lib/imagery/ upon presence of HAVE_CURSES_H which should
not break anything. Here it compiles.
See:
http://grass.itc.it/pipermail/grass-commit/2006-January/date.html#end
Maybe you need to update again to fetch it completely?
Markus
On Wed, Jan 25, 2006 at 02:42:11PM -0400, Bob Covill wrote:
Hello,
I just finished upgrading my operating system and I grabbed the latest
CVS GRASS version.
When building I get a bunch of errors related to the imagery library.
The library itself builds fine but alot of the imagery programs fail to
build as well as ps.map and r.in.gdal. The problem seems to be related
to the HAVE_CURSES_H flag in the imagery library. The flag is defined
but I get get undefined reference to I_v_exec (from r.in.gdal and
others).
Am I missing a library (ncurses is installed) or is there something else
wrong?
--
Bob
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5
--
Markus Neteler <neteler itc it> http://mpa.itc.it
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy
Hi Markus,
It looks like the files with "#ifdef HAVE_CURSES_H" need to have "gis.h"
before the #ifdef. With v_exec.c I inserted #include "gis.h" before the
ifdef. This got rid of the undefined errors I was seeing in r.in.gdal,
etc.
I think the reason for this is because HAVE_CURSES_H is included in
config.h which is included in gis.h. If the header file is not included
then the definition (ifdef) is not seen.
--
Bob
On Wed, 2006-01-25 at 22:20 +0100, Markus Neteler wrote:
Hi Bob,
you may need to do a make distclean and configure
I checked again and don't see any problem.
Markus
On Wed, Jan 25, 2006 at 02:42:11PM -0400, Bob Covill wrote:
> Hello,
>
> I just finished upgrading my operating system and I grabbed the latest
> CVS GRASS version.
>
> When building I get a bunch of errors related to the imagery library.
> The library itself builds fine but alot of the imagery programs fail to
> build as well as ps.map and r.in.gdal. The problem seems to be related
> to the HAVE_CURSES_H flag in the imagery library. The flag is defined
> but I get get undefined reference to I_v_exec (from r.in.gdal and
> others).
>
> Am I missing a library (ncurses is installed) or is there something else
> wrong?
>
> --
> Bob
>
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
Fixed, sorry.
Radim
On 1/26/06, Bob Covill <bcovill@tekmap.ns.ca> wrote:
Hi Markus,
It looks like the files with "#ifdef HAVE_CURSES_H" need to have "gis.h"
before the #ifdef. With v_exec.c I inserted #include "gis.h" before the
ifdef. This got rid of the undefined errors I was seeing in r.in.gdal,
etc.
I think the reason for this is because HAVE_CURSES_H is included in
config.h which is included in gis.h. If the header file is not included
then the definition (ifdef) is not seen.
--
Bob
On Wed, 2006-01-25 at 22:20 +0100, Markus Neteler wrote:
> Hi Bob,
>
> you may need to do a make distclean and configure
> I checked again and don't see any problem.
>
> Markus
>
> On Wed, Jan 25, 2006 at 02:42:11PM -0400, Bob Covill wrote:
> > Hello,
> >
> > I just finished upgrading my operating system and I grabbed the latest
> > CVS GRASS version.
> >
> > When building I get a bunch of errors related to the imagery library.
> > The library itself builds fine but alot of the imagery programs fail to
> > build as well as ps.map and r.in.gdal. The problem seems to be related
> > to the HAVE_CURSES_H flag in the imagery library. The flag is defined
> > but I get get undefined reference to I_v_exec (from r.in.gdal and
> > others).
> >
> > Am I missing a library (ncurses is installed) or is there something else
> > wrong?
> >
> > --
> > Bob
> >
> > _______________________________________________
> > grass5 mailing list
> > grass5@grass.itc.it
> > http://grass.itc.it/mailman/listinfo/grass5
>
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5