holly · 2005-08-09 03:39:59 · 阅读: 442 错误信息说得很清楚了 subtraction of two symbols in different sections `.rodata' {.rodata section} - `memcmp' {.text section} at file address 68 处于不同 section 的符号不能减, 这是当然的. 难道你改了 glibc 的代码? 解决方法: 把 END(BP_SYM(memcmp)) 放到 .section .rodata 之前