-Bstatic option in compiling grass

Francois Delclaux francois.delclaux at mpl.orstom.fr
Mon Jun 15 07:12:58 EDT 1998


Hi Grass users,
Working under Solaris2.6, I got the srce code and succesfuly compiled
Grass
(thanks to people who helped me getting the convenient Makefile !)

I tried to build a static version with the option -Bstatic (cc compiler)

(or -static option with gcc compiler), but I got the folowing error  at
the link step ::

Undefined                       first referenced
 symbol                             in file
dlclose                             /lib/libc.a(nss_deffinder.o)
dlsym                               /lib/libc.a(nss_deffinder.o)
dlopen                              /lib/libc.a(nss_deffinder.o)

I think that this problem is related to the management of dynamic/static
libraries. But ...

Was someone faced with this problem ?

Thanks in advance for your opinion and idea(s).

--
DELCLAUX  Francois
-----------------------------------------------------------
ORSTOM Hydrologie
BP 5045    34032 Montpellier Cedex           FRANCE
http://www.mpl.orstom.fr/~delclaux/
mailto:Francois.Delclaux at mpl.orstom.fr
Tel : (33) (0)4-67-41-64-42     Fax : (33) (0)4-67-54-71-06
-----------------------------------------------------------




More information about the grass-user mailing list