[GRASSLIST:743] compiling on RHE4 problems.....

Massimiliano Cannata massimiliano.cannata at supsi.ch
Tue Apr 18 11:03:31 EDT 2006


Hi GRASS users,
I hope you can help me in compiling GRASS CVS.....

Here is the story...
I run configure with success, and also make was successfully....
But when I run grass most of the commands don't work (segmentation fault!).

Thus, I checked the configure.log and I found a lot of failure like the 
following one....
---------------------
configure:7654: gcc -o conftest -g -O2     -Wl,--export-dynamic 
conftest.c -ltiff   1>&5
/usr/lib/gcc-lib/i386-redhat-linux7/2.96/../../../libtiff.so: undefined 
reference to `log'
/usr/lib/gcc-lib/i386-redhat-linux7/2.96/../../../libtiff.so: undefined 
reference to `sqrt'
/usr/lib/gcc-lib/i386-redhat-linux7/2.96/../../../libtiff.so: undefined 
reference to `pow'
/usr/lib/gcc-lib/i386-redhat-linux7/2.96/../../../libtiff.so: undefined 
reference to `exp'
collect2: ld returned 1 exit status
configure: failed program was:
#line 7643 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char TIFFOpen();
---------------------
I guess it is something with the gcc compiler missing some includes 
modules.... but I'm not really sure...

Am I rigth?
What do you suggest to do?

Thanks,
Maxi

-- 

Eng. Massimiliano Cannata
Scuola Universitaria Professionale della Svizzera Italiana
Istituto Scienze della Terra
Via Trevano, c.p. 72
CH-6952 Canobbio-Lugano
Tel: +41 (0)58 666 62 18
Fax +41 (0)58 666 62 09




More information about the grass-user mailing list