You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get a compile error with libflint-dev 3.1.3-1+b1
error: In file included from /usr/include/stdio.h:34,
from /usr/include/flint/flint.h:16,
from FFI.hsc:104:
FFI.hsc: In function ‘main’:
/home/aavogt/.ghcup/ghc/9.6.6/lib/ghc-9.6.6/lib/template-hsc.h:82:24: error: ‘fmpz_mod_mat_struct’ {aka ‘fmpz_mat_struct’} has no member named ‘mat’
82 | (long) offsetof (t, f));
| ^~~~~~~~
FFI.hsc:120:5: note: in expansion of macro ‘hsc_peek’
/home/aavogt/.ghcup/ghc/9.6.6/lib/ghc-9.6.6/lib/template-hsc.h:82:24: error: ‘fmpz_mod_mat_struct’ {aka ‘fmpz_mat_struct’} has no member named ‘mod’
82 | (long) offsetof (t, f));
| ^~~~~~~~
FFI.hsc:121:5: note: in expansion of macro ‘hsc_peek’
It looks like the .mod field moved to a separate fmpz_mod_ctx_t argument added to all the fmpz_mod_mat_* functions by flintlib/flint@acf51f1
Thanks for the comment. It is the first feedback I am getting for the library! If you find more problem let me know.
I have a new version, which contains (allmost) all the changes to version 3 of flint including all the gr stuff (which from my perspective is just implementing features of Haskell in C). I haven't had found the time to make it available yet.
Activity
monien commentedon Nov 10, 2024
Thanks for the comment. It is the first feedback I am getting for the library! If you find more problem let me know.
I have a new version, which contains (allmost) all the changes to version 3 of flint including all the gr stuff (which from my perspective is just implementing features of Haskell in C). I haven't had found the time to make it available yet.
aavogt commentedon Nov 10, 2024
In the meantime I downgraded the c library version. I think it's working well in https://github.com/aavogt/laminar-ht
amigalemming commentedon Apr 18, 2026
I got the same problem. Debian 13/Trixie ships
libflint-3.1.3. Thuspkgconfig-dependsshould get an upper boundflint < 3.Also version bounds on
containersandQuickCheckcan be relaxed to newer version.