Hello David,
Did you create a new project and you are trying to use the drivers as uart_test project does? If so, you have to make sure to included all necessay files such as common.h, sim.h, start.h, etc. needed to configure clock and other MCU settings.
You can use make_project.exe to create a new project that is linked to these files, it is located at C:\Freescale\KM128SWDRV_R4_0_0\template:

After executing make_project.exe, configure your new project:

Then you can import this new project:

and you will be able to use KM drivers:

I hope this can help,
Regards,
Isaac Avila