Description
when i type 'make' and enter, following error appears
Dark Builder - Unified Build Environment
Version (1.0.0 - Armstrong)
[CC] [RaspberryPi BSP] port.o
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/portable/GCC/RaspberryPi/port.c: In function 'vTickISR':
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/portable/GCC/RaspberryPi/port.c:221:29: warning: unused parameter 'nIRQ' [-Wunused-parameter]
void vTickISR (unsigned int nIRQ, void *pParam)
^
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/portable/GCC/RaspberryPi/port.c:221:41: warning: unused parameter 'pParam' [-Wunused-parameter]
void vTickISR (unsigned int nIRQ, void *pParam)
^
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/portable/GCC/RaspberryPi/port.c: In function 'prvSetupTimerInterrupt':
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/portable/GCC/RaspberryPi/port.c:237:16: warning: variable 'ulCompareMatch' set but not used [-Wunused-but-set-variable]
unsigned long ulCompareMatch;
^
[CC] [RaspberryPi BSP] portisr.o
[CC] [RaspberryPi BSP] croutine.o
[CC] [RaspberryPi BSP] list.o
[CC] [RaspberryPi BSP] queue.o
[CC] [RaspberryPi BSP] tasks.o
[CC] [RaspberryPi BSP] irq.o
[CC] [RaspberryPi BSP] gpio.o
[CC] [RaspberryPi BSP] heap_4.o
[AS] [RaspberryPi BSP] startup.o
[CC] [RaspberryPi BSP] main.o
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c: In function 'task1':
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c:74:18: warning: unused parameter 'pParam' [-Wunused-parameter]
void task1(void *pParam) {
^
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c: In function 'task2':
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c:84:18: warning: unused parameter 'pParam' [-Wunused-parameter]
void task2(void *pParam) {
^
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c: At top level:
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c:102:6: warning: return type of 'main' is not 'int' [-Wmain]
void main (void)
^
In file included from /home/ajay/RaspberryPi-FreeRTOS/Demo/main.c:69:0:
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c: In function 'main':
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/include/task.h:284:134: warning: pointer targets in passing argument 2 of 'xTaskGenericCreate' differ in signedness [-Wpointer-sign]
#define xTaskCreate( pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pxCreatedTask ) xTaskGenericCreate( ( pvTaskCode ), ( pcName ), ( usStackDepth ), ( pvParameters ), ( uxPriority ), ( pxCreatedTask ), ( NULL ), ( NULL ) )
^
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c:106:2: note: in expansion of macro 'xTaskCreate'
xTaskCreate(task1, "LED_0", 128, NULL, 0, NULL);
^
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/include/task.h:1282:22: note: expected 'const signed char * const' but argument is of type 'char *'
signed portBASE_TYPE xTaskGenericCreate( pdTASK_CODE pxTaskCode, const signed char * const pcName, unsigned short usStackDepth, void *pvParameters, unsigned portBASE_TYPE uxPriority, xTaskHandle *pxCreatedTask, portSTACK_TYPE *puxStackBuffer, const xMemoryRegion * const xRegions ) PRIVILEGED_FUNCTION;
^
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/include/task.h:284:134: warning: pointer targets in passing argument 2 of 'xTaskGenericCreate' differ in signedness [-Wpointer-sign]
#define xTaskCreate( pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pxCreatedTask ) xTaskGenericCreate( ( pvTaskCode ), ( pcName ), ( usStackDepth ), ( pvParameters ), ( uxPriority ), ( pxCreatedTask ), ( NULL ), ( NULL ) )
^
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c:107:2: note: in expansion of macro 'xTaskCreate'
xTaskCreate(task2, "LED_1", 128, NULL, 0, NULL);
^
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/include/task.h:1282:22: note: expected 'const signed char * const' but argument is of type 'char *'
signed portBASE_TYPE xTaskGenericCreate( pdTASK_CODE pxTaskCode, const signed char * const pcName, unsigned short usStackDepth, void *pvParameters, unsigned portBASE_TYPE uxPriority, xTaskHandle *pxCreatedTask, portSTACK_TYPE *puxStackBuffer, const xMemoryRegion * const xRegions ) PRIVILEGED_FUNCTION;
^
arm-none-eabi-ld: cannot find -lc
Makefile:35: recipe for target 'kernel.elf' failed
make: *** [kernel.elf] Error 1
As you suggested, all the python files in .dbuild/pretty are executable and i modified the path of "LDFLAGS" valiable accordingly. Please help me resolve this error