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

MacPorts noreply at macports.org
Sun Mar 18 01:08:57 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           
-----------------------------+----------------------------------------------

Comment(by quentin@…):

 Leopard's getting pretty old there :)

 I'm afraid you're the first person to try building mosh on Leopard. I'm
 talking with upstream right now; it looks like OS X already guarantees
 16-byte alignment for malloc, so we should be able to avoid the
 posix_memalign call.

 Before making just that change, though, I'm going to try to track down a
 Leopard machine to test the build on, to make sure there aren't any other
 problems.

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


More information about the macports-tickets mailing list