Re: [gtk-list] Trying to build glib 1.2.6 under Solaris



Wed Nov 17 1999, Nash, D. MAJ           EECS ->
> I'm having trouble building glib 1.2.6 under Solaris.  I can configure,
> make, and make install, all apparently without complaint.  But when I run
> "testglib", it crashes about three-quarters of the way through the tests.
> The program statements that are executed from testglib.c just before the
> crash are:
> 
> string = NULL;
> g_print (string);
> 
> When g_print is called, I'm getting a segmentation fault.  If I comment this
> line out, the remainder of the tests run without error, but I get some
> crashy behaviors with other applications that link to it.
> 
> My system (from uname -a):
> SunOS sol 5.7 Generic_106541-05 sun4u sparc SUNW, Ultra-Enterprise
> 
> gcc version 2.8.1

I hade the same problem, but upgrading to gcc 2.95 fixed it.
I tracked the error down to the wrong version of the g_return_if_failed
macro being used.

	n.

-- 
[ http://www.dtek.chalmers.se/~d95mback/ ] [ PGP: 0x453504F1 ] [ UIN: 4439498 ]
    Opinions expressed above are mine, and not those of my future employees.
		  Skingra er! Det finns ingenting att förstå!

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]