[SOLVED] Arduino 1.0.1 no longer compiles using a custom core (tiny) (Linux)

Thanks, CB. The MCU is ATtiny2313, here is the part of the board.txt I'm using:

###########################################################################

attiny2313at8.name=ATtiny2313 @ 8 MHz

# The following do NOT work...
# attiny2313at8.upload.using=avrispv2
# attiny2313at8.upload.using=Pololu USB AVR Programmer

# The following DO work (pick one)...
#attiny2313at8.upload.using=arduino:arduinoisp
attiny2313at8.upload.protocol=avrispv2
# attiny2313at8.upload.using=pololu

attiny2313at8.upload.maximum_size=2048

# Default clock (slowly rising power; long delay to clock; 8 MHz internal)
# Int. RC Osc. 8 MHz; Start-up time: 14 CK + 65 ms; [CKSEL=0100 SUT=10]; default value 
# Brown-out detection disabled; [BODLEVEL=111]
# Serial program downloading (SPI) enabled; [SPIEN=0]
# Preserve EEPROM memory through the Chip Erase cycle; [EESAVE=0]

attiny2313at8.bootloader.low_fuses=0xE4
attiny2313at8.bootloader.high_fuses=0x9F
attiny2313at8.bootloader.extended_fuses=0xFF
attiny2313at8.bootloader.path=empty
attiny2313at8.bootloader.file=empty2313at8.hex

attiny2313at8.build.mcu=attiny2313
attiny2313at8.build.f_cpu=8000000L
attiny2313at8.build.core=tiny

not sure what you meant by "very first error message". I just omitted specifics of the program for brevity, perhaps I should not have. Here is the complete listing of all the errors that come up on compiling. They look like they all stem from the missing pins_arduino.h file, which is still at its original place of course.

DVD_CNC_Stepper_Controller:16: error: 'A0' was not declared in this scope
DVD_CNC_Stepper_Controller:16: error: 'A1' was not declared in this scope
DVD_CNC_Stepper_Controller:16: error: 'A2' was not declared in this scope
DVD_CNC_Stepper_Controller:16: error: 'A3' was not declared in this scope
DVD_CNC_Stepper_Controller:31: error: 'A4' was not declared in this scope
DVD_CNC_Stepper_Controller:32: error: 'A5' was not declared in this scope
DVD_CNC_Stepper_Controller.cpp: In function 'void moveY()':
DVD_CNC_Stepper_Controller:138: error: 'PORTC' was not declared in this scope