Summary: | app-misc/mc-4.6.0-r14 failes to compile using gcc-4.1.0 and linux-headers-2.6.11-r4. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Rothe (RETIRED) <corsair> |
Component: | Current packages | Assignee: | Tim Yamin (RETIRED) <plasmaroo> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | ppc64 |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 122768 |
Description
Markus Rothe (RETIRED)
2006-03-29 12:22:01 UTC
Want to pull "#include <asm/types.h>" out of /usr/include/asm-ppc64/elf.h and see what happens? this gives another error: /usr/include/asm-ppc64/elf.h:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_vrreg_t' /usr/include/asm-ppc64/elf.h:139: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_vrregset_t' /usr/include/asm-ppc64/elf.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_vrregset_t32' Guess you'll have to do this then: --- types.h 2006-04-18 16:46:19.000000000 +0100 +++ types.h~ 2006-04-18 16:46:07.000000000 +0100 @@ -16,6 +16,10 @@ * 2 of the License, or (at your option) any later version. */ +#ifdef umode_t /* Fix userspace definitions, we do it properly here... */ +#undef umode_t +#endif + typedef unsigned int umode_t; /* sorry, same error as in comment #2. Ah, you need to undo the comment #1 change, forgot to mention that, sorry. Patch added to 2.6.11-r5 headers, reopen bug if you still get problems. yes, 2.6.11-r5 fixed it. Could you please add this to 2.6.16, too? No longer blocking unmasking 4.1 since those headers are masked Fixed in 2.6.16-3. |