我收到此链接器错误消息:
ld: warning: symbol `_VersioN' has differing sizes:
(file ./libsfc/libssl48.so value=0x16; file ./libsfc/libsipc.so value=0x15);
当我尝试做链接的事情时:
CC -o foo foo.o bar.o ....
ld: warning: symbol `_VersioN' has differing sizes:
(file ./libsfc/libssl48.so value=0x16; file ./libsfc/libsipc.so valu15);
[still generate foo binary]
我想取消警告信息。如果我尝试添加 -t 选项,但失败:
CC -t -o foo foo.o bar.o ...
CC: Warning: Option -t passed to ld, if ld is invoked, ignored otherwise
[won't generate foo binary]