Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed due to implicit declaration #97

Open
Vineyo opened this issue May 11, 2024 · 2 comments
Open

Build failed due to implicit declaration #97

Vineyo opened this issue May 11, 2024 · 2 comments

Comments

@Vineyo
Copy link

Vineyo commented May 11, 2024

/home/usrname/.cache/paru/clone/scalapack/src/scalapack-2.2.0/BLACS/SRC/igsum2d_.c: In function ‘igsum2d_’:
/home/usrname/.cache/paru/clone/scalapack/src/scalapack-2.2.0/BLACS/SRC/igsum2d_.c:154:7: error: implicit declaration of function ‘BI_imvcopy’; did you mean ‘BI_zmvcopy’? [-Wimplicit-function-declaration]
  154 |       BI_imvcopy(Mpval(m), Mpval(n), A, tlda, bp->Buff);
      |       ^~~~~~~~~~
      |       BI_zmvcopy
/home/usrname/.cache/paru/clone/scalapack/src/scalapack-2.2.0/BLACS/SRC/igsum2d_.c:169:13: error: implicit declaration of function ‘BI_ivmcopy’; did you mean ‘BI_cvmcopy’? [-Wimplicit-function-declaration]
  169 |             BI_ivmcopy(Mpval(m), Mpval(n), A, tlda, bp2->Buff);
      |             ^~~~~~~~~~
      |             BI_cvmcopy
make[2]: *** [CMakeFiles/scalapack.dir/build.make:636: CMakeFiles/scalapack.dir/BLACS/SRC/igsum2d_.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1039: CMakeFiles/scalapack.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

I've found similar issues, but I don't know what to do.

@carlosal1015
Copy link

Changes in compiler, use gcc 13 or older. https://gcc.gnu.org/gcc-14/changes.html

@eeickmeyer
Copy link

I'm having the same problem in Ubuntu, and Debian is having the same problem as well despite their package bug being closed (it looks like an erroneous merge/diagnostic). See https://launchpadlibrarian.net/741773910/buildlog_ubuntu-oracular-amd64.scalapack_2.2.1-3.1ubuntu2_BUILDING.txt.gz. We cannot use an older compiler, so the above option is not an option for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants