[GRASS5] GRASS 5.1: MacOSX compilation?
Paul Kelly
paul-grass at stjohnspoint.co.uk
Thu Aug 21 06:32:58 EDT 2003
Hello Markus
On Thu, 21 Aug 2003, Markus Neteler wrote:
...
> Changing this, I arrive at (tried with libgis):
>
> [timonchiotwin:~/grass51exp/lib/gis] markus% make
> gcc -L/sw/lib -L/Users/markus/grass51exp/dist.powerpc-apple-darwin6.6/lib
> -dynamiclib -flat_namespace -fno_common -undefined suppress
> -L/sw/lib
> -L/Users/markus/grass51exp/dist.powerpc-apple-darwin6.6/lib \
> [...]
> OBJ.powerpc-apple-darwin6.6/zone.o OBJ.powerpc-apple-darwin6.6/G_dump.o -o
> /Users/markus/grass51exp/dist.powerpc-apple-darwin6.6/lib/libgrass_gis.dylib
> ld: common symbols not allowed with MH_DYLIB output format
What about deleting the '-fno-common' in the SHLIB_LD line? Perhaps this
is some kind of extra-strict warning that is not needed. But there might
be other consequences.
Paul
More information about the grass-dev
mailing list