April 3, 2010

gcc 4.4.3 compilation error

Forums: 

hi,i am trying to compile gcc 4.4.3 and getting errors:
some of my config lig file output is :
## --------- ##
## Platform. ##
## --------- ##

hostname = amd00.linuc.elite.in
uname -m = x86_64
uname -r = 2.6.9-42.0.2.EL_lustre.1.4.7.3smp
uname -s = Linux
uname -v = #1 SMP Fri Nov 10 18:59:29 MST 2006

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/maui/bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/maui/bin
PATH: /opt/intel/fce/10.0.023/bin
PATH: /opt/intel/idbe/10.0.023/bin
PATH: /opt/intel/ict/3.0.1/itac/7.0.1/bin
PATH: /opt/intel/cce/10.0.023/bin
PATH: /usr/local/gt4/bin
PATH: /usr/local/gt4/sbin
PATH: /opt/intel/idbe/9.1.032/bin
PATH: /opt/intel/fce/9.1.032/bin
PATH: /opt/intel/cce/9.1.038/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /opt/pathscale/bin

configure:2861: $? = 0
configure:2879: result: none needed
configure:2897: /home/external/symbiosis/rajashreej/gcc-4.4.3/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/external/symbiosis/rajashreej/gcc-4.4.3/host-x86_
64-unknown-linux-gnu/gcc/ -B/home/external/symbiosis/rajashreej/gcc-443/x86_64-unknown-linux-gnu/bin/ -B/home/external/symbiosis/rajashreej/gcc-443/x86_64-unk
nown-linux-gnu/lib/ -isystem /home/external/symbiosis/rajashreej/gcc-443/x86_64-unknown-linux-gnu/include -isystem /home/external/symbiosis/rajashreej/gcc-443
/x86_64-unknown-linux-gnu/sys-include -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2903: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3041: checking how to run the C preprocessor
configure:3076: /home/external/symbiosis/rajashreej/gcc-4.4.3/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/external/symbiosis/rajashreej/gcc-4.4.3/host-x86_
64-unknown-linux-gnu/gcc/ -B/home/external/symbiosis/rajashreej/gcc-443/x86_64-unknown-linux-gnu/bin/ -B/home/external/symbiosis/rajashreej/gcc-443/x86_64-unk
nown-linux-gnu/lib/ -isystem /home/external/symbiosis/rajashreej/gcc-443/x86_64-unknown-linux-gnu/include -isystem /home/external/symbiosis/rajashreej/gcc-443
/x86_64-unknown-linux-gnu/sys-include -E conftest.c
configure:3082: $? = 0
configure:3114: /home/external/symbiosis/rajashreej/gcc-4.4.3/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/external/symbiosis/rajashreej/gcc-4.4.3/host-x86_
64-unknown-linux-gnu/gcc/ -B/home/external/symbiosis/rajashreej/gcc-443/x86_64-unknown-linux-gnu/bin/ -B/home/external/symbiosis/rajashreej/gcc-443/x86_64-unk
nown-linux-gnu/lib/ -isystem /home/external/symbiosis/rajashreej/gcc-443/x86_64-unknown-linux-gnu/include -isystem /home/external/symbiosis/rajashreej/gcc-443
/x86_64-unknown-linux-gnu/sys-include -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3120: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */

Click Here!