error: conflicting types for 'uuid_t' .......what?

Anders F Björklund afb at macports.org
Sat Feb 23 03:46:22 PST 2008


Ryan Schmidt wrote:

> On Feb 23, 2008, at 03:38, Brent Austin wrote:
>
>> When I try to build apr I get the following:
>>
>> In file included from misc/unix/rand.c:39:
>> /opt/local/include/uuid.h:94: error: conflicting types for 'uuid_t'
>> /usr/include/unistd.h:121: error: previous declaration of 'uuid_t'
>> was here
>> make[1]: *** [misc/unix/rand.lo] Error 1
>> make: *** [all-recursive] Error 1
>>
>> Error: The following dependencies failed to build: apr db44
>> Error: Status 1 encountered during processing.
>
> What port provides /opt/local/include/uuid.h? I don't have it on my
> system. Please type:
>
> port provides /opt/local/include/uuid.h
>
> and show us the output. Which port was installing at the time of the
> error -- apr or db44? Also please tell us your version of Mac OS X,
> Xcode, MacPorts, and what type of Mac you have.

Sounds like http://trac.macports.org/projects/macports/ticket/14203

It's a bug in ossp-uuid, see http://cvs.ossp.org/tktview?tn=164,4

--anders



More information about the macports-users mailing list