Altera_Forum
Honored Contributor
19 years agokernel make errors
I am trying to compile the kernel according the wiki http://nioswiki.jot.com/wikihome/operating...nux/uclinuxdist (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux/uclinuxdist)
That method worked well under CoLinux (Over XP). Make was failed once like the manual say, and then run till end successfully. Now, i am trying it with WhiteBox (RedHat) Linux 4.1 but the make exit again and again with the error: *** glibc detected *** malloc(): memory corruption (fast): ... Every time it success to compile some more files but fail again. First, i wrote a script to compile it to the end:a=1
n=0
while ; do
echo
date
let "n+=1"
echo "Trial $n"
make
a=$?
echo "exit code = $a"
done
date be care! this script will run forever if you have real error in your code. But, why this error has occur? In the wiki written: "this is caused by parallel compilation. it does not matter." What is "parallel compilation"? My error is matching to this case? Why the difference between RedHat and CoLinux (RedHat run on less powerfull computer)?