[MacPorts] #39702: magicspp: Undefined symbols: _XCloseDisplay _XCreateSimpleWindow _XMapWindow _XNextEvent _XOpenDisplay _XSelectInput _XStoreName

MacPorts noreply at macports.org
Wed Jul 10 20:20:36 PDT 2013


#39702: magicspp: Undefined symbols: _XCloseDisplay _XCreateSimpleWindow
_XMapWindow _XNextEvent _XOpenDisplay _XSelectInput _XStoreName
--------------------------+-----------------------
 Reporter:  ryandesign@…  |      Owner:  takeshi@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.2.99
 Keywords:                |       Port:  magicspp
--------------------------+-----------------------
 Using ports built from MacPorts trunk, magicspp fails to build:
 {{{
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_XCloseDisplay", referenced from:
 :info:build       magics::CairoDriver::close()     in CairoDriver.o
 :info:build   "_XCreateSimpleWindow", referenced from:
 :info:build       magics::CairoDriver::setupNewSurface() const in
 CairoDriver.o
 :info:build   "_XMapWindow", referenced from:
 :info:build       magics::CairoDriver::setupNewSurface() const in
 CairoDriver.o
 :info:build   "_XNextEvent", referenced from:
 :info:build       magics::CairoDriver::close()     in CairoDriver.o
 :info:build   "_XOpenDisplay", referenced from:
 :info:build       magics::CairoDriver::setupNewSurface() const in
 CairoDriver.o
 :info:build   "_XSelectInput", referenced from:
 :info:build       magics::CairoDriver::setupNewSurface() const in
 CairoDriver.o
 :info:build   "_XStoreName", referenced from:
 :info:build       magics::CairoDriver::setupNewSurface() const in
 CairoDriver.o
 :info:build ld: symbol(s) not found for architecture x86_64
 }}}

 Presumably if magicspp builds ok with MacPorts 2.1.x, then it was relying
 on the overlinking that MacPorts trunk no longer does, and whatever
 library provides those symbols (`-lX11`?) should be added to the LDFLAGS.

-- 
Ticket URL: <https://trac.macports.org/ticket/39702>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list