../../src/acpica/source/compiler/aslresource.c:993:10: error: 'PARSEOP_CSI2_SERIALBUS' undeclared

Paul Menzel pmenzel at molgen.mpg.de
Mon Mar 14 18:56:12 UTC 2022


Dear fwts folks,


Building fwts currently fails for me.

```
$ git log --oneline --no-decorate -1
c0c29ba7 fwts-test: sync up the sdev checking secure access components
$ autoreconf -ivf
[…]
$ ./configure
$ make V=1
[…]
make[4]: Entering directory '/home/pmenzel/src/fwts/src/libfwtsiasl'
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I../..  -Wall -Wstrict-prototypes -fno-strict-aliasing -D_LINUX 
-DACPI_ASL_COMPILER -g -O2 -I../../src/acpica/source/include 
-I../../src/acpica/source/compiler   -g -O2 -MT 
../../src/acpica/source/compiler/libfwtsiasl_la-aslresource.lo -MD -MP 
-MF 
../../src/acpica/source/compiler/.deps/libfwtsiasl_la-aslresource.Tpo -c 
-o ../../src/acpica/source/compiler/libfwtsiasl_la-aslresource.lo `test 
-f '../../src/acpica/source/compiler/aslresource.c' || echo 
'./'`../../src/acpica/source/compiler/aslresource.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -Wall 
-Wstrict-prototypes -fno-strict-aliasing -D_LINUX -DACPI_ASL_COMPILER -g 
-O2 -I../../src/acpica/source/include -I../../src/acpica/source/compiler 
-g -O2 -MT 
../../src/acpica/source/compiler/libfwtsiasl_la-aslresource.lo -MD -MP 
-MF 
../../src/acpica/source/compiler/.deps/libfwtsiasl_la-aslresource.Tpo -c 
../../src/acpica/source/compiler/aslresource.c  -fPIC -DPIC -o 
../../src/acpica/source/compiler/.libs/libfwtsiasl_la-aslresource.o
../../src/acpica/source/compiler/aslresource.c: In function 
'RsDoOneResourceDescriptor':
../../src/acpica/source/compiler/aslresource.c:993:10: error: 
'PARSEOP_CSI2_SERIALBUS' undeclared (first use in this function); did 
you mean 'PARSEOP_SPI_SERIALBUS'?
      case PARSEOP_CSI2_SERIALBUS:
           ^~~~~~~~~~~~~~~~~~~~~~
           PARSEOP_SPI_SERIALBUS
../../src/acpica/source/compiler/aslresource.c:993:10: note: each 
undeclared identifier is reported only once for each function it appears in
make[4]: *** [Makefile:2411: 
../../src/acpica/source/compiler/libfwtsiasl_la-aslresource.lo] Error 1
[…]
```

No idea, if it matters, but the system has acpica 20210730 installed.


Kind regards,

Paul



More information about the fwts-devel mailing list