Skip to content

Failed to build #4

@Wang-Yu-Qing

Description

@Wang-Yu-Qing

Version:

  • CentOS Linux release 7.4.1708 (Core)
  • gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
$ git clone --branch dgl https://github.com/KarypisLab/ParMETIS.git
$ cd ParMETIS
$ make config cc=mpicc prefix=~/local
rm -rf build/Linux-x86_64
mkdir -p build/Linux-x86_64
cd build/Linux-x86_64 && cmake /home/xxx/ParMETIS -DCMAKE_VERBOSE_MAKEFILE=1 -DGKLIB_PATH=/home/xxx/ParMETIS/~/local  -DMETIS_PATH=/home/xxx/ParMETIS/~/local -DCMAKE_INSTALL_PREFIX=/root/local -DCMAKE_C_COMPILER=mpicc
-- The C compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/lib64/mpich-3.2/bin/mpicc
-- Check for working C compiler: /usr/lib64/mpich-3.2/bin/mpicc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for getline
-- Looking for getline - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxx/ParMETIS/build/Linux-x86_64

$ make install

And I get:

make[1]: Entering directory `/home/xxx/ParMETIS/build/Linux-x86_64'
/usr/bin/cmake -H/home/xxx/ParMETIS -B/home/xxx/ParMETIS/build/Linux-x86_64 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/xxx/ParMETIS/build/Linux-x86_64/CMakeFiles /home/xxx/ParMETIS/build/Linux-x86_64/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory `/home/xxx/ParMETIS/build/Linux-x86_64'
make -f libparmetis/CMakeFiles/parmetis.dir/build.make libparmetis/CMakeFiles/parmetis.dir/depend
make[3]: Entering directory `/home/xxx/ParMETIS/build/Linux-x86_64'
cd /home/xxx/ParMETIS/build/Linux-x86_64 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/xxx/ParMETIS /home/xxx/ParMETIS/libparmetis /home/xxx/ParMETIS/build/Linux-x86_64 /home/xxx/ParMETIS/build/Linux-x86_64/libparmetis /home/xxx/ParMETIS/build/Linux-x86_64/libparmetis/CMakeFiles/parmetis.dir/DependInfo.cmake --color=
Scanning dependencies of target parmetis
make[3]: Leaving directory `/home/xxx/ParMETIS/build/Linux-x86_64'
make -f libparmetis/CMakeFiles/parmetis.dir/build.make libparmetis/CMakeFiles/parmetis.dir/build
make[3]: Entering directory `/home/xxx/ParMETIS/build/Linux-x86_64'
/usr/bin/cmake -E cmake_progress_report /home/xxx/ParMETIS/build/Linux-x86_64/CMakeFiles 1
[  1%] Building C object libparmetis/CMakeFiles/parmetis.dir/akwayfm.c.o
cd /home/xxx/ParMETIS/build/Linux-x86_64/libparmetis && /usr/lib64/mpich-3.2/bin/mpicc   -DLINUX -D_FILE_OFFSET_BITS=64 -std=c99 -fno-strict-aliasing -march=native -fPIC -Werror -Wall -pedantic -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-unknown-pragmas -Wno-unused-label -DNDEBUG -DNDEBUG2 -DHAVE_EXECINFO_H -DHAVE_GETLINE -O3 -I/home/xxx/ParMETIS/include -I"/home/xxx/ParMETIS/~/local/include" -I/root/local/include -I/home/xxx/ParMETIS/libparmetis/.    -o CMakeFiles/parmetis.dir/akwayfm.c.o   -c /home/xxx/ParMETIS/libparmetis/akwayfm.c
In file included from /root/local/include/GKlib.h:41:0,
                 from /home/xxx/ParMETIS/libparmetis/./parmetislib.h:20,
                 from /home/xxx/ParMETIS/libparmetis/akwayfm.c:14:
/usr/include/signal.h:156:1: error: unknown type name ‘siginfo_t’
 extern void psiginfo (const siginfo_t *__pinfo, const char *__s);
 ^
make[3]: *** [libparmetis/CMakeFiles/parmetis.dir/akwayfm.c.o] Error 1
make[3]: Leaving directory `/home/xxx/ParMETIS/build/Linux-x86_64'
make[2]: *** [libparmetis/CMakeFiles/parmetis.dir/all] Error 2
make[2]: Leaving directory `/home/xxx/ParMETIS/build/Linux-x86_64'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/xxx/ParMETIS/build/Linux-x86_64'
make: *** [install] Error 2

Any ideas how to fix this?

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