I am trying to compile pynifti
package from source (long story involving Anaconda Python distribution).
After running make
, I receive the following error:
gcc: error: unrecognized command line option ‘--Wl,--no-undefined’
Indeed, the manual (man gcc
) contains no information about --no-undefined
switch. My version of gcc
is 4.8.5. Also, I can not find the no-undefined
option in https://gcc.gnu.org/onlinedocs/gcc/Option-Index.html#Option-Index
However, from Force GCC to notify about undefined references in shared libraries I infer that it is a valid switch at least for some version of gcc
.