builderror: gdesklets-0.30pre -> syntax error before, "int64_t"

Franz Klammer klammer at webonaut.com
Wed Jul 14 01:21:43 PDT 2004


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.


More information about the freebsd-gnome mailing list