Fixed it.  Need to change my procedures so that  I check RHEL6 before
tagging a release -- maybe even before pushing a patch upstream. 
Sigh... :-(

My fix won't work on Windows with odd character sets.  For windows you
need the glib version.  This is OK since we'll have to bundle a version
of glib when we install on Windows anyway...



On 04/15/2013 08:22 AM, Jamie Nguyen wrote:
> On 15/04/13 00:08, Alan Robertson wrote:
>> I just tagged 0.1.0-RC4 -- release candidate 4 for this first (0.1.0)
>> release.
> Hi Alan,
>
> Builds fine on Fedora 18 but getting an error when building on CentOS 6.
> Probably related to version of glib2 (2.22.5).
>
>
> DEBUG: [ 64%] Building C object
> clientlib/CMakeFiles/assimilationclientlib.dir/misc.c.o
> DEBUG: cd
> /builddir/build/BUILD/assimilation-20130414hg953f5c3a4e4b/build/clientlib &&
> /usr/lib/ccache/gcc  -Dassimilationclientlib_EXPORTS -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom
> -fasynchronous-unwind-tables  -g -fPIC
> -I/builddir/build/BUILD/assimilation-20130414hg953f5c3a4e4b/include
> -I/builddir/build/BUILD/assimilation-20130414hg953f5c3a4e4b/build/include 
> -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include    -g -O2 -Werror -Wall -Wformat=2
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings
> -Wcast-align -Winline -Wmissing-format-attribute -Wno-strict-aliasing
> -funsigned-char -Wextra -Wstack-protector -Wformat-security
> -D_FORTIFY_SOURCE=2 -o CMakeFiles/assimilationclientlib.dir/misc.c.o
> -c
> /builddir/build/BUILD/assimilation-20130414hg953f5c3a4e4b/clientlib/misc.c
> DEBUG: cc1: warnings being treated as errors
> DEBUG:
> /builddir/build/BUILD/assimilation-20130414hg953f5c3a4e4b/clientlib/misc.c:
> In function 'assim_merge_environ':
> DEBUG:
> /builddir/build/BUILD/assimilation-20130414hg953f5c3a4e4b/clientlib/misc.c:551:
> error: implicit declaration of function 'g_get_environ'
> DEBUG:
> /builddir/build/BUILD/assimilation-20130414hg953f5c3a4e4b/clientlib/misc.c:551:
> error: assignment makes pointer from integer without a cast
>
>
> Kind regards,
>


-- 
    Alan Robertson <[email protected]> - @OSSAlanR

"Openness is the foundation and preservative of friendship...  Let me claim 
from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________
Assimilation mailing list - Discovery-Driven Monitoring
[email protected]
http://lists.community.tummy.com/cgi-bin/mailman/listinfo/assimilation
http://assimmon.org/

Reply via email to