This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc compilation problem:size_t defination


Hi,

I am trying to compile gcc 2.7.2.3 on hp-ux 11.00 running in 64bit mode

While compiling it gives error like

In file included from ../objc/objc-api.h:31,
                 from encoding.h:33,
                 from encoding.c:28:
../objc/hash.h:159: `size_t' undeclared (first use this function)
../objc/hash.h:159: (Each undeclared identifier is reported only once
../objc/hash.h:159: for each function it appears in.)
../objc/hash.h:159: parse error before `key'
/usr/gcc/gcc-2.7.2.3/include/sys/types.h: At top level:
In file included from /usr/gcc/gcc-2.7.2.3/include/stdio.h:33,
                 from ../objc/objc-api.h:32,
                 from encoding.h:33,
                 from encoding.c:28:
/usr/gcc/gcc-2.7.2.3/include/sys/types.h:235: `size_t' used prior to
declaration
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Could you please help.

Bibhas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]