Hey Erich,
Thanks so much for the quick reply!!
I think I did install the needed 32bit libraries. It works fine to compile. But I have hard time to program it into my K64F board by opensda (I can program by online MBED method). I tried different computers on both ubuntu and centos, I saw different errors. Then I found the pages long workaround about KDS 1.0.1.
Then I gave up opensda and bought a PEmicro debugger. It works well on codewarrior in windows. But I cannot make it work on Ubuntu 64 bits. I followed the instruction on PEmicro to go to the folder of:
/opt/Freescale/KDS_1.0.1/pemicro/drivers/libusb_64_32 and run sudo ./setup.sh
it showed error:
line 6: /sbin/udevcontrol: No such file or directory
then I found this link on community about the problem:
OpenSDA not working for KDS V1.0.1 in Linux.
Then I decided to just wait for next release since the kinetis project is not in a hurry. Now since the new 1.1.0 is out, I just wonder if i can use PEmicro on ubuntu 64 bit now.
Thanks!