[MacPorts] #29358: gettext: Undefined symbols _bswap_32 when /usr/include/byteswap.h is present (was: gettext: Undefined symbols _bswap_32)

MacPorts noreply at macports.org
Wed Nov 9 09:11:25 PST 2011


#29358: gettext: Undefined symbols _bswap_32 when /usr/include/byteswap.h is
present
--------------------------------+-------------------------------------------
  Reporter:  ldduffy@…          |       Owner:  ryandesign@…           
      Type:  defect             |      Status:  closed                 
  Priority:  Normal             |   Milestone:                         
 Component:  ports              |     Version:  1.9.2                  
Resolution:  invalid            |    Keywords:                         
      Port:  gettext            |  
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Replying to [comment:11 armand.tanzarian@…]:
 > hmm, curious that an empty file could be so problematic?

 Not curious at all. gettext tests to see if you have the file byteswap.h,
 and if so, assumes it defines the things that byteswap.h typically defines
 on other operating systems (i.e. functions or macros that help you swap
 bytes). If byteswap.h is not present, gettext uses its own internal
 functions to do that. You had the file, but it did not define the expected
 functions, therefore problem.

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


More information about the macports-tickets mailing list