I did upgrade my Ubuntu from 11.04 to 11.10. In 11.04 all this worked fine:
gcc -fopenmp -g -c -o test.o test.c -I../include
gcc -fopenmp -g -o test test.o -lnuma -lm -L../myLib -lmyL
but now, in 11.10, it gives the following errors:
../myLib/libmyL.a (get.o): In function 'get':
get.c:(.text+0xa5): undefined reference to `mbind'
Where mbind is http://www.kernel.org/doc/man-pages/online/pages/man2/mbind.2.html
Plz can you help me to solve this problem? Or at least tell me what went wrong? Thanks.