acpitool.cpp: In function ‘int Toggle_WakeUp_Device(int, int)’: acpitool.cpp:511: warning: deprecated conversion from string constant to ‘char*’ acpitool.cpp:533: error: ‘strlen’ was not declared in this scope acpitool.cpp:535: error: ‘bzero’ was not declared in this scope acpitool.cpp:536: error: ‘strncpy’ was not declared in this scope acpitool.cpp: In function ‘int Do_Suspend(int)’: acpitool.cpp:577: warning: deprecated conversion from string constant to ‘char*’ acpitool.cpp:578: warning: deprecated conversion from string constant to ‘char*’ acpitool.cpp:584: warning: deprecated conversion from string constant to ‘char*’ acpitool.cpp:585: warning: deprecated conversion from string constant to ‘char*’ acpitool.cpp:588: warning: deprecated conversion from string constant to ‘char*’ acpitool.cpp:591: warning: deprecated conversion from string constant to ‘char*’ acpitool.cpp:592: warning: deprecated conversion from string constant to ‘char*’ make[2]: *** [acpitool.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-power/acpitool-0.4.7-r1/work/acpitool-0.4.7/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-power/acpitool-0.4.7-r1/work/acpitool-0.4.7' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce:
Created attachment 146785 [details, diff] acpitool-gcc43.patch Fixes the problem.
For the record, this was snatched from Fedora: http://cvs.fedoraproject.org/viewcvs/devel/acpitool/acpitool-0.4.7-gcc43.patch?rev=1.1&view=log
Please, make it block bug #198121 as I don't have anough permissions to do that (that's what suggested in that bug).
added to the tree, thanks for the link http://sources.gentoo.org/sys-power/acpitool/acpitool-0.4.7-r1.ebuild?r1=1.4&r2=1.5 http://sources.gentoo.org/sys-power/acpitool/files/acpitool-0.4.7-gcc43.patch?rev=1.1
*** Bug 215591 has been marked as a duplicate of this bug. ***