Re: libgtop-0.99.2 problems
- From: Michael Hall <mhall riverside org>
- To: GNOME list <gnome-list gnome org>
- Subject: Re: libgtop-0.99.2 problems
- Date: Thu, 11 Feb 1999 12:26:07 -0800
On Thu, Feb 11, 1999 at 07:15:01AM -0800, John Kennedy wrote:
> On Thu, Feb 11, 1999 at 03:02:32AM -0800, Michael Hall wrote:
> > I can't compile libgtop (0.99.2) anymore, upgraded from glibc-2.0.7pre6/
> > egcs-1.0.3.a to glibc-2.1/egcs-1.1.1. Always worked fine before but now
> > I get the following while compiling: ...
> > mountlist.c:52: macro `strstr' used without args
>
> This is the patch I've been using with glibc-2.1.x.
Great, thank you, worked like a charm and had no problems with gtop
or libgtop-bindings. After double-checking all the latest GNOME tarballs
compiled with glibc-2.1 with only libgtop needing the change below and
the previous changes I posted with the changes needed for gnome-network
(adding #include <sys/uio.h> to a couple of file).
Out of curiousity did you also have the problem with gnome-network or
just me ?
PS: Figured it was something simple but not being a programmer myself
I couldn't figure this one out :-( I can generally mangle Makefiles
as needed and solve missing libs, headers and stuff by searching
through the include directory or adjusting compile flags, its when
something isn't missing I have problems :-)
> --- ./sysdeps/common/mountlist.c.OLD Fri Nov 20 13:59:37 1998
> +++ ./sysdeps/common/mountlist.c Tue Jan 19 19:56:37 1999
> @@ -49,7 +49,9 @@
> #define xstrdup(p1) glibtop_strdup_r (NULL, p1)
> #define xfree(p1) glibtop_free_r (NULL, p1)
>
> +#ifndef strstr
> char *strstr ();
> +#endif
> void error ();
>
> #ifdef HAVE_SYS_PARAM_H
--
Despite the cost of living, it remains popular.
Mike Hall <mhall@riverside.org>, (MH993) - http://www.riverside.org
System Administrator (*nix, Perl, CGI hacker, certified OS/2 Specialist)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]