zoukankan      html  css  js  c++  java
  • "_inflateEnd", referenced from "_inflateInit_"等。这时需要在工程中加入libz.dlib 文件

    Undefined symbols for architecture i386:
      "_compressBound", referenced from:
          +[NSDataGZipAdditions compressedDataWithBytes:length:] in NSDataGZipAdditions.o
      "_compress", referenced from:
          +[NSDataGZipAdditions compressedDataWithBytes:length:] in NSDataGZipAdditions.o
      "_inflateInit_", referenced from:
          +[NSDataGZipAdditions dataWithCompressedBytes:length:] in NSDataGZipAdditions.o
      "_inflate", referenced from:
          +[NSDataGZipAdditions dataWithCompressedBytes:length:] in NSDataGZipAdditions.o
          -[ParserForMainReturn uncompressZippedData:] in ParserForMainReturn.o
      "_inflateEnd", referenced from:
          +[NSDataGZipAdditions dataWithCompressedBytes:length:] in NSDataGZipAdditions.o
          -[ParserForMainReturn uncompressZippedData:] in ParserForMainReturn.o
      "_inflateInit2_", referenced from:
          -[ParserForMainReturn uncompressZippedData:] in ParserForMainReturn.o
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    如果老是出现上面的错误。那么在工程中加入libz.dlib 文件就妥妥的了。

  • 相关阅读:
    利用三层交换机实现VLAN间路由
    利用单臂路由实现VLAN间路由
    理解Hybrid接口的应用
    配置NAT
    OSPF 与ACL综合实验
    OSPF单区域配置
    RSTP基础配置
    配置基于全局地址池的DHCP
    静态路由及默认路由配置
    利用三层交换机实现VLAN间路由
  • 原文地址:https://www.cnblogs.com/qingjoin/p/2769513.html
Copyright © 2011-2022 走看看