我正在编译一个程序,其中包含来自pthread库互斥信号量,但是当我编译使用-lpthread标志时,我得到一个未定义的引用错误。 gcc -lpthread prodcon.c
/tmp/ccESOlOn.o: In function `producer':
prodcon.c:(.text+0x2e): undefined reference to `pthead_mutex_lock'
我正在测试MS CRM中功能性较大的一段代码的独立部分,我想知道为什么我不断收到上述错误这小段代码: function testThis()
{
var optionset = document.getElementById("new_makeyear");
console.log("this is supposed to be something " + optionset