Ticket #680 (closed defect: fixed)
[with patch] Solaris 9: fix partition import problem
| Reported by: | mabshoff | Owned by: | mabshoff |
|---|---|---|---|
| Priority: | major | Milestone: | sage-2.8.5 |
| Component: | packages | Keywords: | |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.
