[GRASS5] Unable to compile "d.what.vect"

Hi,
I am unable to compile "d.what.vect" in Grass 6.0:
the compiler says that at line 399 of what.c it cannot understan the function F_open:

399: undefined reference to `F_open'

Indeed, in that line I found:
  F_open ( title, db_get_string(&html) );

Can anyone help me, please?
Thanks,
Damiano

Damiano Triglione wrote:

I am unable to compile "d.what.vect" in Grass 6.0:
the compiler says that at line 399 of what.c it cannot understan the
function F_open:

399: undefined reference to `F_open'

That is in the "form" library in lib/form. The error suggests that the
form library failed to compile.

--
Glynn Clements <glynn@gclements.plus.com>

[CC'd to developers]

Damiano Triglione wrote:

Ok, it should be lib/form, but when I change to that directory and give
'make' command I have no answer, as if it compiled well!
Maybe it can be useful to tell you that I ran 'configure' with the following
options:
,--without-tiff,--without-png,--without-fftw,--without-postgres,--without-mysql,--without-odbc,--without-opengl,--without-tcltk

Excuse me: I found another interesting thing:
in lib/form, I found that in the folder
'OBJ.i686-pc-linux-gnu/'
there is only one file: generate.o
But there should be more files, for example 'open.o', since in open.c there
is the declaration of the function 'F_open'.
Can you explain me please how can I impose the compilation of all the source
files in the folder?

It appears that the other files aren't compiled if you use
--without-tcltk. In that case, F_open() won't exist, so d.what.vect
won't compile.

It appears that the changes to lib/form need to be reconsidered, e.g.
making the functions in open.c stubs rather than just omitting them
when Tcl/Tk isn't enabled.

--
Glynn Clements <glynn@gclements.plus.com>