[Slackbuilds-users] Error Building acpica

Rich Shepard rshepard at appl-ecosys.com
Thu May 24 17:10:55 UTC 2012


   Trying to install virtualbox here and starting with acpica. The build
fails with this error:

cc -c -O2 -march=i486 -mtune=i686 -D_LINUX -D_GNU_SOURCE -DACPI_ASL_COMPILER
-I../../source/include -I../../source/compiler -ansi -Wall
-Wbad-function-cast -Wdeclaration-after-statement -Werror -Wformat=2
-Wmissing-declarations -Wmissing-prototypes -Wstrict-aliasing=0
-Wstrict-prototypes -Wswitch-default -Wpointer-arith -Wundef -Waddress
-Waggregate-return -Wchar-subscripts -Wempty-body -Wlogical-op
-Wmissing-declarations -Wmissing-field-initializers -Wmissing-parameter-type
-Wnested-externs -Wold-style-declaration -Wold-style-definition
-Wredundant-decls -Wtype-limits -ogetopt.o ../../source/common/getopt.c
cc1: warnings being treated as errors
../../source/common/getopt.c: In function ‘AcpiGetopt’:
../../source/common/getopt.c:107: error: logical ‘&&’ with non-zero constant
will always evaluate as true
make: *** [getopt.o] Error 1

   What do you suggest I do to fix this?

Rich



More information about the SlackBuilds-users mailing list