%% "Francisco A. Tomei Torres" <[EMAIL PROTECTED]> writes:

  fatt> cc -DHAVE_CONFIG_H -I. -I. -I..   -I./glob  -g -O2 -c glob.c
  fatt> ./glob.h:51: undefined type, found `__SIZE_TYPE__'

I'll need more info than this.  I'm pretty sure it's some kind of local
configuration error.

First, what version of GNU make are you working with?

That line (glob.h:51) is only supposed to be compiled if you're using
GCC and the version of GCC is 2.x:

  # if defined __GNUC__ && __GNUC__ >= 2
  typedef __SIZE_TYPE__ __size_t;
  # else

So, we'll have to assume that your "cc" is really GCC.  What version of
GCC is it?  Use "cc --version".

Next, why isn't __SIZE_TYPE__ defined?  AFAIK all versions of GCC define
this in, for example, stddef.h.  Does yours?

If that all seems to check out, you should run that compile line by hand
with the -v option and check that there aren't any other odd include
directories that get passed to the compiler.

Then, you should run it with the -E output and see if you can tell why
__SIZE_TYPE__ isn't defined where it should be.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
   These are my opinions---Nortel Networks takes no responsibility for them.

Reply via email to