Re: [Fwd: Re: [gnome-slackware]problems with compiling libgtop]



I had this problem a while back too, seems to be fine now with the
latest kernel headers from Slackware-current.  Anyway, at the top of
ppp.c add the following lines:


#define ISDN_MAX_DRIVERS    32
#define ISDN_MAX_CHANNELS   64


Those are from <linux/isdn.h>, but I think in the older header there's
an #ifdef around them that prevents them from being defined.  You could
also try just making sure linux/isdn.h is being #included.

-Sam

On Sun, 2002-06-09 at 06:10, Stef van der Made wrote:
> 
> I'm trying to join the bugbashing team for gnome 2 but a very nasty 
> error keeps me from running the new desktop. I'm hoping that sombody can 
> help me with solving this problem.
> 
> When compiling libgtop with garnome 0.10.6 I'm getting these errors in 
> make -s install
> 
> -I../.. -I../.. -I../../sysdeps/linux -I../../include 
> -DNEED_GNOMESUPPORT_H -I../../support -I../../support 
> -I/home/stef/garnome/include/glib-2.0 
> -I/home/stef/garnome/lib/glib-2.0/include -I/home/stef/garnome/include 
> -g -O2 -I/home/stef/garnome/include -g -O2 -I/home/stef/garnome/include 
> -I/usr/X11R6/include -DGTOPLOCALEDIR=\"/home/stef/garnome/share/locale\" 
> -DLIBGTOP_VERSION=\"1.90.2\" -DLIBGTOP_SERVER_VERSION=\"5\" 
> -DLIBGTOP_VERSION_CODE=1090002 
> -DLIBGTOP_SERVER=\"/home/stef/garnome/bin/libgtop_server\" 
> -I/home/stef/garnome/include -I/home/stef/garnome/include 
> -I/home/stef/garnome/include -I/home/stef/garnome/include -g -O2 
> -I/home/stef/garnome/include -g -O2 -I/home/stef/garnome/include -c 
> ppp.c  -fPIC -DPIC -o ppp.o
> In file included from 
> /home/stef/garnome/lib/glib-2.0/include/glibconfig.h:9,
>                 from /home/stef/garnome/include/glib-2.0/glib/gtypes.h:30,
>                 from /home/stef/garnome/include/glib-2.0/glib/galloca.h:30,
>                 from /home/stef/garnome/include/glib-2.0/glib.h:30,
>                 from ppp.c:36:
> /home/stef/garnome/include/glib-2.0/glib/gmacros.h:65: warning: 
> `G_GNUC_NORETURN' redefined
> ../../include/glibtop/global.h:53: warning: this is the location of the 
> previous definition
> /home/stef/garnome/include/glib-2.0/glib/gmacros.h:67: warning: 
> `G_GNUC_CONST' redefined
> ../../include/glibtop/global.h:55: warning: this is the location of the 
> previous definition
> /home/stef/garnome/include/glib-2.0/glib/gmacros.h:69: warning: 
> `G_GNUC_UNUSED' redefined
> ../../include/glibtop/global.h:57: warning: this is the location of the 
> previous definition
> 
> 
> ppp.c: In function `get_ISDN_stats':
> ppp.c:58: `ISDN_MAX_CHANNELS' undeclared (first use in this function)
> ppp.c:58: (Each undeclared identifier is reported only once
> ppp.c:58: for each function it appears in.)
> make[6]: *** [ppp.lo] Error 1
> make[5]: *** [all-recursive] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive-am] Error 2
> make[2]: *** [build-work/libgtop-1.90.2/Makefile] Error 2
> make[1]: *** [dep-../../gnome/libgtop] Error 2
> make: *** [dep-../../gnome/gnome-system-monitor] Error 2
> 
> I'm running slackware 8.0 with kernel 2.4.18 and using gcc 2.95.3 for 
> the compilation process.
> 
> Thanks in advance for your help.
> 
> Stef
> 
> -- 
> garnome-list mailing list
> garnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/garnome-list





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