#1501 closed defect (fixed)

ATA_IRQ_CHAIN_MAX_CNT undeclared

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: normal Milestone: 4.10
Component: fs Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

While testing avr-rtems4.11-gcc-4.5.0, I encountered this (Bug is reproducable with avr-rtems4.10-gcc-4.4.3):
...
avr-rtems4.11-gcc --pipe -B../../../lib/ -B../../../avrtest/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src\" -DPACKAGE_TARNAME=\"rtems-c-src\" -DPACKAGE_VERSION=\"4.9.99.0\" -DPACKAGE_STRING=\"rtems-c-src\ 4.9.99.0\" -DPACKAGE_BUGREPORT=\"http://www.rtems.org/bugzilla\" -DPACKAGE_URL=\"\" -I. -I../../../../../c/src/libchip -isystem ../../../avrtest/lib/include -mmcu=atmega128 -Os -g -Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT ide/libide_a-ata.o -MD -MP -MF ide/.deps/libide_a-ata.Tpo -c -o ide/libide_a-ata.o test -f 'ide/ata.c' || echo '../../../../../c/src/libchip/'ide/ata.c
../../../../../c/src/libchip/ide/ata.c: In function 'rtems_ata_initialize':
../../../../../c/src/libchip/ide/ata.c:1161:21: error: 'ATA_IRQ_CHAIN_MAX_CNT' undeclared (first use in this function)
../../../../../c/src/libchip/ide/ata.c:1161:21: note: each undeclared identifier is reported only once for each function it appears in
../../../../../c/src/libchip/ide/ata.c:1162:38: error: 'ata_irq_chain' undeclared (first use in this function)
gmake[1]: * [ide/libide_a-ata.o] Error 1

/me thinks this breakdown was introduced by:

2010-04-07 Joel Sherrill <joel.sherrill@…>

  • libchip/ide/ata.c: Use correct macro from RTEMS to determine whether simple or PIC interrupt model.

Change History (1)

comment:1 Changed on Apr 8, 2010 at 3:39:39 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

I just committed the fix for this before I saw the PR.

Note: See TracTickets for help on using tickets.