Error compiling glib-1.2.10



Help please,


My environment is Mandriva2006, kernel 2.6.12-12mdk,
i686 AMD Duron.

I need GTK-1.2 to compile Lazarus of FreePascal.org.
I downloaded GLIB-1.2.10.TAR.GZ and GTK+-1.2.10.TAR.GZ.

I typed:
* tar -xzvf glib-1.2.10.tar.gz
* cd glib-1.2.10
* CFLAGS=-O2 ./configure
* make

resulting error:
----------------------------------------------------------------------------------

gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gstrfuncs.c  -fPIC -DPIC -o .libs/gstrfuncs.lo
gstrfuncs.c: In function 'g_printf_string_upper_bound':
gstrfuncs.c:870: error: syntax error before string constant
gstrfuncs.c:1037: error: syntax error before string constant
gstrfuncs.c:1080: error: syntax error before string constant
gstrfuncs.c:1111: error: syntax error before string constant
gstrfuncs.c: In function 'g_strdown':
gstrfuncs.c:1139: warning: pointer targets in assignment differ in signedness
gstrfuncs.c: In function 'g_strup':
gstrfuncs.c:1155: warning: pointer targets in assignment differ in signedness
gstrfuncs.c: In function 'g_strchug':
gstrfuncs.c:1314: warning: pointer targets in assignment differ in signedness
gstrfuncs.c:1317: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
make[2]: ** [gstrfuncs.lo] Erro 1
make[2]: Leaving directory `/usr/local/src/glib-1.2.10'
make[1]: ** [all-recursive] Erro 1
make[1]: Leaving directory `/usr/local/src/glib-1.2.10'
make: ** [all-recursive-am] Erro 2
-----------------------------------------------------------
What solve it?

Thank's

Paulo Nievierowski



























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