Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solaris 9: fix partition import problem #680

Closed
sagetrac-mabshoff mannequin opened this issue Sep 17, 2007 · 1 comment
Closed

Solaris 9: fix partition import problem #680

sagetrac-mabshoff mannequin opened this issue Sep 17, 2007 · 1 comment

Comments

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Sep 17, 2007

As a workaround on Solaris 9 we define:

#if defined(__sun)
extern long double fabsl (long double);
extern long double sinl (long double);
extern long double cosl (long double);
extern long double sqrtl (long double);
extern long double coshl (long double);
extern long double sinhl (long double);
#endif

Problem is that this file is C++, so those externs need to be defined as extern "C". Otherwise the linker mangles the function names and consequently Sage doesn't start complaining about missing symbols.

Cheers,

Michael

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/680

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-2.8.5 milestone Sep 17, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin self-assigned this Sep 17, 2007
@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Sep 18, 2007

comment:2

A patch for this problem can be found at

http://fsmath.mathematik.uni-dortmund.de/~mabshoff/patches/Sage-2.8.4-fix-partition.so-load-problem-on-Solaris9.patch

Cheers,

Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant