Index: [thread] [date] [subject] [author]
  From: Tristan Wibberley <bloater@ps.cus.umist.ac.uk>
  To  : ggi-develop@eskimo.net
  Date: Tue, 27 Apr 1999 17:01:03 +0100

gg build errors

I just tried building libGG, and got the following errors.

This is on a very customised RedHat 5.0 or 5.1 system which *does* have
signal.h, it seems that configure is getting it wrong. config.h does 
not #define HAVE_SIGNAL_H.

Making install in gg
make[1]: Entering directory `/home/cus/bloater/ggi/degas/lib/libgii/out/gg'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../gg -I.. -I../../include -I../i
nclude     -g -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -c ../../gg/cleanup.c
gcc -DHAVE_CONFIG_H -I. -I../../gg -I.. -I../../include -I../include -g -O2 -D_REENTRANT -D_THRE
AD_SAFE -g -Wall -Wp,-MD,.deps/cleanup.pp -c  -fPIC -DPIC ../../gg/cleanup.c -o cleanup.lo
../../gg/cleanup.c:71: `SIGHUP' undeclared here (not in a function)
../../gg/cleanup.c:71: initializer element for `siglist[0].sig' is not constant
../../gg/cleanup.c:71: `SIG_ERR' undeclared here (not in a function)
../../gg/cleanup.c:71: initializer element for `siglist[0].oldhandler' is not constant
../../gg/cleanup.c:72: `SIGINT' undeclared here (not in a function)
../../gg/cleanup.c:72: initializer element for `siglist[1].sig' is not constant
../../gg/cleanup.c:72: `SIG_ERR' undeclared here (not in a function)
../../gg/cleanup.c:72: initializer element for `siglist[1].oldhandler' is not constant
../../gg/cleanup.c:73: `SIGQUIT' undeclared here (not in a function)
../../gg/cleanup.c:73: initializer element for `siglist[2].sig' is not constant
../../gg/cleanup.c:73: `SIG_ERR' undeclared here (not in a function)
../../gg/cleanup.c:73: initializer element for `siglist[2].oldhandler' is not constant
../../gg/cleanup.c:74: `SIGILL' undeclared here (not in a function)
../../gg/cleanup.c:74: initializer element for `siglist[3].sig' is not constant
../../gg/cleanup.c:74: `SIG_ERR' undeclared here (not in a function)
../../gg/cleanup.c:74: initializer element for `siglist[3].oldhandler' is not constant
../../gg/cleanup.c:78: `SIGABRT' undeclared here (not in a function)
../../gg/cleanup.c:78: initializer element for `siglist[4].sig' is not constant
../../gg/cleanup.c:78: `SIG_ERR' undeclared here (not in a function)
../../gg/cleanup.c:78: initializer element for `siglist[4].oldhandler' is not constant
../../gg/cleanup.c:82: `SIGFPE' undeclared here (not in a function)
../../gg/cleanup.c:82: initializer element for `siglist[5].sig' is not constant
../../gg/cleanup.c:82: `SIG_ERR' undeclared here (not in a function)
../../gg/cleanup.c:82: initializer element for `siglist[5].oldhandler' is not constant
../../gg/cleanup.c:83: `SIGSEGV' undeclared here (not in a function)
../../gg/cleanup.c:83: initializer element for `siglist[6].sig' is not constant
../../gg/cleanup.c:83: `SIG_ERR' undeclared here (not in a function)
../../gg/cleanup.c:83: initializer element for `siglist[6].oldhandler' is not constant
../../gg/cleanup.c:84: `SIGPIPE' undeclared here (not in a function)
../../gg/cleanup.c:84: initializer element for `siglist[7].sig' is not constant
../../gg/cleanup.c:84: `SIG_ERR' undeclared here (not in a function)
../../gg/cleanup.c:84: initializer element for `siglist[7].oldhandler' is not constant
../../gg/cleanup.c:85: `SIGALRM' undeclared here (not in a function)
../../gg/cleanup.c:85: initializer element for `siglist[8].sig' is not constant
../../gg/cleanup.c:85: `SIG_ERR' undeclared here (not in a function)
../../gg/cleanup.c:85: initializer element for `siglist[8].oldhandler' is not constant
../../gg/cleanup.c:86: `SIGTERM' undeclared here (not in a function)
../../gg/cleanup.c:86: initializer element for `siglist[9].sig' is not constant
../../gg/cleanup.c:86: `SIG_ERR' undeclared here (not in a function)
../../gg/cleanup.c:86: initializer element for `siglist[9].oldhandler' is not constant
../../gg/cleanup.c: In function `sighandler':
../../gg/cleanup.c:128: `SIG_IGN' undeclared (first use this function)
../../gg/cleanup.c:128: (Each undeclared identifier is reported only once
../../gg/cleanup.c:128: for each function it appears in.)
../../gg/cleanup.c:129: warning: implicit declaration of function `signal'
../../gg/cleanup.c:132: `SIG_DFL' undeclared (first use this function)

--
Tristan Wibberley

Index: [thread] [date] [subject] [author]