【发布时间】:2014-06-19 14:36:19
【问题描述】:
我正在尝试使用使用此 C 库“libhadoop.so”的应用程序构建文件。这样做时,会出现以下警告消息:
OpenJDK 64-Bit Server VM warning: You have loaded library /home/user/hadoop-
2.2.0/lib/native/libhadoop.so which might have disabled stack guard. The VM will
try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>',
or link it with '-z noexecstack'.
有什么办法可以防止警告出现?
【问题讨论】:
-
您尝试过它给您的建议吗?
-
是的,我试过了,但同样的问题也出现了。
标签: c