%% Regarding Building Make on NeXTSTEP 3.3; you wrote:
jc> This happens with any version of make I try to build. This NeXT
jc> station is running NeXTSTEP 3.3 developer with a variant of
jc> gcc-2.5.8 as the compiler.
jc> When I try to compile make-3.79 I get the following error:
jc> cc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -c glob.c
jc> ./glob.h:54: undefined type, found `__SIZE_TYPE__'
So, "cc" is really gcc? Please run "cc -v" and provide the results.
This error means your configuration is screwed up somehow, I think.
This line should never be compiled unless your compiler is GCC 2.x:
#ifndef __size_t
# if defined __GNUC__ && __GNUC__ >= 2
typedef __SIZE_TYPE__ __size_t;
# else
And all versions of GCC 2.x should define that value in stddef.h:
#ifndef __SIZE_TYPE__
#define __SIZE_TYPE__ long unsigned int
#endif
However, this is buried in a lot of ifdef's so maybe something about
your system is invalidating it.
If you can't figure this out, run this command:
$ cd glob
$ cc -v -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -E -dD glob.c >mk.out 2>&1
then compress the output file (mk.out) and email it to me.
Also, you can try this:
$ make CFLAGS='-D__size_t=unsigned long'
and see if it helps.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.ultranet.com/~pauld/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist