[GRASS-dev] problem building grass trunk
Stefano Salvador
stefano.salvador at gmail.com
Tue Oct 20 08:15:13 EDT 2009
Hi,
I'm trying to compile revision 39598 of grass trunk but I get a list
of undefined symbol for almost all modules, the output of make is:
/root/grass_trunk/lib/form
/root/grass_trunk/lib/vector/diglib
/root/grass_trunk/lib/init
/root/grass_trunk/db/drivers/dbf
/root/grass_trunk/db/drivers/sqlite
/root/grass_trunk/db/drivers/ogr
/root/grass_trunk/db/db.columns
/root/grass_trunk/db/db.connect
/root/grass_trunk/db/db.copy
/root/grass_trunk/db/db.createdb
/root/grass_trunk/db/db.databases
/root/grass_trunk/db/db.describe
/root/grass_trunk/db/db.drivers
/root/grass_trunk/db/db.dropdb
/root/grass_trunk/db/db.droptable
/root/grass_trunk/db/db.execute
/root/grass_trunk/db/db.login
/root/grass_trunk/db/db.select
/root/grass_trunk/db/db.tables
/root/grass_trunk/display/d.barscale
/root/grass_trunk/display/d.colorlist
/root/grass_trunk/display/d.colortable
/root/grass_trunk/display/d.erase
/root/grass_trunk/display/d.font
[... many more ...]
if I run make in the first library with errors I get:
make /root/grass_trunk/dist.i686-pc-linux-gnu/etc/form
make[1]: Entering directory `/root/grass_trunk/lib/form'
make[1]: `/root/grass_trunk/dist.i686-pc-linux-gnu/etc/form' is up to date.
make[1]: Leaving directory `/root/grass_trunk/lib/form'
gcc -L/root/grass_trunk/dist.i686-pc-linux-gnu/lib
-L/root/grass_trunk/dist.i686-pc-linux-gnu/lib -Wl,--export-dynamic
-Wl,-rpath-link,/root/grass_trunk/dist.i686-pc-linux-gnu/lib -o
/root/grass_trunk/dist.i686-pc-linux-gnu/etc/form/form
OBJ.i686-pc-linux-gnu/form.o -lgrass_ -lgrass_ -lgrass_ -lgrass_ \
-ltk8.4 -lm -ltcl8.4 -lm -lm
OBJ.i686-pc-linux-gnu/form.o: In function `main':
/root/grass_trunk/lib/form/form.c:303: undefined reference to `G__gisinit'
/root/grass_trunk/lib/form/form.c:304: undefined reference to `G_debug'
[... many more ...]
the system is SUSE 10 with gcc 4.1, I have removed each previous
installation of grass.
any hint ?
Bye
Stefano
More information about the grass-dev
mailing list