[MacPorts] #24541: gcc43 failed to compile because of typedef conflict

MacPorts noreply at macports.org
Sat May 8 09:49:28 PDT 2010


#24541: gcc43 failed to compile because of typedef conflict
-----------------------------------+----------------------------------------
 Reporter:  rwilsont1@…            |       Owner:  mww@…           
     Type:  defect                 |      Status:  new             
 Priority:  Normal                 |   Milestone:                  
Component:  ports                  |     Version:  1.8.2           
 Keywords:                         |        Port:  gcc43           
-----------------------------------+----------------------------------------

Comment(by donnie.smith@…):

 I ran into this error as well.  In my case, it was caused by a symlink
 from /usr/include/malloc.h to /usr/include/malloc/malloc.h that I had
 created to satiate an unrelated program.  The existence of this header was
 recognized by gcc's configure script, which caused it to be included by
 system.h.  Unfortunately, malloc/malloc.h includes other type headers that
 eventually pull in mach/vm_types.h which contains a pointer_t type that
 conflicts with an unrelated type in module.c.

 In short, the fix (for me, at least) was to get rid of the
 /usr/include/malloc.h I had added.

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


More information about the macports-tickets mailing list