尝试在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
问题是什么?