Stas, Right after I had decided to hold off on this I get this email, and now I'm confused.
If I use xmalloc.h I get all sorts of errors, so I went back to libgtop-2.0.6 and changed xmalloc.h to the Solaris version of malloc.h. That allowed the Server to build, however GTop still fails with the following errors GTop.xs: In function `XS_GTop_field_u_int64_t': GTop.xs:112: error: `u_int64_t' undeclared (first use in this function) GTop.xs:112: error: (Each undeclared identifier is reported only once GTop.xs:112: error: for each function it appears in.) GTop.xs:112: error: `ptr' undeclared (first use in this function) GTop.xs:112: error: parse error before ')' token GTop.c: In function `XS_GTop__Mountentry_dev': GTop.c:1050: error: `u_int64_t' undeclared (first use in this function) GTop.c:1050: error: parse error before "RETVAL" GTop.c:1066: error: `RETVAL' undeclared (first use in this function) GTop.c: In function `XS_GTop__MapEntry_flags': GTop.c:1149: error: `u_int64_t' undeclared (first use in this function) GTop.c:1149: error: parse error before "RETVAL" GTop.c:1165: error: `RETVAL' undeclared (first use in this function) GTop.c: In function `XS_GTop__MapEntry_start': GTop.c:1180: error: `u_int64_t' undeclared (first use in this function) GTop.c:1180: error: parse error before "RETVAL" GTop.c:1196: error: `RETVAL' undeclared (first use in this function) GTop.c: In function `XS_GTop__MapEntry_end': GTop.c:1211: error: `u_int64_t' undeclared (first use in this function) GTop.c:1211: error: parse error before "RETVAL" GTop.c:1227: error: `RETVAL' undeclared (first use in this function) GTop.c: In function `XS_GTop__MapEntry_offset': GTop.c:1242: error: `u_int64_t' undeclared (first use in this function) GTop.c:1242: error: parse error before "RETVAL" GTop.c:1258: error: `RETVAL' undeclared (first use in this function) GTop.c: In function `XS_GTop__MapEntry_perm': GTop.c:1273: error: `u_int64_t' undeclared (first use in this function) GTop.c:1273: error: parse error before "RETVAL" GTop.c:1289: error: `RETVAL' undeclared (first use in this function) GTop.c: In function `XS_GTop__MapEntry_inode': GTop.c:1304: error: `u_int64_t' undeclared (first use in this function) GTop.c:1304: error: parse error before "RETVAL" GTop.c:1320: error: `RETVAL' undeclared (first use in this function) GTop.c: In function `XS_GTop__MapEntry_device': GTop.c:1335: error: `u_int64_t' undeclared (first use in this function) GTop.c:1335: error: parse error before "RETVAL" GTop.c:1351: error: `RETVAL' undeclared (first use in this function) make: *** [GTop.o] Error 1 So all in all I'm still not getting too far. Pete -- "Unencumbered by the thought process" --1992-2000 Click and Clack presidential campaign slogan Stas Bekman said: > Cool, so we have Radoslaw, who understands in glib/gnome and forwarded a > patch :) > > We still need to support older libgtop, so it can't be applied as is. Need > to > figure out how to keep both generations working. But meanwhile Pete and > Paul, > try Radoslaw's patch (attached). > > Radoslaw, do you know how can we #ifdef on 2.0.6 in the C code? I spent > hours > trying to figure it out but in vain. The only way I see is to run > > pkgconfig --modversion libgtop-2.0 > > and then define our own define, which I did here: > http://apache.org/~stas/GTop-0.13.tar.gz (which is not quite working, > because > of the missing glibtop_free symbol.) > > __________________________________________________________________ > Stas Bekman JAm_pH ------> Just Another mod_perl Hacker > http://stason.org/ mod_perl Guide ---> http://perl.apache.org > mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com > http://modperlbook.org http://apache.org http://ticketmaster.com > -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html