[GRASS-user] grass 6.3.0 solaris 10 install errors
Glynn Clements
glynn at gclements.plus.com
Tue Jul 15 22:56:01 EDT 2008
Brian Clark wrote:
> Ok, got that to work at least once.....and moved on to the next set of
> errors...
> and after make, then cd to first directory in error list -> make:
>
> gcc -L/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/lib
> -Wl,-R,/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/lib -o
> /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/driver/db/dbf
> OBJ.sparc-sun-solaris2.10/column.o OBJ.sparc-sun-solaris2.10/cursor.o
> OBJ.sparc-sun-solaris2.10/db.o OBJ.sparc-sun-solaris2.10/dbfexe.o
> OBJ.sparc-sun-solaris2.10/describe.o OBJ.sparc-sun-solaris2.10/driver.o
> OBJ.sparc-sun-solaris2.10/error.o OBJ.sparc-sun-solaris2.10/execute.o
> OBJ.sparc-sun-solaris2.10/fetch.o OBJ.sparc-sun-solaris2.10/listtab.o
> OBJ.sparc-sun-solaris2.10/main.o OBJ.sparc-sun-solaris2.10/select.o
> OBJ.sparc-sun-solaris2.10/str.o OBJ.sparc-sun-solaris2.10/table.o
> OBJ.sparc-sun-solaris2.10/create_table.o -lgrass_dbmidriver
> -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lnsl -lz -lsocket
> -lgrass_dbstubs -lgrass_dbmibase -lgrass_gis -lgrass_datetime -lnsl
> -lz -lsocket -lgrass_gis -lgrass_datetime -lnsl -lz -lsocket
> -lgrass_gis -lgrass_datetime -lnsl -lz -lsocket -lgrass_dbmibase
> -lgrass_gis -lgrass_datetime -lnsl -lz -lsocket -lgrass_sqlp
> -lgrass_shape -lgrass_dbstubs -lgrass_dbmibase -lgrass_gis
> -lgrass_datetime -lnsl -lz -lsocket -lgrass_gis -lgrass_datetime
> -lnsl -lz -lsocket -lgrass_gis -lgrass_datetime -lnsl -lz
> -lsocket -lgrass_datetime -lm -lnsl -lz
> /wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/lib/libgrass_gis.so:
> undefined reference to `gethostname at SUNWprivate_1.1'
> collect2: ld returned 1 exit status
> make: ***
> [/wattemp/GRASS/grass-6.3.0/dist.sparc-sun-solaris2.10/driver/db/dbf]
> Error 1
>
> Problems with libgrass_gis.so??
I suspect that lib/gis/Makefile needs $(SOCKLIB) added to EXTRA_LIBS:
-EXTRA_LIBS = $(XDRLIB) $(DATETIMELIB) $(INTLLIB) $(MATHLIB)
+EXTRA_LIBS = $(XDRLIB) $(SOCKLIB) $(DATETIMELIB) $(INTLLIB) $(MATHLIB)
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list