error: #error Your version of gcc miscompiles the __weak directive
Hi
I am using RHEL 5 with Kernel version of 2.6.18 and gcc version 4.1.1 20070105 . I am getting the error like error: #error Your version of gcc miscompiles the __weak directive while I was trying to compile a code 2.6.30 code on same machine. how can I over come this problem to get full compilation new kernel. |
Give gcc 4.3 a try.
|
# yum install gcc43
.. which provides version 4.3.2-7.el5. Example command using gcc-4.3.2 : 'make CC=gcc43' |
All times are GMT -5. The time now is 11:06 AM. |