I recently downloaded the lsstack utility. I tried to compile it for ppc but its get failed. See the following error message:
lsstack.c: In function `grok_and_print_thread_stack':
lsstack.c:431: error: `EIP' undeclared (first use in this function)
lsstack.c:431: error: (Each undeclared identifier is reported only once
lsstack.c:431: error: for each function it appears in.)
lsstack.c:438: error: `EBP' undeclared (first use in this function)
lsstack.c: In function `get_file_symbols':
lsstack.c:730: error: `false' undeclared (first use in this function)
make: *** [lsstack] Error 1
I looked into the lsstack.c file and found that the variable EIP, EBP and false is not defined. I got stucked, can anyone tell me how to proceed further.
Can anyone suggest where to defined it?
Is this a known probelm ?
Is this a bug?
Thanks in Advance
I've got exactly same errors. Any suggestion is greatly appreciated. Thanks!
(Wow, this is a slow-paced thread…)
Are you trying to compile lsstack, which is 32-bit, on a 64-bit system? The source code and makefile seem to be uneducated about building in this situation. I hope to find a hack workaround, or patch lsstack.c if I can figure out how.
I have started working on the x86_64 version:
Contributions are welcome!