[GRASS5] [bug #4074] (grass) Grass does not built libgrass_interpfl

this bug's URL: http://intevation.de/rt/webrt?serial_num=4074
-------------------------------------------------------------------------

Subject: Grass does not built libgrass_interpfl

Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 20060204

Grass 6.1.cvs 20060204 does not built libgrass_interpfl. This worked in Grass 6.1.cvs 20060121.
I have an error in multiple definitions of symbol.

ld: warning multiple definitions of symbol _locale_charset
/usr/local/grasslib/lib/libintl.dylib(localcharset.o) definition of _locale_charset
/usr/lib/libiconv.2.dylib(localcharset.o) definition of _locale_charset
ld: Undefined symbols:
_G_site_new_struct
/usr/bin/libtool: internal link edit command failed
make[3]: *** [/src/grass-6.1.cvs_src_snapshot_2006_02_04/dist.powerpc-apple-darwin7.9.0/lib/
libgrass_interpfl.6.1.cvs.dylib] Error 1

Platform: Mac OS X

Lorenzo

-------------------------------------------- Managed by Request Tracker

On Thu, Feb 09, 2006 at 04:39:22PM +0100, Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=4074
-------------------------------------------------------------------------

Subject: Grass does not built libgrass_interpfl

Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 20060204

Grass 6.1.cvs 20060204 does not built libgrass_interpfl. This worked in Grass 6.1.cvs 20060121.
I have an error in multiple definitions of symbol.

ld: warning multiple definitions of symbol _locale_charset
/usr/local/grasslib/lib/libintl.dylib(localcharset.o) definition of _locale_charset
/usr/lib/libiconv.2.dylib(localcharset.o) definition of _locale_charset
ld: Undefined symbols:
_G_site_new_struct
/usr/bin/libtool: internal link edit command failed
make[3]: *** [/src/grass-6.1.cvs_src_snapshot_2006_02_04/dist.powerpc-apple-darwin7.9.0/lib/
libgrass_interpfl.6.1.cvs.dylib] Error 1

Platform: Mac OS X

Lorenzo,

some functions were moved from libgis to libsites.

Can you add
$(SITESLIB) to the EXTRA_LIBS line in
lib/rst/interp_float/Makefile
after $(VECTLIB)

? this should cure the problem.

I have updated it in CVS.

Markus