Re: [MacPorts] #33672: mosh: error: ‘posix_memalign’ was not declared in this scope (was: mosh: error: ‘__builtin_bswap64’ was not declared in this scope)

MacPorts noreply at macports.org
Sun Mar 18 00:45:19 PDT 2012


#33672: mosh: error: ‘posix_memalign’ was not declared in this scope
-----------------------------+----------------------------------------------
 Reporter:  sondy@…          |       Owner:  quentin@…      
     Type:  defect           |      Status:  new            
 Priority:  Normal           |   Milestone:                 
Component:  ports            |     Version:  2.0.4          
 Keywords:  leopard tiger    |        Port:  mosh           
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):

  * keywords:  => leopard tiger


Comment:

 Hmm, if you don't have /usr/include/byteswap.h then there's no point
 trying to identify where it came from. :)

 The new main.log does not show the same error as before; it shows:

 {{{
 :info:build crypto.cc:52: error: ‘posix_memalign’ was not declared in this
 scope
 }}}

 As I understand it, posix_memalign is available in Snow Leopard and later,
 and the log shows you're on Leopard, so this version of this software may
 simply not work on Leopard anymore. You should report that to the
 developers and see if they're interested in fixing it. We had a similar
 problem with libtorrent that's discussed in #27289; that and
 [http://stackoverflow.com/questions/196329/osx-lacks-memalign this
 stackoverflow question] might be good starting points for the mosh
 developers to fix this, or for us to patch the port, if the developers are
 unwilling to fix it themselves.

-- 
Ticket URL: <https://trac.macports.org/ticket/33672#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list