10.0.0-r2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\steve\AppData\Local\Temp\go-link-2288540720\000006.o: in functionx_cgo_thread_start': \\_\_\runtime\cgo/gcc_util.c:18: undefined reference to__imp___iob...
.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-windows-gnu\lib\crt2.o:crtexe.c:(.rdata$.refptr.__onexitbegin[.refptr.__onexitbegin]+0x0): undefined reference to `__onexitbegin' .rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\x86_64-pc-win...
Then I want to use this library in a C++ project. I wrapped an extern "C" around the include of the header files to eliminate name mangling. However, I got linker errors for the library functions (undefined references). The C++ project adds an "__imp_" to the name of c functions. ...
> /home/bjha/src/petsc-dev/src/mat/impls/aij/seq/aij.c:3492: undefined > reference to `MatGetFactor_seqaij_matlab' Send configure.log and make.log to petsc-maint at mcs.anl.gov Looks like those two libraries are not needed, but something went wrong with the PETSc compile. Barry ...