glib 1.1.13 FreeBSD compile error


glib 1.1.13 bombs on the compile:

/bin/sh ./libtool --mode=compile gcc28 -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib   -g -O2 -Wall  -D_REENTRANT -D_THREAD_SAFE -c gstrfuncs.c
gcc28 -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -D_THREAD_SAFE -c -fPIC -DPIC gstrfuncs.c -o gstrfuncs.lo
gstrfuncs.c: In function `g_strsignal':
gstrfuncs.c:762: conflicting types for `sys_siglist'
/usr/include/signal.h:45: previous declaration of `sys_siglist'
make: *** [gstrfuncs.lo] Error 1
[lyndon@r glib-1.1.13]$ uname -a
FreeBSD 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Wed Jul 22 08:48:29 GMT 1998  i386

Removing line 34 (#include <signal.h>) fixes things up.


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