2
我沒有升級我的Ubuntu從11.04到11.10。在11.04這一切都工作得很好:未定義的引用mbind
gcc -fopenmp -g -c -o test.o test.c -I../include
gcc -fopenmp -g -o test test.o -lnuma -lm -L../myLib -lmyL
,但現在,在11.10,它提供了以下錯誤:
../myLib/libmyL.a (get.o): In function 'get':
get.c:(.text+0xa5): undefined reference to `mbind'
哪裏mbind是http://www.kernel.org/doc/man-pages/online/pages/man2/mbind.2.html
PLZ你可以幫我解決這個問題?或者至少告訴我哪裏出了問題?謝謝。