[MacPorts] #37603: avarice @2.11 Build failure - config.h not included correctly

MacPorts noreply at macports.org
Thu Jan 10 14:14:20 PST 2013


#37603: avarice @2.11 Build failure - config.h not included correctly
-------------------------+--------------------------------
 Reporter:  christian@…  |      Owner:  macports-tickets@…
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.1.2
 Keywords:               |       Port:  avarice
-------------------------+--------------------------------
 Mountain Lion 10.8.2, Xcode 4.5.2

 Compilation of avarice fails.  This error appears in the log (attached):

 {{{
 :info:build In file included from jtag2prog.cc:39:
 :info:build /opt/local/avr/host/include/bfd.h:37:2: error: config.h must
 be included before this header
 :info:build #error config.h must be included before this header
 :info:build  ^
 }}}

 Additionally there are several instances of this warning:

 {{{

 :info:build In file included from jtag2misc.cc:34:
 :info:build ./jtag.h:841:8: warning: struct 'jtag' was previously declared
 as a class [-Wmismatched-tags]
 :info:build extern struct jtag *theJtagICE;
 :info:build        ^
 :info:build ./jtag.h:599:7: note: previous use is here
 :info:build class jtag
 :info:build       ^
 :info:build ./jtag.h:841:8: note: did you mean class here?
 :info:build extern struct jtag *theJtagICE;
 :info:build        ^~~~~~
 :info:build        class
 }}}

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


More information about the macports-tickets mailing list