your gcc is too new. gcc-2.95.4 or .3 is best for 2.4 kernels. the 2.4 source does not support being compiled by newer gcc, though there are patches somewhere for gcc-3.x support. your binutils may be too new, too. you are not the first one with that problem, search the archives for solutions (best: before posting).
gcc version
your gcc is too new. gcc-2.95.4 or .3 is best for 2.4 kernels. the 2.4 source does not support being compiled by newer gcc, though there are patches somewhere for gcc-3.x support. your binutils may be too new, too. you are not the first one with that problem, search the archives for solutions (best: before posting).