- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had been using WBEL4 respin1, (not 4.1) for some time. It worked well.
I think something wrong in your system. Please try make clean in uClinux-dist, then do all the makes again. Otherwise, try reinsall your Linux PC and run "up2date".
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page