[MacPorts] #25949: activewire: 'u_int32_t' undeclared (first use in this function)

MacPorts noreply at macports.org
Mon Oct 4 20:54:43 PDT 2010


#25949: activewire: 'u_int32_t' undeclared (first use in this function)
------------------------------+---------------------------------------------
 Reporter:  snc@…             |       Owner:  ryandesign@…           
     Type:  defect            |      Status:  assigned               
 Priority:  Normal            |   Milestone:                         
Component:  ports             |     Version:  1.9.99                 
 Keywords:                    |        Port:  activewire             
------------------------------+---------------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => ryandesign@…
  * status:  new => assigned


Comment:

 Replying to [comment:1 ryandesign@…]:
 > error: 'u_int32_t' undeclared (first use in this function)

 This error appears to occur only when using the 10.5 SDK (which the port
 always does) or when building on 10.5.

 The remaining errors are of this type:

 {{{
 error: invalid conversion from 'void* (*)(uint32, void*)' to 'void*
 (*)(CSSM_SIZE, void*)'
 }}}

 This appears to be because this software is using an outdated version of
 Apple's libCdsaCrypt sample code, and usage of uint32 in this code needs
 to be replaced with the 64-bit-safe CSSM_SIZE type,
 [http://lists.apple.com/archives/Xcode-users/2008/May/msg00542.html as
 discussed on Xcode-users] and as seen in
 [http://www.opensource.apple.com/source/DirectoryService/DirectoryService-621/CDSA/libCdsaCrypt.cpp
 a later version of this code provided by Apple].

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


More information about the macports-tickets mailing list