Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does my C/C++ compile/link fail with missing pgf77 or pgf90 symbols?

0
Posted

Why does my C/C++ compile/link fail with missing pgf77 or pgf90 symbols?

0

One of the libraries that you are using may have been compiled with Fortran in such a way that Fortran-specific symbols remain in the .a file. If this happens, then a compile/link with cc or CC will report unresolved symbols such as __pgf90_compiled. To include the necessary libraries to resolve the missing symbols, add -pgf90libs to your cc/CC compile/link line. There is a similar option, -pgf77libs, that should be used if the missing symbols are Fortran 77 and not Fortran 90.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123