Summary: | dev-util/monotone-0.40 - /usr/include/libintl.h:40: error: expected unqualified-id before 'const' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mark Tiefenbruck <mark> |
Component: | Current packages | Assignee: | Daniel Black (RETIRED) <dragonheart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cnyegle, johnny, rose |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://article.gmane.org/gmane.comp.version-control.monotone.devel/15492 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 238026 |
Description
Mark Tiefenbruck
2008-09-24 04:46:01 UTC
Don't mix architectures, please: CFLAGS="-O2 -march=k8 -pipe -ggdb" CHOST="i686-pc-linux-gnu" Your system is an i686 configured OS, which is 32-bit. The CFLAGS you have there target a k8, which might be what you have but what GCC developers determine to be a 64-bit OS. I've had that in there for more than a year, and it's never caused a problem. At any rate, I get more or less the same error with -march=athlon-xp -msse2: -------------------------------------------------------------------------------- In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4/i686-pc-linux-gnu/bits/messages_members.h:43, from /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4/bits/locale_facets_nonio.h:1911, from /usr/lib/gcc/i686-pc-linux-gnu/4.3.1/include/g++-v4/locale:49, from /usr/include/boost/format.hpp:24, from sanity.cc:19: /usr/include/libintl.h:40: error: expected unqualified-id before 'const' /usr/include/libintl.h:40: error: expected `)' before 'const' /usr/include/libintl.h:40: error: expected `)' before 'const' /usr/include/libintl.h:40: error: expected initializer before 'const' /usr/include/libintl.h:45: error: expected unqualified-id before 'const' /usr/include/libintl.h:45: error: expected `)' before 'const' /usr/include/libintl.h:45: error: expected `)' before 'const' /usr/include/libintl.h:45: error: expected initializer before 'const' /usr/include/libintl.h:52: error: expected unqualified-id before 'const' /usr/include/libintl.h:52: error: expected `)' before 'const' /usr/include/libintl.h:52: error: expected `)' before 'const' /usr/include/libintl.h:52: error: expected initializer before 'const' /usr/include/libintl.h:62: error: expected unqualified-id before 'unsigned' /usr/include/libintl.h:62: error: expected `)' before 'unsigned' /usr/include/libintl.h:62: error: expected `)' before 'unsigned' /usr/include/libintl.h:62: error: expected initializer before 'unsigned' /usr/include/libintl.h:68: error: expected unqualified-id before 'unsigned' /usr/include/libintl.h:68: error: expected `)' before 'unsigned' /usr/include/libintl.h:68: error: expected `)' before 'unsigned' /usr/include/libintl.h:68: error: expected initializer before 'unsigned' /usr/include/libintl.h:74: error: expected unqualified-id before 'unsigned' /usr/include/libintl.h:74: error: expected `)' before 'unsigned' /usr/include/libintl.h:74: error: expected `)' before 'unsigned' /usr/include/libintl.h:74: error: expected initializer before 'unsigned' /usr/include/libintl.h:83: error: expected unqualified-id before 'const' /usr/include/libintl.h:83: error: expected `)' before 'const' /usr/include/libintl.h:83: error: expected `)' before 'const' /usr/include/libintl.h:83: error: expected initializer before 'const' /usr/include/libintl.h:87: error: expected unqualified-id before 'const' /usr/include/libintl.h:87: error: expected `)' before 'const' /usr/include/libintl.h:87: error: expected `)' before 'const' /usr/include/libintl.h:87: error: expected initializer before 'const' /usr/include/libintl.h:92: error: expected unqualified-id before 'const' /usr/include/libintl.h:92: error: expected `)' before 'const' /usr/include/libintl.h:92: error: expected `)' before 'const' /usr/include/libintl.h:92: error: expected initializer before 'const' make[2]: *** [mtn-sanity.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/dev-util/monotone-0.40/work/monotone-0.40' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-util/monotone-0.40/work/monotone-0.40' make: *** [all] Error 2 -------------------------------------------------------------------------------- I'll recompile glibc, gcc, and boost, but I suspect this is not related to my -march flag. I've recompiled boost, gcc, and glibc, and I still get the same error. Reopening.... I encountered this problem when compiling media-sound/ardour-2.5-r1. I had -nls in my global USE flags. I recompiled gcc, glibc, gettext and the offending package (in this case Ardour) with USE="nls" and the problem went away. thanks Daniel J. - Reported upstream. same error here. seems this bug haven't fixed in 0.4.2 too. Based on comments on the mailing list, this bug was fixed in version 0.43. I have submitted an ebuild for this version in bug 263626 *** Bug 265001 has been marked as a duplicate of this bug. *** *** Bug 260349 has been marked as a duplicate of this bug. *** added 0.43 |