Hello,
Trying to compile perl-PDL-LAPACK,
I get:
gcc -c "-I/usr/lib64/perl5/vendor_perl/PDL/Core" -I./CLAPACK -D_REENTRANT
-D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g
-DVERSION=\"0.12\" -DXS_VERSION=\"0.12\" -fPIC
"-I/usr/lib64/perl5/CORE" LAPACK.c
In file included from /usr/lib64/perl5/vendor_perl/PDL/Core/pdl.h:9,
from /usr/lib64/perl5/vendor_perl/PDL/PP.pm:1327:
/usr/include/f2c.h:16:31: error: expected ';', identifier or '(' before
'_Complex'
16 | typedef struct { real r, i; } complex;
this is weird, because I do not see any issue with
/usr/include/f2c.h (2c-20190311-5.fc34.x86_64)
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
Show replies by date