This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Unknown machine modes - Can anyone help me please?


Hello,
I'm using an Intel P4 PC, with a Debian 3.1 OS and I'm trying to install a
tool (FUNCO - it measures functional cohesion) that uses a slightly
modified version of gcc 2.6.3. As I was installing this modified gcc
2.6.3, I faced the following error after entering the command 'make
LANGUAGES=c' :
"
./xgcc -B./  -DIN_GCC -DPOSIX  -g -I./include    -DNO_MEM
-DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
In file included from /usr/include/libio.h:32,
                 from /usr/include/stdio.h:72,
                 from ./enquire.c:390:
/usr/include/_G_config.h:55: unknown machine mode '_G_int16_t'
/usr/include/_G_config.h:56: unknown machine mode '_G_int32_t'
/usr/include/_G_config.h:57: unknown machine mode '_G_uint16_t'
/usr/include/_G_config.h:58: unknown machine mode '_G_uint32_t'
make: *** [enquire.o] Error 1

"
This is the sequence of includes
1. File 'enquire.c' includes 'stdio.h'
2. File 'stdio.h' includes 'libio.h'
3. File 'libio.h' includes '_G_config.h'

These are the definitions in the _G_config.h:
"
typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
"

Can anyone help me with this matter?

Your help is highly appreciated. Thank you in advance.

Walid Bahsow


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