can you try to get the tarball form www.ngolde.de/yacpi.html and remove the srtip call in the Makefile?
Removed strip and added -g to compile options (btw, the Makefile is quite strange, always recompiles all files and does not have global CFLAGS and LDFLAGS).
The crash comes from the line
if (binfo->charge_state == CHARGE)
binfo == NULL here.
There is also more error handling missing, like failing malloc() is not checked at all. Always check the returv values of system calls and important library calls!
-- Meelis Roos ([EMAIL PROTECTED])
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]