: error: typedef redefinition with different types ('struct fmpz_mat_struct' vs 'struct fmpz_mat_struct')

21 views
Skip to first unread message

Stephen Crowley

unread,
Nov 22, 2023, 8:33:41 PM11/22/23
to flint-devel
I'm getting this with the latest flint checkout... any ideas?

In file included from native/arb_wrap.c:200:
In file included from /usr/include/acb_hypgeom.h:16:
In file included from /usr/include/acb_poly.h:23:
In file included from /usr/include/arb_poly.h:22:
In file included from /usr/include/flint/fmpz_poly.h:1473:
In file included from /usr/include/flint/fmpz_poly_factor.h:33:
/usr/include/flint/fmpz_mat.h:46:3: error: typedef redefinition with different types ('struct fmpz_mat_struct' vs 'struct fmpz_mat_struct')
} fmpz_mat_struct;

/usr/local/include/flint/fmpz_types.h:71:1: note: previous definition is here
fmpz_mat_struct;
^

Stephen Crowley

unread,
Nov 22, 2023, 11:08:40 PM11/22/23
to flint...@googlegroups.com
Oh I see it's trying to mix pre-flint-merge headers with the new version.. duh

--

---
You received this message because you are subscribed to a topic in the Google Groups "flint-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/flint-devel/sk7W8CxAAcE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to flint-devel...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/flint-devel/7d9575ed-511f-4756-9c43-160c56fdf555n%40googlegroups.com.

Albin Ahlbäck

unread,
Nov 23, 2023, 1:15:38 AM11/23/23
to flint...@googlegroups.com
You seem to not have uninstalled Arb, and perhaps previous versions of FLINT as well.

/Albin

--

---
You received this message because you are subscribed to the Google Groups "flint-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flint-devel...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages