I would be sure that you have all the required libraries and #includes in place.
For an example you mentioned BSP_IOP_FIM1_UART_CTS as being undeclared. You need to have the #include "bsp_iop.h statement and it is also dependant on the libbsp.a library.
Just a note: According to the latest NET+OS API reference document, BSP_IOP_FIM1_UART_CTS was not available until version 7.4
Are you seeing that problem with a new application or an existing one? If an existing one, you probably downloaded and installed a BSP patch, and the BSP was updated between the version your app was built and the new version you just installed. To fix, create a new app and then port any BSP changes from your old app to the new one.