Opened 6 years ago

Closed 3 years ago

Last modified 3 years ago

#57292 closed defect (fixed)

xhyve @20180530: Undefined symbols _deflate _crc32 _deflateEnd _deflateInit_

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: xhyve

Description

xhyve @20180530 fails to build on OS X Yosemite and El Capitan:

undef: _deflate
undef: _crc32
undef: _deflateEnd
undef: _deflateInit_
Undefined symbols for architecture x86_64:
  "_deflate", referenced from:
      _rfb_send_screen in xhyve_lto.o
      _rfb_send_all in xhyve_lto.o
  "_crc32", referenced from:
      _rfb_send_screen in xhyve_lto.o
  "_deflateEnd", referenced from:
      _rfb_thr in xhyve_lto.o
      _rfb_send_screen in xhyve_lto.o
      _rfb_send_all in xhyve_lto.o
  "_deflateInit_", referenced from:
      _rfb_thr in xhyve_lto.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

Change History (2)

comment:1 Changed 3 years ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In 8ef7d36c054b1bc65fb2ae1a516c411e124ab97c/macports-ports (master):

xhyve: add missed dependencies

xhyve is linked to zlib. Usually it is installed as side effect from
another dependencies but it isn't trur for 10.11 and 10.10 builds. This
builds are failed on linking phase
`
Undefined symbols for architecture x86_64:

"_deflate", referenced from:

_rfb_send_screen in xhyve_lto.o
_rfb_send_all in xhyve_lto.o

"_crc32", referenced from:

_rfb_send_screen in xhyve_lto.o

"_deflateEnd", referenced from:

_rfb_thr in xhyve_lto.o
_rfb_send_screen in xhyve_lto.o
_rfb_send_all in xhyve_lto.o

"_deflateInit_", referenced from:

_rfb_thr in xhyve_lto.o

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`

Closes: #57292

comment:2 Changed 3 years ago by catap (Kirill A. Korinsky)

In d55db42123d32cbad819206dd2e07a50afa07a74/macports-ports (master):

xhyve: add zlib inside xcode project

Closes: #57292

Note: See TracTickets for help on using tickets.