| Summary: | sys-kernel/ksymoops-2.4.11-r1 with sys-devel/binutils-2.22.90 - In file included from ksymoops.h:9:0, from io.c:11: /usr/include/bfd.h:37:2: error: #error config.h must be included before this header | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin von Gagern <Martin.vGagern> |
| Component: | [OLD] Core system | Assignee: | Gentoo Kernel Miscellaneous <kernel-misc> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: |
http://sourceware.org/bugzilla/show_bug.cgi?id=14072 http://sourceware.org/bugzilla/show_bug.cgi?id=14243 |
||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Coverting this old, unmaintained project to use autotools is probably overkill. A simple workaround is to define a macro called PACKAGE in ksymoops.h before including <bfd.h>. I attached a patch to bug 428728 since this is a duplicate of that one. *** This bug has been marked as a duplicate of bug 428728 *** |
sys-kernel/ksymoops-2.4.11-r1 fails to compile against sys-devel/binutils-2.22.90, stating error messages like the following: In file included from ksymoops.h:9:0, from io.c:11: /usr/include/bfd.h:37:2: error: #error config.h must be included before this header The #error line was introduced in response to http://sourceware.org/bugzilla/show_bug.cgi?id=14072 to deal with binutils-internal inclusion policy. Effects on other programs, very much like the problem described above, were also reported at http://sourceware.org/bugzilla/show_bug.cgi?id=14243 That report was closed WONTFIX, with the indication that projects including that bfd.h should generate and include an autotooled config.h, so I guess that's what ksymoops should do.