Using radio library with ATTiny84?

I would like to send 433MHz signals with my little module and an ATTiny84 rather than a full ATMega328p. I can get the ATTiny to do the blink/fade sketch. And I can get the radio stuff to work fine on the atmega328. But I get errors when I try both, I assume from lack of support on either end.

I am using the boards files from here: High-Low Tech – Programming an ATtiny w/ Arduino 1.6 (or 1.0)

Are there any more updated or more compatible board files?

I've tried RCSwitch, GitHub - sui77/rc-switch: Arduino lib to operate 433/315Mhz devices like power outlet sockets., with these errors:

d:/arduino-105-r2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn84.o:(.init9+0x0): relocation truncated to fit: R_AVR_13_PCREL against symbol `main' defined in .text.main section in core.a(main.cpp.o)
d:/arduino-105-r2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn84.o:(.init9+0x2): relocation truncated to fit: R_AVR_13_PCREL against symbol `exit' defined in .fini9 section in d:/arduino-105-r2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25\libgcc.a(_exit.o)
RCswitch\RCSwitch.cpp.o: In function `RCSwitch::receiveProtocol1(unsigned int)':
C:\Users\Nick\Documents\Arduino\libraries\RCswitch/RCSwitch.cpp:645: relocation truncated to fit: R_AVR_13_PCREL against symbol `__udivmodhi4' defined in .text.libgcc section in d:/arduino-105-r2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25\libgcc.a(_udivmodhi4.o)
C:\Users\Nick\Documents\Arduino\libraries\RCswitch/RCSwitch.cpp:646: relocation truncated to fit: R_AVR_13_PCREL against symbol `__mulsi3' defined in .text.libgcc section in d:/arduino-105-r2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25\libgcc.a(_mulsi3.o)
C:\Users\Nick\Documents\Arduino\libraries\RCswitch/RCSwitch.cpp:646: relocation truncated to fit: R_AVR_13_PCREL against symbol `__mulsf3' defined in .text.fplib section in d:/arduino-105-r2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25\libm.a(mulsf3.o)
core.a(main.cpp.o): In function `main':
D:\arduino-105-r2\hardware\arduino\cores\arduino/main.cpp:11: relocation truncated to fit: R_AVR_13_PCREL against symbol `setup' defined in .text.setup section in SendDemo.cpp.o
D:\arduino-105-r2\hardware\arduino\cores\arduino/main.cpp:14: relocation truncated to fit: R_AVR_13_PCREL against symbol `loop' defined in .text.loop section in SendDemo.cpp.o
D:\arduino-105-r2\hardware\arduino\cores\arduino/main.cpp:15: relocation truncated to fit: R_AVR_13_PCREL against undefined symbol `serialEventRun()'

I've also tried 433Utils, GitHub - ninjablocks/433Utils: 433Kit is a collection of code and documentation designed to assist you in the connection and usage of RF 433MHz transmit and receive modules to/with your Arduino and Rapberry Pi., with these errors.

d:/arduino-105-r2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn84.o:(.init9+0x2): relocation truncated to fit: R_AVR_13_PCREL against symbol `exit' defined in .fini9 section in d:/arduino-105-r2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25\libgcc.a(_exit.o)
RCswitch\RCSwitch.cpp.o: In function `RCSwitch::receiveProtocol1(unsigned int)':
C:\Users\Nick\Documents\Arduino\libraries\RCswitch/RCSwitch.cpp:645: relocation truncated to fit: R_AVR_13_PCREL against symbol `__udivmodhi4' defined in .text.libgcc section in d:/arduino-105-r2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25\libgcc.a(_udivmodhi4.o)
C:\Users\Nick\Documents\Arduino\libraries\RCswitch/RCSwitch.cpp:646: relocation truncated to fit: R_AVR_13_PCREL against symbol `__mulsi3' defined in .text.libgcc section in d:/arduino-105-r2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25\libgcc.a(_mulsi3.o)

I am aware that the pin numbers differ and everything, but I am just trying to get them to compile.

Are the better supported libraries or boards files? Or am I out of luck?

This is a software question. You need to post your code. Also, if you are having compile errors, try copying the compiler verbose output into a notepad file and posting that as an attachment. Just put the mouse cursor over the red text in the compiler verbose output and Left click the mouse button. (you won't see any change but this mouse click is necessary for the next step)
Do a Cntrl-A to highlight the compiler output and then Cntrl-C to copy it and finally , a Cntrl-V to paste it into Notepad.

We can't help until you post your code.

And I can get the radio stuff to work fine on the atmega328

What "stuff" ?
Do you think you could be more specific ?

The sketch:

/*
  Example for different sending methods
  
  http://code.google.com/p/rc-switch/
  
*/

#include <RCSwitch.h>

RCSwitch mySwitch = RCSwitch();

void setup() {

  //Serial.begin(9600);
  
  // Transmitter is connected to Arduino Pin #10  
  mySwitch.enableTransmit(10);

  // Optional set pulse length.
  // mySwitch.setPulseLength(320);
  
  // Optional set protocol (default is 1, will work for most outlets)
  // mySwitch.setProtocol(2);
  
  // Optional set number of transmission repetitions.
  // mySwitch.setRepeatTransmit(15);
  
}

void loop() {

  /* See Example: TypeA_WithDIPSwitches */
  mySwitch.switchOn("11111", "00010");
  delay(1000);
  mySwitch.switchOn("11111", "00010");
  delay(1000);

  /* Same switch as above, but using decimal code */
  mySwitch.send(5393, 24);
  delay(1000);  
  mySwitch.send(5396, 24);
  delay(1000);  

  /* Same switch as above, but using binary code */
  mySwitch.send("000000000001010100010001");
  delay(1000);  
  mySwitch.send("000000000001010100010100");
  delay(1000);

  /* Same switch as above, but tri-state code */ 
  mySwitch.sendTriState("00000FFF0F0F");
  delay(1000);  
  mySwitch.sendTriState("00000FFF0FF0");
  delay(1000);

  delay(20000);
}

The output:

Radio stuff as in any of the 433MHz radio libraries. They work fine with the regular Uno board, but not with the ATTiny84.

That's strange. After you installed the above library did you have a bunch of example folders in the Examples folder ?
What sketch were you trying to compile when you got the errors you posted in here:

I've never used an ATtiny84 so maybe I am not understanding what's happening. Are you trying to compile an ATtiny84 sketch ?
Is it possible the RCSWITCH library doesn't support the ATtiny84 ?

I am using the SendDemo sketch.

raschemmel:
Is it possible the RCSWITCH library doesn't support the ATtiny84 ?

Well, that's what I am asking...

I can compile VirtualWire but I can't find any info on how to send remote codes with that library.

Do you have a board file for the ATtiny84 ?
Does it show up in the Board menu ?

Yes, like I said, I can upload a simple sketch to the ATTiny84 with no problem. I've tested it with blink and fade.

If you use this core

https://code.google.com/p/arduino-tiny/

it compiles, but I don't know if it actualy works

"relocation truncated to fit" is usually the infamous linker bug.

Google for it.

Erni:
If you use this core

Google Code Archive - Long-term storage for Google Code Project Hosting.

it compiles, but I don't know if it actualy works

Tried that one too..

Well I gave up and just used a 328P... Thanks anyway, everyone.

IF you'd taken the time to search for pcrel here in the Forum or [Gasp] Google for it you would have solved half your errors and I really don't care to do it for you... but you might just read this instead of asking others to do the same lame S**t...
http://forum.arduino.cc/index.php/topic,116674.15.html..
Ps: this took about 4 seconds to do.. mainly because I'm not a fast typist..
BTW there were about 75.5 K google answers... in 0.35 seconds.

Docedison

Btw... I think your "handle" was well chosen...

you are the biggest jerk I have ever met on these forums. I spent about 5 hours on google, I'm sorry I don't understand what the compiler was telling me, that's why I was here asking.

I hope you can manage to go on with your life, you really seem to have lost your mind over all of this.