I got the glib-1.2.6 source and put it in
cygwin
ran smooth during ./configure
but during make process, I got following
errors
/bin/sh ./libtool --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I.
-DG_LOG_DOMAIN=
g_log_domain_glib -g -O2 -Wall -D_REENTRANT -c gstrfuncs.c gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D _REENTRANT -c gstrfuncs.c -o gstrfuncs.o gstrfuncs.c: In function `g_strsignal': gstrfuncs.c:672: conflicting types for `strsignal' /usr/include/string.h:70: previous declaration of `strsignal' gstrfuncs.c:672: warning: extern declaration of `strsignal' doesn't match global one make[2]: *** [gstrfuncs.lo] Error 1 make[2]: Leaving directory `/home/Administrator/glib-1.2.6' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Administrator/glib-1.2.6' make: *** [all-recursive-am] Error 2 how to fix it ?
|