问题
I was compiling a make file on my PC. When I ran it, it generates the following error:
R_X86_64_PC32 against undefined symbol `strtoflt128'.
My PC is Windows 8.1 64 bit. I have cygwin64 installed with the following packages; gcc-core4.9.3, gcc-g++ 4.9.3, gcc-fortran 4.9.2-3.
回答1:
This symbol is provided by libquadmath, so you will need to add -lquadmath
to your link command. If it is already there, make sure it comes after all object files and static libraries.
来源:https://stackoverflow.com/questions/29739233/make-file-compile-error-undefined-symbol-strtoflt128-error