Menu ▾ ▴

#4 Fails to compile SuSE10.2

open
nobody
None
5
2007-01-19
2007-01-19
John ffitch
No

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

Discussion

  • John ffitch

    John ffitch - 2007-01-19

    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

     
  • John ffitch

    John ffitch - 2007-01-19

    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.

     

Log in to post a comment.