Snapshot of the problem:
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 `/cygdrive/c/cds/glib-1.2.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/cds/glib-1.2.5'
make: *** [all-recursive-am] Error 2
cygwin version:
GNU bash, version 2.05.0(6)-release (i686-pc-cygwin)
Copyright 2000 Free Software Foundation, Inc.
And my local fix on gstrfuncs.c, line 674:
const char *_EXFUN(strsignal, (int __signo));
/** ORIGINAL: extern char *strsignal (int sig); */
Works like a charm otherwise,
Thanks,
Walter.
Logged In: YES
user_id=294278
yep, i had the same problem,
but it works fine now
diff tofix as follows :
diff -rw pkgconfig-0.6.0/glib-1.2.8/gstrfuncs.c pkgconfig-
0.6.0-patch/glib-1.2.8/gstrfuncs.c
673a674,676
> #ifdef __CYGWIN__
> extern const char *_EXFUN(strsignal, (int __signo));
> #else
674a678
> #endif
after this everything is fine
Clive