[GRASS5] GRASS 5.3 release

Paul Kelly paul-grass at stjohnspoint.co.uk
Fri May 7 05:19:17 EDT 2004


On Fri, 7 May 2004, Glynn Clements wrote:

>
> Paul Kelly wrote:
>
> > > shared libs working on all but Cygwin            ?
> >
> > Not a big job to get them working on Cygwin:
>
> No? Is it no longer necessary to create a .def file for DLLs?

Mmm well I'm just saying it seems to work for me with driverlib, dig2lib
and vect2lib all compiled statically and everything else as DLLs. GRASS
starts, seems to run, displaying and querying maps works etc.
What should I be looking for to go wrong if there is no .def file? This is
running on Windows 2000. I am setting up the Windows machine for a final
year project student to use so maybe I will get more feedback on it next
week.


>
> > 1) make driverlib static on all platforms (I remember Glynn saying this
> > was generally a good idea as the way it is written it will always
> > reference functions in other libraries that might not have been compiled
> > yet)
>
> Actually, the issues are:
>
> a) that driverlib references functions which are defined in the
> executable, and
>
> b) main() is defined in the library.
>
> > Getting it working on OSX is a bigger problem and requires lots of
> > tedious work removing multiply defined symbols, but will be done for 5.4
>
> Can you provide more details? Maybe I'm missing something, but I can
> only find around 20 symbols which appear to be problematic.

Not just for driverlib; Lorenzo Moretti has done useful work compiling and
reporting the errors:

http://wwwamb.bologna.enea.it/forgrass/Errors_Grass53_2004_04_24_shared_lib.txt


Paul




More information about the grass-dev mailing list