[MacPorts] #40998: libgcc @4.8.1 Compile error on Mavericks macports 2.2.1 package (Error: conflicting declaration 'typedef enum pointer_t pointer_t')

MacPorts noreply at macports.org
Sun Nov 3 11:52:07 PST 2013


#40998: libgcc @4.8.1 Compile error on Mavericks macports 2.2.1 package (Error:
conflicting declaration 'typedef enum pointer_t pointer_t')
---------------------------------+-------------------
  Reporter:  William.Capehart@…  |      Owner:  mww@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.2.1
Resolution:                      |   Keywords:
      Port:  libgcc              |
---------------------------------+-------------------

Comment (by William.Capehart@…):

 I have found what is likely '''''not''''' a best practices-friendly
 solution by trespassing into the ''/usr'' area:

 I have commented-out line 40 of /usr/include/mach/vm_types.h  Before this,
 I DID try to comment out its counterpart line in
 libgcc/work/gcc-4.8.1/gcc/fortran/module.c but this produced far more
 errors, and went to vm_types.h instead.  I was able to compile libgcc
 (4.8.2) and gcc48.  And I restored the vm_types.h to before and moved
 forward with building '''mpich''', '''netcdf''', and other macport builds.
 I have only had a problem with '''ncarg''' but that may be an unrelated
 matter and am submitting the problem there'''''' under separate cover.

 I do not know if this qualifies as a "works for me fix."

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


More information about the macports-tickets mailing list