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

multi_polynomial_libsingular.c doesn't compile on Solaris #452

Closed
sagetrac-mabshoff mannequin opened this issue Aug 19, 2007 · 2 comments
Closed

multi_polynomial_libsingular.c doesn't compile on Solaris #452

sagetrac-mabshoff mannequin opened this issue Aug 19, 2007 · 2 comments

Comments

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Aug 19, 2007

the compilation fails complaining about OSTREAM:

gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -
fPIC -I/extra/home/mabshoff/SAGE-build/sage-2.8/local/include/singular
-I/extra/home/mabshoff/SAGE-build/sage-2.8/local//include -I/extra/
home/mabshoff/SAGE-build/sage-2.8/local//include/python -I/extra/home/
mabshoff/SAGE-build/sage-2.8/devel//sage/sage/ext -I/extra/home/
mabshoff/SAGE-build/sage-2.8/local/include/python2.5 -c sage/rings/
polynomial/multi_polynomial_libsingular.cpp -o build/temp.solaris-2.9-
sun4u-2.5/sage/rings/polynomial/multi_polynomial_libsingular.o -w
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
In file included from /extra/home/mabshoff/SAGE-build/sage-2.8/local/
include/singular/factory.h:43,
from /extra/home/mabshoff/SAGE-build/sage-2.8/local/
include/singular/interrupt.h:6,
from sage/rings/polynomial/
multi_polynomial_libsingular.cpp:30:
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_array.h:38: error: 'OSTREAM' has not been declared
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_array.h:44: error: expected constructor, destructor, or type
conversion before '&' token
In file included from /extra/home/mabshoff/SAGE-build/sage-2.8/local/
include/singular/factory.h:44,
from /extra/home/mabshoff/SAGE-build/sage-2.8/local/
include/singular/interrupt.h:6,
from sage/rings/polynomial/
multi_polynomial_libsingular.cpp:30:
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_factor.h:40: error: 'OSTREAM' has not been declared
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_factor.h:49: error: expected constructor, destructor, or type
conversion before '&' token
In file included from /extra/home/mabshoff/SAGE-build/sage-2.8/local/
include/singular/factory.h:45,
from /extra/home/mabshoff/SAGE-build/sage-2.8/local/
include/singular/interrupt.h:6,
from sage/rings/polynomial/
multi_polynomial_libsingular.cpp:30:
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_list.h:27: error: expected constructor, destructor, or type
conversion before '&' token
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_list.h:47: error: 'OSTREAM' has not been declared
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_list.h:78: error: 'OSTREAM' has not been declared
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_list.h:79: error: ISO C++ forbids declaration of 'OSTREAM' with
no type
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_list.h:79: error: 'OSTREAM' is neither function nor member
function; cannot be declared friend
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_list.h:79: error: expected ';' before '&' token
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_list.h:86: error: expected constructor, destructor, or type
conversion before '&' token
In file included from /extra/home/mabshoff/SAGE-build/sage-2.8/local/
include/singular/factory.h:46,
from /extra/home/mabshoff/SAGE-build/sage-2.8/local/
include/singular/interrupt.h:6,
from sage/rings/polynomial/
multi_polynomial_libsingular.cpp:30:
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_matrix.h:27: error: expected constructor, destructor, or type
conversion before '&' token
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_matrix.h:37: error: 'OSTREAM' has not been declared
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_matrix.h:57: error: 'OSTREAM' has not been declared
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_matrix.h:58: error: ISO C++ forbids declaration of 'OSTREAM'
with no type
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_matrix.h:58: error: 'OSTREAM' is neither function nor member
function; cannot be declared friend
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_matrix.h:58: error: expected ';' before '&' token
/extra/home/mabshoff/SAGE-build/sage-2.8/local//include/templates/
ftmpl_matrix.h:93: error: expected constructor, destructor, or type
conversion before '&' token
In file included from /extra/home/mabshoff/SAGE-build/sage-2.8/local/
include/singular/tmpl_inst.h:8,
from /extra/home/mabshoff/SAGE-build/sage-2.8/local/
include/singular/interrupt.h:8,
from sage/rings/polynomial/
multi_polynomial_libsingular.cpp:30:
/extra/home/mabshoff/SAGE-build/sage-2.8/local/include/singular/
class.h:43: error: 'OSTREAM' has not been declared
/extra/home/mabshoff/SAGE-build/sage-2.8/local/include/singular/
class.h:44: error: ISO C++ forbids declaration of 'OSTREAM' with no
type
/extra/home/mabshoff/SAGE-build/sage-2.8/local/include/singular/
class.h:44: error: 'OSTREAM' is neither function nor member function;
cannot be declared friend
/extra/home/mabshoff/SAGE-build/sage-2.8/local/include/singular/
class.h:44: error: expected ';' before '&' token
/extra/home/mabshoff/SAGE-build/sage-2.8/local/include/singular/
class.h:50: error: expected `;' before '}' token
error: command 'gcc' failed with exit status 1
sage: There was an error installing modified sage library code.

You can build libCF with and without IO support and apparently this got mixed
up. This is why we build a stand-alone libCF/libfac after we built SINGULAR
and libSINGULAR. This way we make sure OSTREAM is known properly. Short
answer: I'll have look at it.

Martin

Component: packages: standard

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

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-3.0 milestone Aug 19, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin assigned malb Aug 19, 2007
@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Aug 21, 2007

comment:1

Fixed by Martin Albrecht in Singular-20070819p2.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Aug 21, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin modified the milestones: sage-3.0, sage-2.8.2 Aug 21, 2007
@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Aug 22, 2007

comment:3

Unfortunately, that new package breaks compilation on OSX and/or Linux. William has revered back to some former version of the spkg, so let's reopen this and target it at 2.8.3 and hope that it will be all sorted out be by then.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin reopened this Aug 22, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin modified the milestones: sage-2.8.2, sage-2.8.3 Aug 22, 2007
@williamstein williamstein modified the milestones: sage-2.8.3, sage-2.9 Aug 29, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin modified the milestones: sage-2.9, sage-2.8.3 Aug 30, 2007
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

2 participants