bad or irreducible absolute expression
Posted: Sat Jun 02, 2007 11:52 am
When compiling my Multiboot header stub, I get this error:
It complains about this line:
I defined STACK_SIZE (in an external header file, but it doesn't matter if I define it in the same file) with:
Can anyone tell me what could be wrong? I have included my Multiboot stub source codes if anyone wants to have a look.
Thanks
Code: Select all
Error: bad or irreducible absolute expression
Code: Select all
.comm stack, STACK_SIZE, 32 # reserve 16K stack on a quadword boundary
Code: Select all
#define STACK_SIZE 0x4000
Thanks