[GRASS5] 5.7: compilation shared libs on Mac OSX failure

Markus Neteler neteler at itc.it
Mon Nov 17 10:33:50 EST 2003


On Mon, Nov 17, 2003 at 03:25:05PM +0000, Paul Kelly wrote:
> Hello Markus
> 
> On Mon, 17 Nov 2003, Markus Neteler wrote:
> 
> > Today I gave another try to the compilation of GRASS 5.7 with shared libs
> > on Mac OSX. All libraries compile, but compilation stops at
> > 'driver' lib needed for XDRIVER:
> >
> > cd display/drivers/lib
> > make
> > gcc -L/sw/lib -L/grass57exp/dist.powerpc-apple-darwin6.8/lib    -dynamiclib
> > -Wl,-flat_namespace,-U,_cuserid -L/sw/lib
> 
> Have you tried the "-undefined suppress" compiler option? I did a quick
> search on Google and came across references to this. The name sounds
> promising.

More than promising. It simply compiles!
I also tried google, but you got the better keywords.

Only question is if it works (which I cannot test behind the firewall
here, the Mac is remote). I'll get someone to try it there.

Thanks for the hint,

 Markus




More information about the grass-dev mailing list