Re: libgtop problem



On Wed, 2003-11-05 at 21:45, ZHAO Wei wrote:
> Jens Bech Madsen wrote:
> > On Wed, 2003-11-05 at 05:49, ZHAO Wei wrote:
> > 
> >>Anybody see the problem when compiling libgtop in Debian unstable with 
> >>the latest GARNOME ?
> 
> I got this, and several similar ones:
> 
> In file included from 
> /home/zw/garnome/031105/lib/glib-2.0/include/glibconfig.h:9,
>                   from 
> /home/zw/garnome/031105/include/glib-2.0/glib/gtypes.h:30,
>                   from 
> /home/zw/garnome/031105/include/glib-2.0/glib/galloca.h:30,
>                   from /home/zw/garnome/031105/include/glib-2.0/glib.h:30,
>                   from ppp.c:36:
> /home/zw/garnome/031105/include/glib-2.0/glib/gmacros.h:68:1: warning: 
> "G_GNUC_UNUSED" redefined
> In file included from ../../glibtop.h:27,
>                   from ppp.c:24:
> ../../include/glibtop/global.h:56:1: warning: this is the location of 
> the previous definition
> 
> The compiling stopped right after this warning. I tryed to do some small 
> edit on the various header files, but it seems I can't get it straight. 
> Any suggestions?

A warning normally shouldn't stop the compile. If it does, you can
remove -Werror from the Makefiles in the libgtop work directories. That
should stop errors from being treated as errors (it should say so right
before the warning if that is the case).


Cheers,
Jens





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]