trouble assigning CONST to some values

Hi, I'm having trouble assigning a constant some values, and can't make sense of it. Examples:

const int MAX_GRAPH = 0x567;  // compiles OK
const int MAX_GRAPH = 0x3233; // *error compiling
const int MAX_GRAPH = 0xFF;   // compiles OK
const int MAX_GRAPH = 0xFFF;  // *error compiling
const int MAX_GRAPH = 0xffff;   // compiles OK
const int MAX_GRAPH = INT16_MAX; // *error compiling, I thought defined here: http://www.nongnu.org/avr-libc/user-manual/group__avr__stdint.html

Arduino 1.0.5 error is:
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr6/crtm2560.o: In function __vector_default': (.vectors+0x5c): relocation truncated to fit: R_AVR_13_PCREL against symbol __vector_23' defined in .text.__vector_23 section in core.a(wiring.c.o)

I just want to set a const to maxint. How can I do this?

Post your code.

I just want to set a const to maxint. How can I do this?

Why do you want to set another int to INT16_MAX? There is already a constant of that name. The message that you are showing is not a compiler error. It is a linker error, and almost certainly NOT related to your declaration.