Opened 11 years ago

Closed 11 years ago

#37603 closed defect (fixed)

avarice @2.11 Build failure - config.h not included correctly

Reported by: christian@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: avarice

Description

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

Attachments (1)

main.log (33.2 KB) - added by christian@… 11 years ago.
port install log

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by christian@…

Attachment: main.log added

port install log

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

The problem seems to be gone in 2.13.

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.