Build troubles



Hi all, 

	I've just been lucky enough to discover gtk/gimp, and am really
excited to use it on my Alpha (OSF).  I'm having a little trouble with
'make'ing the glib, however.

It seems to be getting stuck on gerror.c, where the functions included in
<unistd.h> and <sys/time.h> aren't being declared.  Here's the dump:

./libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/tmp_mnt/mas/disks/bvg-la/pompei/gimp/gtk+-0.99.0/glib -I.
-I/tmp_mnt/mas/disks/bvg-la/pompei/gimp/gtk+-0.99.0/glib  -O2 -Wall -c
gerror.c
gcc -DHAVE_CONFIG_H -I.
-I/tmp_mnt/mas/disks/bvg-la/pompei/gimp/gtk+-0.99.0/glib -I.
-I/tmp_mnt/mas/disks/bvg-la/pompei/gimp/gtk+-0.99.0/glib -O2 -Wall -c
-DPIC gerror.c
In file included from gerror.c:21:
/usr/include/sys/time.h:178: warning: `struct timezone' declared inside
parameter list
/usr/include/sys/time.h:178: warning: its scope is only this definition or
declaration,
/usr/include/sys/time.h:178: warning: which is probably not what you want.
gerror.c: In function `debug':
gerror.c:123: warning: implicit declaration of function `getpid'
gerror.c:134: warning: implicit declaration of function `fork'
gerror.c: In function `stack_trace':
gerror.c:169: warning: implicit declaration of function `pipe'
gerror.c:178: warning: implicit declaration of function `close'
gerror.c:178: warning: implicit declaration of function `dup'
gerror.c:182: warning: implicit declaration of function `execvp'
gerror.c:192: warning: implicit declaration of function `FD_ZERO'
gerror.c:193: warning: implicit declaration of function `FD_SET'
gerror.c:195: warning: implicit declaration of function `write'
gerror.c:208: warning: implicit declaration of function `select'
gerror.c:208: `FD_SETSIZE' undeclared (first use this function)
gerror.c:208: (Each undeclared identifier is reported only once
gerror.c:208: for each function it appears in.)
gerror.c:212: warning: implicit declaration of function `FD_ISSET'
gerror.c:214: warning: implicit declaration of function `read'
*** Exit 1
Stop.


Thanks for any help.

- Joe



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