<div class="gmail_quote">Hi all,<br><br>Sorry that I know the build script is intent to 12.2 but I live in current and wish them be functional. But this time I failed:<br><br>sh acpitool.SlackBuild <br>...<br>
checking for memset... yes <br>checking for strtol... yes <br>checking for a BSD-compatible install... /bin/ginstall -c <br>
configure: creating ./config.status <br>config.status: creating Makefile <br>config.status: creating src/Makefile <br>
config.status: creating man/Makefile <br>config.status: creating config.h <br>config.status: executing depfiles commands <br>
<br> +-----------------------------------------------------------------------------------+<br> | Run make && make install when the configure script has finished without problems. |<br> +-----------------------------------------------------------------------------------+<br>
<br>make all-recursive<br>make[1]: Entering directory `/tmp/SBo/acpitool-0.5'<br>Making all in src <br>/tmp/SBo/acpitool-0.5/src<br>make[2]: Entering directory `/tmp/SBo/acpitool-0.5/src'<br>
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=i486 -mtune=i686 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \<br>
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi<br>if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=i486 -mtune=i686 -MT acpitool.o -MD -MP -MF ".deps/acpitool.Tpo" -c -o acpitool.o acpitool.cpp; \<br>
then mv -f ".deps/acpitool.Tpo" ".deps/acpitool.Po"; else rm -f ".deps/acpitool.Tpo"; exit 1; fi<br>acpitool.cpp: In function 'int Has_ACPI(char*)': <br>
acpitool.cpp:60: warning: deprecated conversion from string constant to 'char*'<br>acpitool.cpp:61: warning: deprecated conversion from string constant to 'char*'<br>
acpitool.cpp: In function 'int Get_Kernel_Version(char*, int)':<br>acpitool.cpp:133: warning: deprecated conversion from string constant to 'char*'<br>
acpitool.cpp: In function 'int Set_Kernel_Version()':<br>acpitool.cpp:181: warning: deprecated conversion from string constant to 'char*'<br>
acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': <br>acpitool.cpp:222: warning: deprecated conversion from string constant to 'char*'<br>
acpitool.cpp: In function 'int Do_Fan_Info(int)': <br>acpitool.cpp:347: warning: deprecated conversion from string constant to 'char*'<br>
acpitool.cpp: In function 'int Show_WakeUp_Devices(int)': <br>acpitool.cpp:403: warning: deprecated conversion from string constant to 'char*'<br>
acpitool.cpp: In function 'int Toggle_WakeUp_Device(int, int)':<br>acpitool.cpp:450: warning: deprecated conversion from string constant to 'char*' <br>
acpitool.cpp: In function 'int Do_Suspend(int)': <br>acpitool.cpp:516: warning: deprecated conversion from string constant to 'char*'<br>
acpitool.cpp:517: warning: deprecated conversion from string constant to 'char*'<br>acpitool.cpp:523: warning: deprecated conversion from string constant to 'char*'<br>
acpitool.cpp:524: warning: deprecated conversion from string constant to 'char*'<br>acpitool.cpp:527: warning: deprecated conversion from string constant to 'char*'<br>
acpitool.cpp:530: warning: deprecated conversion from string constant to 'char*'<br>acpitool.cpp:531: warning: deprecated conversion from string constant to 'char*'<br>
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=i486 -mtune=i686 -MT ac_adapter.o -MD -MP -MF ".deps/ac_adapter.Tpo" -c -o ac_adapter.o ac_adapter.cpp; \<br>
then mv -f ".deps/ac_adapter.Tpo" ".deps/ac_adapter.Po"; else rm -f ".deps/ac_adapter.Tpo"; exit 1; fi<br>ac_adapter.cpp: In function 'int Do_AC_Info(int)':<br>
ac_adapter.cpp:58: warning: deprecated conversion from string constant to 'char*'<br>ac_adapter.cpp: In function 'int Do_AC_Info_Proc(int)':<br>ac_adapter.cpp:95: warning: deprecated conversion from string constant to 'char*'<br>
ac_adapter.cpp: In function 'int Do_AC_Info_Sys()':<br>ac_adapter.cpp:153: warning: deprecated conversion from string constant to 'char*'<br>if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=i486 -mtune=i686 -MT toshiba.o -MD -MP -MF ".deps/toshiba.Tpo" -c -o toshiba.o toshiba.cpp; \<br>
then mv -f ".deps/toshiba.Tpo" ".deps/toshiba.Po"; else rm -f ".deps/toshiba.Tpo"; exit 1; fi<br>toshiba.cpp: In function 'int Has_Toshiba_ACPI()':<br>toshiba.cpp:48: warning: deprecated conversion from string constant to 'char*'<br>
toshiba.cpp: In function 'int Do_Toshiba_Fan_Info()':<br>toshiba.cpp:85: warning: deprecated conversion from string constant to 'char*'<br>toshiba.cpp:107: error: 'strncmp' was not declared in this scope<br>
toshiba.cpp: In function 'int Do_LCD_Info()':<br>toshiba.cpp:135: warning: deprecated conversion from string constant to 'char*'<br>toshiba.cpp: In function 'int Force_Fan(int)':<br>toshiba.cpp:169: warning: deprecated conversion from string constant to 'char*'<br>
toshiba.cpp: In function 'int Set_LCD_Level(int)':<br>toshiba.cpp:203: warning: deprecated conversion from string constant to 'char*'<br>toshiba.cpp: In function 'int Do_Video_Info()':<br>toshiba.cpp:234: warning: deprecated conversion from string constant to 'char*'<br>
toshiba.cpp:255: error: 'strncmp' was not declared in this scope<br>toshiba.cpp:264: error: 'strncmp' was not declared in this scope<br>toshiba.cpp:275: error: 'strncmp' was not declared in this scope<br>
make[2]: *** [toshiba.o] Error 1<br>make[2]: Leaving directory `/tmp/SBo/acpitool-0.5/src'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/tmp/SBo/acpitool-0.5'<br>make: *** [all] Error 2<br>
<br>is there anyway to survive? Thanks in advance.<br clear="all"><br>--<br></div>Cheers,<br>Grissiom<br>