0

尝试在 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

会有什么问题?

4

0 回答 0