Multiple definitions of `cpublok_zcompress` in v6.1.0
Linking PaStiX gives me an error:
/usr/bin/ld: CMakeFiles/pastix_kernels.dir/cpucblk_scompress.c.o: in function `cpublok_zcompress':
cpucblk_scompress.c:(.text+0xb4): multiple definition of `cpublok_zcompress'; CMakeFiles/pastix_kernels.dir/cpucblk_ccompress.c.o:cpucblk_ccompress.c:(.text+0xb4): first defined here
/usr/bin/ld: CMakeFiles/pastix_kernels.dir/cpucblk_zcompress.c.o: in function `cpublok_zcompress':
cpucblk_zcompress.c:(.text+0xb4): multiple definition of `cpublok_zcompress'; CMakeFiles/pastix_kernels.dir/cpucblk_ccompress.c.o:cpucblk_ccompress.c:(.text+0xb4): first defined here
/usr/bin/ld: CMakeFiles/pastix_kernels.dir/cpucblk_dcompress.c.o: in function `cpublok_zcompress':
cpucblk_dcompress.c:(.text+0xb4): multiple definition of `cpublok_zcompress'; CMakeFiles/pastix_kernels.dir/cpucblk_ccompress.c.o:cpucblk_ccompress.c:(.text+0xb4): first defined here
collect2: error: ld returned 1 exit status
These functions are indeed there and have been defined multiple times (perhaps they were meant to be cpublok_Tcompress
or marked static instead?).