Fails to compile SuSE10.2
Brought to you by:
maxlekeux
Configure followed by make fails with C++ errors in teh headers. C++ is not my language so hard to know what is wrong.
==John ff
Timer.hh:43: warning: ‘class TimeoutHandler’ has virtual functions but non-virtual destructor
resource.hh:129: error: extra qualification ‘Resource::’ on member ‘Resource’
resource.hh:130: error: extra qualification ‘Resource::’ on member ‘Resource’
bbacpi.hh:142: warning: ‘class CheckLoad’ has virtual functions but non-virtual destructor
make[1]: *** [bbacpi.o] Error 1
Logged In: YES
user_id=374308
Originator: YES
More information
This is the Resourse:: which is not allowed in recent versions of C++
With that fixed I have the same prob;lem as the other message
cardew:~/System/bbacpi-0.1.5> bbacpi
No support for device type: battery
(null): signal 11 caught
aborting... dumping core
Abort
SuSE10.2 IBM Thinlpad X40
Logged In: YES
user_id=374308
Originator: YES
Moreinformation
The battery info is in /proc/acpi/battery/BAT0 but ther eis no attempt to take notice of the BAT0 part.
I have tried a few trivial changes but so fat without success.
I suspect that the format of ACPI has changed since this code.