Ticket 179: unable to call uuid_compare on OS X
on OS X, vendor uuid_compare is contained in a runtime library, which you cannot avoid linking to (see ¤http://developer.apple.com/mac/library/DOCUMENTATION/Darwin/Reference/ManPages/man3/uuid_compare.3.html).
My hacky solution to this problem was to add the following code to uuid.h.in, before compiling and installing ossp-uuid.
  /*
     OS X ships with 'int uuid_compare(uuid_t uu1, uuid_t uu2)' in the c library.
     This will always be picked up when linking. So use a non conflicting name.
  */
  #ifdef __APPLE__
  #define uuid_compare ossp_uuid_compare
  #endif
Maybe there's a better way to solve this?
Remarks:
Properties:
  | Type: | code |  | Version: | 1.6.2 | 
  | Status: | new |  | Created: | 2010-Jan-20 08:09 | 
  | Severity: | 2 |  | Last Change: | 2010-Jan-20 08:09 | 
  | Priority: | 1 |  | Subsystem: | uuid | 
  | Assigned To: | rse |  | Derived From: |  | 
  | Creator: | anonymous |