This is the mail archive of the 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]

building gcc 4.2

Hi, there

I am trying to install gcc 4.2 in a Xeon. During make, it stops at the
following error mesg:

checking for getrusage... configure: error: Link tests are not allowed
make[1]: *** [configure-target-libgfortran] Error 1
make[1]: Leaving directory `/u/ac/haibo/sys/gcc'
make: *** [all] Error 2

I checked the config.log

Here is the error mesg:
configure:10293: /u/ac/haibo/sys/gcc/./gcc/xgcc
-B/u/ac/haibo/sys/x86_64-unknown-linux-gnu/lib/ -isystem
/u/ac/haibo/sys/x86_64-unknown-linux-gnu/include -isystem
/u/ac/haibo/sys/x86_64-unknown-linux-gnu/sys-include -o conftest
-std=gnu99 -O2 -g -O2    conftest.c  >&5
/tmp/ccqY0GIK.o(.text+0x9): In function `main':
undefined reference to `setmode'
/tmp/ccqY0GIK.o(.data+0x0): undefined reference to `setmode'
collect2: ld returned 1 exit status
configure:10299: $? = 1

Could you please suggest me how to solve this problem?



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