Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2004 10:21:28 +0200
From:      Franz Klammer <klammer@webonaut.com>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: builderror: gdesklets-0.30pre -> syntax error before, "int64_t"
Message-ID:  <40F4ED08.4070606@webonaut.com>
In-Reply-To: <1089735543.966.1.camel@gyros>
References:  <40F3C3E5.2060304@webonaut.com> <1089735543.966.1.camel@gyros>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Marcus Clarke wrote:
> On Tue, 2004-07-13 at 07:13, Franz Klammer wrote:
> 
>>my first attempt to try out gdesklets-0.30pre fails because it
>>stops to build with the error message below.
>>
>>a short google search tell me that i must include <sys/types.h>
>>into libgtop_const.c and i open a bug at bugzilla.gnome.org.
>>
>>but one of the answers say that my installed version of libgtop
>>is too old - which is not true. so my question. is this an freebsd-specific
>>problem or was anything else wrong in my solution?
> 
> 
> I think the better solution would be to include sys/types.h in
> proclist.h.  Yes, this is most likely FreeBSD-specific as Linux might be
> doing header pollution to get int64_t.
> 

proclist.h is part of libgtop2. should i send-pr a patch?

franz.


> Joe
> 
> 
>>bugzilla link: http://bugzilla.gnome.org/show_bug.cgi?id=147422
>>
>>
>>mv -f .libs/_glibtopmodule_la-glibtop.lo _glibtopmodule_la-glibtop.lo
>>cc -o libgtop_const -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/incl
>>ude -I/usr/X11R6/include/libgtop-2.0   -L/usr/local/lib -L/usr/X11R6/lib -L/usr/
>>X11R6/lib -lXau -lgtop-2.0 -lglib-2.0 -liconv   libgtop_const.c
>>In file included from libgtop_const.c:11:
>>/usr/X11R6/include/libgtop-2.0/glibtop/proclist.h:75: error: syntax error before
>>  "int64_t"
>>/usr/X11R6/include/libgtop-2.0/glibtop/proclist.h:82: error: syntax error before
>>  "int64_t"
>>gmake[4]: *** [libgtop_const] Fehler 1
>>gmake[4]: Leaving directory `/usr/ports/deskutils/gdesklets.new/work/gDesklets-0
>>.30pre/libdesklets/system'
>>gmake[3]: *** [all-recursive] Fehler 1
>>gmake[3]: Leaving directory `/usr/ports/deskutils/gdesklets.new/work/gDesklets-0
>>.30pre/libdesklets/system'
>>gmake[2]: *** [all-recursive] Fehler 1
>>gmake[2]: Leaving directory `/usr/ports/deskutils/gdesklets.new/work/gDesklets-0
>>.30pre/libdesklets'
>>gmake[1]: *** [all-recursive] Fehler 1
>>gmake[1]: Leaving directory `/usr/ports/deskutils/gdesklets.new/work/gDesklets-0
>>.30pre'
>>gmake: *** [all] Fehler 2
>>*** Error code 2
>>
>>franz.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40F4ED08.4070606>