编译失败



  • 运行的时候会报错:
    Undefined symbols for architecture i386:
    "_BZ2_bzRead", referenced from:
    _beginPatch in bspatch.o
    "_BZ2_bzReadClose", referenced from:
    _beginPatch in bspatch.o
    "_BZ2_bzReadOpen", referenced from:
    _beginPatch in bspatch.o
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    这是为什么啊,求解答


  • administrators

    少了一些库,请看文档手动添加



  • 谢谢,但还是不对,我的更新不了啊,打了断点,发现每次都会进入这里:
    /* Check for appropriate magic */
    if (memcmp(header, "ENDSLEY/BSDIFF43", 16) != 0) {
    // errx(1, "Corrupt patch\n");
    return -1;
    }
    导致包合并不了就返回了


登录后回复