程式語言 - GNU - 解決Undefined reference to __gmpn_invert_limb問題



編譯gmp時,遇到undefined reference to __gmpn_invert_limb錯誤時,代表host_cpu被設成none,只要在gmp的Makefile裡,將host_cpu=none改成當下編譯的host即可,如(N900):host_cpu=armv7l,改完後記得make clean && make