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

Robby Workman rworkman at slackbuilds.org
Mon May 18 15:54:13 UTC 2009


On Mon, 18 May 2009 22:50:43 +0800
Grissiom <chaos.proton at gmail.com> wrote:

> 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:
> ...
> 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.


Apply the attached patch to include string.h in toshiba.cpp and freq.cpp

-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acpitool-0.5-add_string.h.patch
Type: text/x-patch
Size: 865 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20090518/c96f2338/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20090518/c96f2338/attachment-0001.asc>


More information about the SlackBuilds-users mailing list