[Slackbuilds-users] acpitool won't build on current

Grissiom chaos.proton at gmail.com
Mon May 18 14:28:17 UTC 2009


Hi all,

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:

sh acpitool.SlackBuild
acpitool-0.5/

acpitool-0.5/Makefile.in

acpitool-0.5/ChangeLog

acpitool-0.5/AUTHORS

acpitool-0.5/man/

acpitool-0.5/man/Makefile.in

acpitool-0.5/man/acpitool.1

acpitool-0.5/man/Makefile.am

acpitool-0.5/acpitool.spec

acpitool-0.5/configure

acpitool-0.5/src/

acpitool-0.5/src/Makefile.in

acpitool-0.5/src/toshiba.cpp

acpitool-0.5/src/asus.h

acpitool-0.5/src/cpu.h

acpitool-0.5/src/ac_adapter.cpp

acpitool-0.5/src/battery.cpp

acpitool-0.5/src/battery.h

acpitool-0.5/src/freq.h

acpitool-0.5/src/thinkpad.cpp

acpitool-0.5/src/Makefile.am

acpitool-0.5/src/acpitool.h

acpitool-0.5/src/ac_adapter.h

acpitool-0.5/src/acpitool.cpp

acpitool-0.5/src/asus.cpp

acpitool-0.5/src/freq.cpp

acpitool-0.5/src/thinkpad.h

acpitool-0.5/src/cpu.cpp

acpitool-0.5/src/main.cpp

acpitool-0.5/src/toshiba.h

acpitool-0.5/config.sub

acpitool-0.5/depcomp

acpitool-0.5/Makefile.am

acpitool-0.5/config.h.in

acpitool-0.5/install-sh

acpitool-0.5/missing

acpitool-0.5/NEWS

acpitool-0.5/config.guess

acpitool-0.5/configure.in

acpitool-0.5/TODO

acpitool-0.5/INSTALL

acpitool-0.5/aclocal.m4

acpitool-0.5/COPYING

acpitool-0.5/README

/tmp/SBo/acpitool-0.5

checking for a BSD-compatible install... /bin/ginstall
-c
checking whether build environment is sane...
yes
checking for gawk...
gawk
checking whether make sets $(MAKE)...
yes
checking build system type...
i486-slackware-linux-gnu
checking host system type...
i486-slackware-linux-gnu
checking for g++...
g++
checking for C++ compiler default output file name...
a.out
checking whether the C++ compiler works...
yes
checking whether we are cross compiling...
no
checking for suffix of
executables...
checking for suffix of object files...
o
checking whether we are using the GNU C++ compiler...
yes
checking whether g++ accepts -g...
yes
checking for style of include used by make...
GNU
checking dependency style of g++...
gcc3
checking for gcc...
gcc
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g...
yes
checking for gcc option to accept ISO C89... none
needed
checking dependency style of gcc...
gcc3
checking for dirent.h that defines DIR...
yes
checking for library containing opendir... none
required
checking how to run the C preprocessor... gcc
-E
checking for grep that handles long lines and -e...
/bin/grep
checking for egrep... /bin/grep
-E
checking for ANSI C header files...
yes
checking for sys/types.h...
yes
checking for sys/stat.h...
yes
checking for stdlib.h...
yes
checking for string.h...
yes
checking for memory.h...
yes
checking for strings.h...
yes
checking for inttypes.h...
yes
checking for stdint.h...
yes
checking for unistd.h...
yes
checking for unistd.h... (cached)
yes
checking for an ANSI C-conforming const...
yes
checking whether closedir returns void...
no
checking for strdup...
yes
checking for memset...
yes
checking for strtol...
yes
checking for a BSD-compatible install... /bin/ginstall
-c
configure: creating
./config.status
config.status: creating
Makefile
config.status: creating
src/Makefile
config.status: creating
man/Makefile
config.status: creating
config.h
config.status: executing depfiles
commands

 +-----------------------------------------------------------------------------------+
 | Run make && make install when the configure script has finished without
problems. |
 +-----------------------------------------------------------------------------------+

make  all-recursive
make[1]: Entering directory `/tmp/SBo/acpitool-0.5'
Making all in src
/tmp/SBo/acpitool-0.5/src
make[2]: Entering directory `/tmp/SBo/acpitool-0.5/src'
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;
\

        then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
".deps/main.Tpo"; exit 1; fi
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;
\

        then mv -f ".deps/acpitool.Tpo" ".deps/acpitool.Po"; else rm -f
".deps/acpitool.Tpo"; exit 1; fi
acpitool.cpp: In function 'int
Has_ACPI(char*)':

acpitool.cpp:60: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp:61: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp: In function 'int Get_Kernel_Version(char*,
int)':
acpitool.cpp:133: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp: In function 'int
Set_Kernel_Version()':

acpitool.cpp:181: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp: In function 'int Do_Thermal_Info(int,
int)':
acpitool.cpp:222: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp: In function 'int
Do_Fan_Info(int)':

acpitool.cpp:347: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp: In function 'int
Show_WakeUp_Devices(int)':

acpitool.cpp:403: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp: In function 'int Toggle_WakeUp_Device(int,
int)':
acpitool.cpp:450: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp: In function 'int
Do_Suspend(int)':

acpitool.cpp:516: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp:517: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp:523: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp:524: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp:527: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp:530: warning: deprecated conversion from string constant to
'char*'
acpitool.cpp:531: warning: deprecated conversion from string constant to
'char*'
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;
\

        then mv -f ".deps/ac_adapter.Tpo" ".deps/ac_adapter.Po"; else rm -f
".deps/ac_adapter.Tpo"; exit 1; fi
ac_adapter.cpp: In function 'int Do_AC_Info(int)':
ac_adapter.cpp:58: warning: deprecated conversion from string constant to
'char*'
ac_adapter.cpp: In function 'int Do_AC_Info_Proc(int)':
ac_adapter.cpp:95: warning: deprecated conversion from string constant to
'char*'
ac_adapter.cpp: In function 'int Do_AC_Info_Sys()':
ac_adapter.cpp:153: warning: deprecated conversion from string constant to
'char*'
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; \
        then mv -f ".deps/toshiba.Tpo" ".deps/toshiba.Po"; else rm -f
".deps/toshiba.Tpo"; exit 1; fi
toshiba.cpp: In function 'int Has_Toshiba_ACPI()':
toshiba.cpp:48: warning: deprecated conversion from string constant to
'char*'
toshiba.cpp: In function 'int Do_Toshiba_Fan_Info()':
toshiba.cpp:85: warning: deprecated conversion from string constant to
'char*'
toshiba.cpp:107: error: 'strncmp' was not declared in this scope
toshiba.cpp: In function 'int Do_LCD_Info()':
toshiba.cpp:135: warning: deprecated conversion from string constant to
'char*'
toshiba.cpp: In function 'int Force_Fan(int)':
toshiba.cpp:169: warning: deprecated conversion from string constant to
'char*'
toshiba.cpp: In function 'int Set_LCD_Level(int)':
toshiba.cpp:203: warning: deprecated conversion from string constant to
'char*'
toshiba.cpp: In function 'int Do_Video_Info()':
toshiba.cpp:234: warning: deprecated conversion from string constant to
'char*'
toshiba.cpp:255: error: 'strncmp' was not declared in this scope
toshiba.cpp:264: error: 'strncmp' was not declared in this scope
toshiba.cpp:275: error: 'strncmp' was not declared in this scope
make[2]: *** [toshiba.o] Error 1
make[2]: Leaving directory `/tmp/SBo/acpitool-0.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/acpitool-0.5'
make: *** [all] Error 2

is there anyway to survive? Thanks in advance.

-- 
Cheers,
Grissiom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20090518/cd7f32cb/attachment-0001.htm>


More information about the SlackBuilds-users mailing list