KSDK V1.2.0 USB compile errors

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

KSDK V1.2.0 USB compile errors

1,046 Views
Chiz
Contributor III

I built a usb cdc application using the USB KSDK V1.2.0 stack. I am having compile errors (using KDS 3.0.0).

I have compiled the example project "virtual_com" for USB cdc application, and it compiles fine. I don't see the compile errors.

I copied that project, renamed it and created some functions, however the USB application code is the same. My project compiles with USB errors associated with usb_device_stack_interface.h

 

The compiler can't find where data types are defined. Data types such as "uint8_t, uint16_t, uint32_t"...

usb_device_stack_interface.h does not include types.h or usb_types.h.

 

types.h seems to have a problem with the construct:

typedef unsigned long bool

 

It throws an error saying: "both 'long' and '_Bool' in declaration specifiers"

 

Does anyone know how to get around these errors associated with the USB stack?

 

Thanks,
Chiz

Labels (1)
0 Kudos
6 Replies

667 Views
DavidS
NXP Employee
NXP Employee

Hi Chiz,

I've been using the virtual com demo in KSDK_1.3 successfully.

You might want to upgrade http://www.freescale.com/ksdk

Regards,

David

0 Kudos

667 Views
Chiz
Contributor III

These are the errors from the build:

10:33:14 **** Incremental Build of configuration debug for project lipss_bm_frdmkl27z ****

make -k all

Building file: C:/Freescale/KSDK_1.3.0/platform/utilities/src/fsl_debug_console.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"utilities/fsl_debug_console.d" -MT"utilities/fsl_debug_console.o" -c -o "utilities/fsl_debug_console.o" "C:/Freescale/KSDK_1.3.0/platform/utilities/src/fsl_debug_console.c"

Finished building: C:/Freescale/KSDK_1.3.0/platform/utilities/src/fsl_debug_console.c

Building file: C:/Freescale/KSDK_1.3.0/platform/utilities/src/fsl_misc_utilities.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"utilities/fsl_misc_utilities.d" -MT"utilities/fsl_misc_utilities.o" -c -o "utilities/fsl_misc_utilities.o" "C:/Freescale/KSDK_1.3.0/platform/utilities/src/fsl_misc_utilities.c"

Finished building: C:/Freescale/KSDK_1.3.0/platform/utilities/src/fsl_misc_utilities.c

Building file: C:/Freescale/KSDK_1.3.0/platform/utilities/src/print_scan.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"utilities/print_scan.d" -MT"utilities/print_scan.o" -c -o "utilities/print_scan.o" "C:/Freescale/KSDK_1.3.0/platform/utilities/src/print_scan.c"

Finished building: C:/Freescale/KSDK_1.3.0/platform/utilities/src/print_scan.c

Building file: C:/Freescale/KSDK_1.3.0/platform/devices/startup.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"startup/startup.d" -MT"startup/startup.o" -c -o "startup/startup.o" "C:/Freescale/KSDK_1.3.0/platform/devices/startup.c"

Finished building: C:/Freescale/KSDK_1.3.0/platform/devices/startup.c

Building file: C:/Freescale/KSDK_1.3.0/platform/devices/MKL27Z644/startup/gcc/startup_MKL27Z644.S

Invoking: Cross ARM GNU Assembler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -x assembler-with-cpp -DDEBUG -fno-common  -ffunction-sections  -fdata-sections  -ffreestanding  -fno-builtin  -Os  -mapcs  -std=gnu99 -MMD -MP -MF"startup/startup_MKL27Z644.d" -MT"startup/startup_MKL27Z644.o" -c -o "startup/startup_MKL27Z644.o" "C:/Freescale/KSDK_1.3.0/platform/devices/MKL27Z644/startup/gcc/startup_MKL27Z644.S"

Finished building: C:/Freescale/KSDK_1.3.0/platform/devices/MKL27Z644/startup/gcc/startup_MKL27Z644.S

Building file: C:/Freescale/KSDK_1.3.0/platform/devices/MKL27Z644/startup/system_MKL27Z644.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"startup/system_MKL27Z644.d" -MT"startup/system_MKL27Z644.o" -c -o "startup/system_MKL27Z644.o" "C:/Freescale/KSDK_1.3.0/platform/devices/MKL27Z644/startup/system_MKL27Z644.c"

Finished building: C:/Freescale/KSDK_1.3.0/platform/devices/MKL27Z644/startup/system_MKL27Z644.c

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Cpu.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/Cpu.d" -MT"sources/Cpu.o" -c -o "sources/Cpu.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Cpu.c"

In file included from C:\Freescale\KSDK_1.3.0\platform\system\inc/fsl_clock_manager.h:35:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Cpu.h:72,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Cpu.c:68:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:23: error: both 'long' and '_Bool' in declaration specifiers

typedef unsigned long bool; /* Machine representation of a bool */

                       ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Events.h:42:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Cpu.c:69:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:1: warning: useless type name in empty declaration [enabled by default]

typedef unsigned long bool; /* Machine representation of a bool */

^

sources/subdir.mk:66: recipe for target 'sources/Cpu.o' failed

make: *** [sources/Cpu.o] Error 1

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/DbgCs1.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/DbgCs1.d" -MT"sources/DbgCs1.o" -c -o "sources/DbgCs1.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/DbgCs1.c"

Finished building: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/DbgCs1.c

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Events.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/Events.d" -MT"sources/Events.o" -c -o "sources/Events.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Events.c"

In file included from C:\Freescale\KSDK_1.3.0\platform\system\inc/fsl_clock_manager.h:35:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Cpu.h:72,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/clockMan1.h:177,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/osa1.h:96,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Events.h:35,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Events.c:30:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:23: error: both 'long' and '_Bool' in declaration specifiers

typedef unsigned long bool; /* Machine representation of a bool */

                       ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Events.h:42:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Events.c:30:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:1: warning: useless type name in empty declaration [enabled by default]

typedef unsigned long bool; /* Machine representation of a bool */

^

sources/subdir.mk:80: recipe for target 'sources/Events.o' failed

make: *** [sources/Events.o] Error 1

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssCom.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/LipssCom.d" -MT"sources/LipssCom.o" -c -o "sources/LipssCom.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssCom.c"

In file included from C:\Freescale\KSDK_1.3.0\platform\osa\inc/fsl_os_abstraction.h:34:0,

                 from C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk/adapter_sdk.h:36,

                 from C:\Freescale\KSDK_1.3.0\usb\adapter\sources/adapter.h:43,

                 from C:\Freescale\KSDK_1.3.0\usb\usb_core\include/usb.h:34,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssCom.c:9:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:23: error: both 'long' and '_Bool' in declaration specifiers

typedef unsigned long bool; /* Machine representation of a bool */

                       ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssLog.h:12:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssCom.c:11:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:1: warning: useless type name in empty declaration [enabled by default]

typedef unsigned long bool; /* Machine representation of a bool */

^

sources/subdir.mk:87: recipe for target 'sources/LipssCom.o' failed

make: *** [sources/LipssCom.o] Error 1

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssLog.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/LipssLog.d" -MT"sources/LipssLog.o" -c -o "sources/LipssLog.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssLog.c"

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssLog.h:12:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssLog.c:8:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:47:20: error: expected declaration specifiers or '...' before '*' token

#define _CODE_PTR_ *

                    ^

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class.h:91:21: note: in expansion of macro '_CODE_PTR_'

typedef usb_status (_CODE_PTR_ device_class_init_call) (uint8_t controller_id, void* class_config_ptr, class_handle_t* class_handle_ptr);

                     ^

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:47:20: error: expected declaration specifiers or '...' before '*' token

#define _CODE_PTR_ *

                    ^

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class.h:93:21: note: in expansion of macro '_CODE_PTR_'

typedef usb_status (_CODE_PTR_ device_class_deinit_call) (class_handle_t handle);

                     ^

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:47:20: error: expected declaration specifiers or '...' before '*' token

#define _CODE_PTR_ *

                    ^

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class.h:97:21: note: in expansion of macro '_CODE_PTR_'

typedef usb_status (_CODE_PTR_ device_class_request_callback) (usb_setup_struct_t* setup_packet, uint8_t **data, uint32_t * size, void* arg);

                     ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssUSBDescriptor.h:181:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssCom.h:11,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssLog.c:9:

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:134:5: error: unknown type name 'usb_application_callback_struct_t'

     usb_application_callback_struct_t        cdc_application_callback;        /*!< application callback function to handle the Device status related event*/

     ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssUSBDescriptor.h:181:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssCom.h:11,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssLog.c:9:

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:135:5: error: unknown type name 'usb_vendor_req_callback_struct_t'

     usb_vendor_req_callback_struct_t         vendor_req_callback;             /*!< application callback function to handle the vendor request related event, reserved for future use*/

     ^

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:137:5: error: unknown type name 'usb_desc_request_notify_struct_t'

     usb_desc_request_notify_struct_t*        desc_callback_ptr;               /*!< descriptor related callback function data structure*/

     ^

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:138:5: error: unknown type name 'usb_board_init_callback_struct_t'

     usb_board_init_callback_struct_t         board_init_callback;             /*!< application callback function to handle board init*/

     ^

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:183:1: error: unknown type name 'usb_status'

extern usb_status USB_Class_CDC_Init

^

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:199:1: error: unknown type name 'usb_status'

extern usb_status USB_Class_CDC_Deinit

^

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:239:1: error: unknown type name 'usb_status'

extern usb_status USB_Class_CDC_Send_Data

^

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:257:1: error: unknown type name 'usb_status'

extern usb_status USB_Class_CDC_Recv_Data

^

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:279:1: error: unknown type name 'usb_status'

extern usb_status USB_Class_CDC_Get_Speed

^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssSystem.h:15:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssCom.h:12,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssLog.c:9:

C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk/adapter_sdk.h:105:34: error: unknown type name 'os_msgq_handle'

extern uint32_t OS_MsgQ_Is_Empty(os_msgq_handle msgq, void* msg);

                                  ^

sources/subdir.mk:94: recipe for target 'sources/LipssLog.o' failed

make: *** [sources/LipssLog.o] Error 1

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssStateMachine.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/LipssStateMachine.d" -MT"sources/LipssStateMachine.o" -c -o "sources/LipssStateMachine.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssStateMachine.c"

In file included from C:\Freescale\KSDK_1.3.0\platform\system\inc/fsl_clock_manager.h:35:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Cpu.h:72,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/osa1.h:97,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/clockMan1.h:176,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/gpio.h:71,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssSystem.h:11,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssStateMachine.c:8:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:23: error: both 'long' and '_Bool' in declaration specifiers

typedef unsigned long bool; /* Machine representation of a bool */

                       ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssLog.h:12:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssSystem.h:14,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssStateMachine.c:8:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:1: warning: useless type name in empty declaration [enabled by default]

typedef unsigned long bool; /* Machine representation of a bool */

^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssSystem.h:15:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssStateMachine.c:8:

C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk/adapter_sdk.h:105:34: error: unknown type name 'os_msgq_handle'

extern uint32_t OS_MsgQ_Is_Empty(os_msgq_handle msgq, void* msg);

                                  ^

sources/subdir.mk:101: recipe for target 'sources/LipssStateMachine.o' failed

make: *** [sources/LipssStateMachine.o] Error 1

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssSystem.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/LipssSystem.d" -MT"sources/LipssSystem.o" -c -o "sources/LipssSystem.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssSystem.c"

In file included from C:\Freescale\KSDK_1.3.0\platform\system\inc/fsl_clock_manager.h:35:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Cpu.h:72,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/osa1.h:97,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/clockMan1.h:176,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/gpio.h:71,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssSystem.h:11,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssSystem.c:8:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:23: error: both 'long' and '_Bool' in declaration specifiers

typedef unsigned long bool; /* Machine representation of a bool */

                       ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssLog.h:12:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssSystem.h:14,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssSystem.c:8:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:1: warning: useless type name in empty declaration [enabled by default]

typedef unsigned long bool; /* Machine representation of a bool */

^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssSystem.h:15:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssSystem.c:8:

C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk/adapter_sdk.h:105:34: error: unknown type name 'os_msgq_handle'

extern uint32_t OS_MsgQ_Is_Empty(os_msgq_handle msgq, void* msg);

                                  ^

sources/subdir.mk:108: recipe for target 'sources/LipssSystem.o' failed

make: *** [sources/LipssSystem.o] Error 1

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssUSBDescriptor.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/LipssUSBDescriptor.d" -MT"sources/LipssUSBDescriptor.o" -c -o "sources/LipssUSBDescriptor.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssUSBDescriptor.c"

In file included from C:\Freescale\KSDK_1.3.0\platform\osa\inc/fsl_os_abstraction.h:34:0,

                 from C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk/adapter_sdk.h:36,

                 from C:\Freescale\KSDK_1.3.0\usb\adapter\sources/adapter.h:43,

                 from C:\Freescale\KSDK_1.3.0\usb\usb_core\include/usb.h:34,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssUSBDescriptor.c:177:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:23: error: both 'long' and '_Bool' in declaration specifiers

typedef unsigned long bool; /* Machine representation of a bool */

                       ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssUSBDescriptor.h:182:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssCom.h:11,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssUSBDescriptor.c:179:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:1: warning: useless type name in empty declaration [enabled by default]

typedef unsigned long bool; /* Machine representation of a bool */

^

sources/subdir.mk:115: recipe for target 'sources/LipssUSBDescriptor.o' failed

make: *** [sources/LipssUSBDescriptor.o] Error 1

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/adConv.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/adConv.d" -MT"sources/adConv.o" -c -o "sources/adConv.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/adConv.c"

Finished building: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/adConv.c

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/clockMan1.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/clockMan1.d" -MT"sources/clockMan1.o" -c -o "sources/clockMan1.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/clockMan1.c"

Finished building: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/clockMan1.c

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/gpio.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/gpio.d" -MT"sources/gpio.o" -c -o "sources/gpio.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/gpio.c"

Finished building: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/gpio.c

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/hardware_init.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/hardware_init.d" -MT"sources/hardware_init.o" -c -o "sources/hardware_init.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/hardware_init.c"

Finished building: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/hardware_init.c

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/main.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/main.d" -MT"sources/main.o" -c -o "sources/main.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/main.c"

In file included from C:\Freescale\KSDK_1.3.0\platform\osa\inc/fsl_os_abstraction.h:34:0,

                 from C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk/adapter_sdk.h:36,

                 from C:\Freescale\KSDK_1.3.0\usb\adapter\sources/adapter.h:43,

                 from C:\Freescale\KSDK_1.3.0\usb\usb_core\include/usb.h:34,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/main.c:31:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:23: error: both 'long' and '_Bool' in declaration specifiers

typedef unsigned long bool; /* Machine representation of a bool */

                       ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Events.h:42:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/main.c:33:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:1: warning: useless type name in empty declaration [enabled by default]

typedef unsigned long bool; /* Machine representation of a bool */

^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssUSBDescriptor.h:180:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssCom.h:11,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/main.c:42:

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class.h:97:64: error: unknown type name 'usb_setup_struct_t'

typedef usb_status (_CODE_PTR_ device_class_request_callback) (usb_setup_struct_t* setup_packet, uint8_t **data, uint32_t * size, void* arg);

                                                                ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssUSBDescriptor.h:181:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssCom.h:11,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/main.c:42:

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:134:5: error: unknown type name 'usb_application_callback_struct_t'

     usb_application_callback_struct_t        cdc_application_callback;        /*!< application callback function to handle the Device status related event*/

     ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssUSBDescriptor.h:181:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/LipssCom.h:11,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/main.c:42:

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:135:5: error: unknown type name 'usb_vendor_req_callback_struct_t'

     usb_vendor_req_callback_struct_t         vendor_req_callback;             /*!< application callback function to handle the vendor request related event, reserved for future use*/

     ^

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:137:5: error: unknown type name 'usb_desc_request_notify_struct_t'

     usb_desc_request_notify_struct_t*        desc_callback_ptr;               /*!< descriptor related callback function data structure*/

     ^

C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include/usb_class_cdc.h:138:5: error: unknown type name 'usb_board_init_callback_struct_t'

     usb_board_init_callback_struct_t         board_init_callback;             /*!< application callback function to handle board init*/

     ^

sources/subdir.mk:150: recipe for target 'sources/main.o' failed

make: *** [sources/main.o] Error 1

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/osa1.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/osa1.d" -MT"sources/osa1.o" -c -o "sources/osa1.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/osa1.c"

Finished building: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/osa1.c

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/pin_mux.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/pin_mux.d" -MT"sources/pin_mux.o" -c -o "sources/pin_mux.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/pin_mux.c"

Finished building: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/pin_mux.c

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/pitTimer1.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/pitTimer1.d" -MT"sources/pitTimer1.o" -c -o "sources/pitTimer1.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/pitTimer1.c"

In file included from C:\Freescale\KSDK_1.3.0\platform\system\inc/fsl_clock_manager.h:35:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Cpu.h:72,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/osa1.h:97,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/clockMan1.h:176,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/pitTimer1.h:75,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/pitTimer1.c:54:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:23: error: both 'long' and '_Bool' in declaration specifiers

typedef unsigned long bool; /* Machine representation of a bool */

                       ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Events.h:42:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/pitTimer1.c:55:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:1: warning: useless type name in empty declaration [enabled by default]

typedef unsigned long bool; /* Machine representation of a bool */

^

sources/subdir.mk:171: recipe for target 'sources/pitTimer1.o' failed

make: *** [sources/pitTimer1.o] Error 1

Building file: C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/spiPort0.c

Invoking: Cross ARM C Compiler

arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -Os -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall  -g -D_DEBUG=1 -DCPU_MKL27Z64VLH4 -DFRDM_KL27Z -DFREEDOM -I"C:\Freescale\KSDK_1.3.0\platform\utilities\inc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\platform\devices" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\startup" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\composite" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\hal" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\platform\CMSIS\Include" -I"C:\Freescale\KSDK_1.3.0\platform\devices\MKL27Z644\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\include\MKL27Z644" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\audio" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\common" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\hid" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\include\config" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\device\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\include" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\cdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\hub" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\msd" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\classes\phdc" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller\khci" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\host\sources\controller" -I"C:\Freescale\KSDK_1.3.0\usb\usb_core\include" -I"C:\Freescale\KSDK_1.3.0\platform\hal\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\gpio" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\pit" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\dma" -I"C:\Freescale\KSDK_1.3.0\platform\system\inc" -I"C:\Freescale\KSDK_1.3.0\platform\drivers\src\uart" -I"C:\Freescale\KSDK_1.3.0\platform\osa\inc" -I"C:\Freescale\KSDK_1.3.0\rtos" -I"C:\Freescale\KSDK_1.3.0\usb\adapter" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources" -I"C:\Freescale\KSDK_1.3.0\usb\adapter\sources\sdk" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com" -I"C:\Users\cchikwendu\Desktop\WorkingFolder\LIPSS\FRDM-KL27Z\cdc\lipss_com\bm\kds" -std=gnu99 -fno-strict-aliasing -Wno-format  -fno-common  -ffreestanding  -fno-builtin  -mapcs -MMD -MP -MF"sources/spiPort0.d" -MT"sources/spiPort0.o" -c -o "sources/spiPort0.o" "C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/spiPort0.c"

In file included from C:\Freescale\KSDK_1.3.0\platform\system\inc/fsl_clock_manager.h:35:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Cpu.h:72,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/osa1.h:97,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/clockMan1.h:176,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/spiPort0.h:73,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/spiPort0.c:54:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:23: error: both 'long' and '_Bool' in declaration specifiers

typedef unsigned long bool; /* Machine representation of a bool */

                       ^

In file included from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/Events.h:42:0,

                 from C:/Users/cchikwendu/Desktop/WorkingFolder/LIPSS/FRDM-KL27Z/cdc/lipss_com/spiPort0.c:55:

C:\Freescale\KSDK_1.3.0\usb\usb_core\include/types.h:65:1: warning: useless type name in empty declaration [enabled by default]

typedef unsigned long bool; /* Machine representation of a bool */

^

sources/subdir.mk:178: recipe for target 'sources/spiPort0.o' failed

make: *** [sources/spiPort0.o] Error 1

make: Target 'all' not remade because of errors.

10:33:20 Build Finished (took 5s.668ms)

0 Kudos

667 Views
DavidS
NXP Employee
NXP Employee

Hi Chiz,

Two things to try.

1- Solving the 8192 Character Command Line Limit on Windows | MCU on Eclipse

2- Please shorted the path to your active workspace.  I simply have my workspace in the KSD_1.3.0 root folder.

I did test C:\Freescale\KSDK_1.3.0\examples\frdmkl27z\demo_apps\usb\device\cdc\virtual_com\bm\kds on frdm-kl27z successfully.

Regards,

David

0 Kudos

666 Views
Chiz
Contributor III

Hi David,

I will try KSDK_1.3 and I'll let you know if it works.

0 Kudos

667 Views
Chiz
Contributor III

Hi David,

I did try KSDK_1.3.0, and I'm getting the same compile errors.

I created a new project trying to use KSDK 1.3, and I still get the same compile errors.

I am always able to compile the "virtual_com" project, however, I can't seem to compile mine successfully. My project uses the files from "virtual_com" with minimal change, in addition to other functions I created.

The compile errors are associated with the "USB files" from the KSDK. Notably "usb_device_interface.h".

I'm willing to try any suggestions you or anyone else might have.

Thanks a lot for your help.

Chiz

0 Kudos

667 Views
michaelhuslig
Contributor IV

I was just having the same problem.

I added the lines

#include "usb_device_config.h"

#include "usb.h"

before the line

#include "usb_device_stack_interface.h"

and the problem went away

0 Kudos