[GRASSweb-list]markus: web/grass5/source compilation_hints.html,1.2,1.3

grass at intevation.de grass at intevation.de
Sat Dec 21 06:53:11 EST 2002


Author: markus

Update of /grassrepository/web/grass5/source
In directory doto:/tmp/cvs-serv5726

Modified Files:
	compilation_hints.html 
Log Message:
sockets

Index: compilation_hints.html
===================================================================
RCS file: /grassrepository/web/grass5/source/compilation_hints.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- compilation_hints.html	30 Oct 2002 11:14:17 -0000	1.2
+++ compilation_hints.html	21 Dec 2002 11:53:09 -0000	1.3
@@ -11,6 +11,34 @@
    src/libes/edit/edit_cellhd.c failing to compile.
    As a consequence further modules will not compile.
    The problem has been fixed in CVS (8/2002).
+
+
+Q. Short version:  how come my grass 5.0.1-cvs compile on solaris can't  
+   find the socket functions ?
+   For example, the first failure is in the CELL driver, and this is what  
+   happens:
+   gcc -L/dat0/smitch/grass5src/src/libes/LIB.sparc-sun-solaris2.8  -o  
+   /dat0/smitch/grass5src/dist.sparc-sun-solaris2.8/driver/CELL  
+   OBJ.sparc-sun-solaris2.8/bresline.o OBJ.sparc-sun-solaris2.8/file_io.o  
+   OBJ.sparc-sun-solaris2.8/polyfill.o OBJ.sparc-sun-solaris2.8/Can_do.o  
+   OBJ.sparc-sun-solaris2.8/Color.o OBJ.sparc-sun-solaris2.8/Draw_line.o  
+   OBJ.sparc-sun-solaris2.8/Get_w_box.o  
+   OBJ.sparc-sun-solaris2.8/Get_w_line.o  
+   OBJ.sparc-sun-solaris2.8/Get_w_pnt.o  
+   OBJ.sparc-sun-solaris2.8/Graph_Clse.o  
+   OBJ.sparc-sun-solaris2.8/Graph_Set.o OBJ.sparc-sun-solaris2.8/Panel.o  
+   OBJ.sparc-sun-solaris2.8/Polygn_abs.o  
+   OBJ.sparc-sun-solaris2.8/Reset_clr.o -ldriver -lgis  -lm  -lnsl    -lz
+   Undefined                       first referenced
+    symbol                             in file
+   socket                               
+   /dat0/smitch/grass5src/src/libes/LIB.sparc-sun-solaris2.8/ 
+   libgis.a(unix_socks.o)
+
+A. You need to find out which library contains "socket" etc and add it to
+   LDFLAGS, e.g.
+
+	LDFLAGS=-lsocket ./configure ...
    
 </pre>
 





More information about the grass-web mailing list