On 2/22/07, mail <[EMAIL PROTECTED]> wrote:
On Thu, 2007-02-22 at 15:18 +0100, Christoph Nodes wrote:
> On 2/22/07, mail <[EMAIL PROTECTED]> wrote:
> >
> > I am still having the same problem.
> > Anybody know what this could be?
>
> The error results from "extra tokens at end of #endif directive" in
> /usr/lib/glib/include/glibconfig.h.
> What does "sed -n 39p /usr/lib/glib/include/glibconfig.h" give you?
>
> The compiler flag -Werror is not very reasonable for most packages as
> it issues an error on any warning (like the "extra tokens"-warning).
> Did you set this flag in your CFLAGS variable?
Thanks, this compile stuff is a bit foggy to me...
here is the result of your command
# sed -n 39p /usr/lib/glib/include/glibconfig.h
#endif#define G_HAVE_GINT64 1
This is weird. Did you edit this file? My glibconfig.h looks something like
39 #endif
40
41 #define G_HAVE_GINT64 1
You could edit your /usr/lib/glib/include/glibconfig.h and insert 2
newlines between "#endif" and "#define G_HAVE_GINT64 1" and try to
emerge again, but that is certainly not the proper way to fix this.
Here is the top of my make.conf file:
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
So that is not the problem. The -Werror flag then is something the
g-wrap-ebuild wants.
This is on an old 450Mhz PIII. I had gnucash running before, but I had a
hd crash and am now reinstalling everything.
--
[email protected] mailing list