Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.
This repository was archived by the owner on May 13, 2024. It is now read-only.

Doesn't compile on Xcode 11.3.1 #154

Description

@kronik

Hey... My project stopped compiling with the following errors:

Undefined symbol: _inflate
Undefined symbol: _zlibVersion
Undefined symbol: deflateInit2
Undefined symbol: _inflateEnd
Undefined symbol: _deflateEnd
Undefined symbol: inflateInit2

Undefined symbols for architecture x86_64:
  "_inflate", referenced from:
      chatapp.(Inflater in _9BC240083F71E5BF5B19CC359CE4C292).inflate(_: Swift.UnsafePointer<Swift.UInt8>, length: Swift.Int, final: Swift.Bool) throws -> (p: Swift.UnsafeMutablePointer<Swift.UInt8>, n: Swift.Int) in WebSocket.o
  "_zlibVersion", referenced from:
      chatapp.(Inflater in _9BC240083F71E5BF5B19CC359CE4C292).init(windowBits: Swift.Int) -> chatapp.(Inflater in _9BC240083F71E5BF5B19CC359CE4C292)? in WebSocket.o
      chatapp.(Deflater in _9BC240083F71E5BF5B19CC359CE4C292).init(windowBits: Swift.Int, memLevel: Swift.Int) -> chatapp.(Deflater in _9BC240083F71E5BF5B19CC359CE4C292)? in WebSocket.o
  "_deflateInit2_", referenced from:
      chatapp.(Deflater in _9BC240083F71E5BF5B19CC359CE4C292).init(windowBits: Swift.Int, memLevel: Swift.Int) -> chatapp.(Deflater in _9BC240083F71E5BF5B19CC359CE4C292)? in WebSocket.o
  "_inflateEnd", referenced from:
      chatapp.(Inflater in _9BC240083F71E5BF5B19CC359CE4C292).deinit in WebSocket.o
  "_deflateEnd", referenced from:
      chatapp.(Deflater in _9BC240083F71E5BF5B19CC359CE4C292).deinit in WebSocket.o
  "_inflateInit2_", referenced from:
      chatapp.(Inflater in _9BC240083F71E5BF5B19CC359CE4C292).init(windowBits: Swift.Int) -> chatapp.(Inflater in _9BC240083F71E5BF5B19CC359CE4C292)? in WebSocket.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions