Skip to content

Let LinBox build with MPIR > 2.5.0 #13755

@jpflori

Description

@jpflori

LinBox does not build with MPIR > 2.5.0 because the interface for Sage, in interface/linbox-sage.[C|h] includes some headers file in a problematic order:

  • first "gmp.h" without "stdint.h", so functions related to "stdint.h" types are not defined
  • at some point "stdint.h" through other linbox header files (if available)
  • then "linbox/integer.h" which in turn includes "gmp++/gmp++.h" which includes "gmpxx.h"
    As "stdint.h" was included in the way, the C++ wrapper look for the C functions related to "stdint.h" types, but these were not defined.

Use the updated spkg at
http://boxen.math.washington.edu/home/jpflori/linbox-1.3.2.p0.spkg

Upstream: Reported upstream. No feedback yet.

CC: @malb @pcpa @vbraun

Component: linbox

Keywords: linbox spkg

Author: Jean-Pierre Flori

Reviewer: John Palmieri, Volker Braun

Merged: sage-5.6.beta1

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions