Skip to content

configure fails to find scotch because of: error: unknown type name 'int64_t' #296

@yurivict

Description

@yurivict

Failure log:

configure:20468: checking check scotch
configure:20491: c++ -o conftest  -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -O3 -std=gnu++14 -DBAMG_LONG_LONG  -DNCHECKPTR -fPIC -I/usr/local/include/superlu -isystem /usr/local/include  -s -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc12  -L/usr/local/lib/gcc12 -fstack-protector-strong  -rdynamic conftest.cpp -ldl -lm -lrt -lz  -L/usr/local/lib -L/usr/local/lib/gcc12 -L/usr/local/lib/gcc12/gcc/x86_64-portbld-freebsd13.2/12.2.0 -L/usr/local/lib/gcc12/gcc/x86_64-portbld-freebsd13.2/12.2.0/../../../../../x86_64-portbld-freebsd13.2/lib -L/usr/local/lib/gcc12/gcc/x86_64-portbld-freebsd13.2/12.2.0/../../.. -lz -lgfortran -lm -lssp_nonshared -lquadmath -lscotch -lscotcherr  >&5
In file included from conftest.cpp:60:
/usr/local/include/scotch.h:76:9: error: unknown type name 'int64_t'
typedef int64_t SCOTCH_Idx;
        ^
/usr/local/include/scotch.h:78:9: error: unknown type name 'int64_t'
typedef int64_t SCOTCH_Num;
        ^

Did you forget to #include <sys/types.h> ?

Version: 4.14
FreeBSD 13.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions