Re: compiling glib-1.2.7

Loban Rahman <> writes:

> I get the following error compiling glib-1.2.7 using gcc-2.9.5
> gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -DG_ENABLE_DEBUG -I/home/loban/usr/include -I/usr/include -I/usr/ug/include -I/home/loban/usr/include -I/usr/include -I/usr/ug/include -Wall -D_REENTRANT -Wp,-MD,.deps/gerror.pp -c gerror.c  -fPIC -DPIC -o .libs/gerror.lo
> gerror.c: In function `stack_trace':
> gerror.c:237: Invalid `asm' statement:
> gerror.c:237: fixed or forbidden register 2 (cx) was spilled for class CREG.

This probably means that your compiler is mismatched with your
binutils, or some such thing. It has nothing to do with glib or

And plenty of people compile GLib with GCC 2.95 (which is, I assume,
what you mean, not 2.9.5).


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