#13325: eclib does not build on Cygwin
------------------------------------------------------------+---------------
Reporter: jpflori | Owner:
tbd
Type: defect | Status:
needs_info
Priority: major | Milestone:
sage-5.3
Component: cygwin | Resolution:
Keywords: eclib spkg cygwin | Work issues:
wait for official update of the build system; fix pari problem (new spkg?)
Report Upstream: Workaround found; Bug reported upstream. | Reviewers:
Authors: Jean-Pierre Flori | Merged in:
Dependencies: | Stopgaps:
------------------------------------------------------------+---------------
Comment (by jpflori):
I never said they were archive files...
I said that when linking the linker finds libpari.a BEFORE libpari.dll.
But as there is already a function named _roots in an object file included
in libpari.a it fails.
That's the problem.
From now on, lets suppose we live in the lib directory and forget about
the bin one which is not of interest for our purposes.
So a hack consists in making sure that the linker find libpari.dll BEFORE
libpari.a.
To do that, you can copy libpari.dll to libpari.dll.a.
You could just rename it if you want to have some fun.
You could also delete libpari.a or rename it to jdlksjlkdjls.
Or we could explicitely tell the linker to use libpari.dll, rather than
just passing -lpari, but that needs more work.
And anyway, PARI generates a file ending by .dll.a.
AFAIK it's not a copy od libpari.dll, not a dll file, but some import
file.
The point is that the linker will find it BEFORE libpari.a if its present
and by looking at it it will automatically use the libpari.dll file.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13325#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.