Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

4.8.0 build errors using WinAVR

Posted by Shounak Mitra on April 3, 2008
I am getting build errors on WinAVR when I try to build the demo in FreeRTOS 4.8.0:


Compiling: main.c
avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../C
ommon/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-en
ums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsi
gn-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing
-declarations -Wunused -Wa,-adhlns=main.lst -std=gnu99 main.c -o main.o
main.c: In function 'main':
main.c:191: warning: pointer targets in passing argument 2 of 'xTaskCreate' diff
er in signedness

Compiling: regtest.c
avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../C
ommon/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-en
ums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsi
gn-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing
-declarations -Wunused -Wa,-adhlns=regtest.lst -std=gnu99 regtest.c -o regtest.
o
regtest.c: In function 'vStartRegTestTasks':
regtest.c:71: warning: pointer targets in passing argument 2 of 'xTaskCreate' di
ffer in signedness
regtest.c:72: warning: pointer targets in passing argument 2 of 'xTaskCreate' di
ffer in signedness

Compiling: ParTest/ParTest.c
avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../C
ommon/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-en
ums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsi
gn-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing
-declarations -Wunused -Wa,-adhlns=ParTest/ParTest.lst -std=gnu99 ParTest/ParTe
st.c -o ParTest/ParTest.o

Compiling: serial/serial.c
avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../C
ommon/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-en
ums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsi
gn-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing
-declarations -Wunused -Wa,-adhlns=serial/serial.lst -std=gnu99 serial/serial.c
-o serial/serial.o

Compiling: ../../Source/tasks.c
avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../C
ommon/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-en
ums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsi
gn-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing
-declarations -Wunused -Wa,-adhlns=../../Source/tasks.lst -std=gnu99 ../../Sour
ce/tasks.c -o ../../Source/tasks.o
../../Source/tasks.c: In function 'vTaskSwitchContext':
../../Source/tasks.c:1435: warning: dereferencing type-punned pointer will break
strict-aliasing rules

Compiling: ../../Source/queue.c
avr-gcc -c -mmcu=atmega323 -I. -D GCC_MEGA_AVR -I. -I../../Source/include -I../C
ommon/include -g -Os -fsigned-char -funsigned-bitfields -fpack-struct -fshort-en
ums -Wall -Wextra -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsi
gn-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing
-declarations -Wunused -Wa,-adhlns=../../Source/queue.lst -std=gnu99 ../../Sour
ce/queue.c -o ../../Source/queue.o
../../Source/queue.c:1196: error: conflicting types for 'xQueueIsQueueEmptyFromI
SR'
../../Source/queue.c:128: error: previous declaration of 'xQueueIsQueueEmptyFrom
ISR' was here
../../Source/queue.c:1218: error: conflicting types for 'xQueueIsQueueFullFromIS
R'
../../Source/queue.c:129: error: previous declaration of 'xQueueIsQueueFullFromI
SR' was here
make: *** [../../Source/queue.o] Error 1

RE: 4.8.0 build errors using WinAVR

Posted by woops_ on April 3, 2008
see https://sourceforge.net/forum/message.php?msg_id=4877178


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Careers

FreeRTOS and other embedded software careers at AWS.


Latest News

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner