在gcc中创建共享对象(so)时出错

时间:2013-09-27 08:55:09

标签: c ubuntu gcc shared-libraries ld

尝试在gcc中创建共享对象时出现此错误

NMateLib.o: In function `set_interface_attribs':
NMateLib.c:(.text+0xbac): undefined reference to `__stack_chk_fail_local'
NMateLib.o: In function `set_blocking':
NMateLib.c:(.text+0xc45): undefined reference to `__stack_chk_fail_local'
ld: NMateLib.so: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Bad value

问题是什么?

0 个答案:

没有答案