Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22042

undefined reference to mbind

$
0
0

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.


Viewing all articles
Browse latest Browse all 22042

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>