You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the course of building libvmdk-20210418 while libvmdk-20200926 was already installed, I encountered the following error due to the build including the installed /usr/local/include/libvmdk/definitions.h:
--- pyvmdk_la-pyvmdk_disk_types.lo ---
libtool: compile: cc -DHAVE_CONFIG_H -I. -I../common -I/usr/local/include/python3.8 -I/usr/local/include/py
thon3.8 -I/usr/local/include -I../include -I../common -I../libcerror -I../libcdata -I../libclocale -I../libc
split -I../libuna -I../libcfile -I../libcpath -I../libbfio -O2 -pipe -fstack-protector-strong -fno-strict-al
iasing -Wall -MT pyvmdk_la-pyvmdk_disk_types.lo -MD -MP -MF .deps/pyvmdk_la-pyvmdk_disk_types.Tpo -c pyvmdk_
disk_types.c -fPIC -DPIC -o .libs/pyvmdk_la-pyvmdk_disk_types.o
pyvmdk_disk_types.c:149:18: error: use of undeclared identifier 'LIBVMDK_DISK_TYPE_FLAT_2GB_EXTENT'; did you
mean 'LIBVMDK_DISK_TYPE_2GB_EXTENT_FLAT'?
LIBVMDK_DISK_TYPE_FLAT_2GB_EXTENT );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LIBVMDK_DISK_TYPE_2GB_EXTENT_FLAT
/usr/local/include/libvmdk/definitions.h:68:2: note: 'LIBVMDK_DISK_TYPE_2GB_EXTENT_FLAT' declared here
LIBVMDK_DISK_TYPE_2GB_EXTENT_FLAT,
^
pyvmdk_disk_types.c:163:18: error: use of undeclared identifier 'LIBVMDK_DISK_TYPE_SPARSE_2GB_EXTENT'; did y
ou mean 'LIBVMDK_DISK_TYPE_2GB_EXTENT_FLAT'?
LIBVMDK_DISK_TYPE_SPARSE_2GB_EXTENT );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LIBVMDK_DISK_TYPE_2GB_EXTENT_FLAT
/usr/local/include/libvmdk/definitions.h:68:2: note: 'LIBVMDK_DISK_TYPE_2GB_EXTENT_FLAT' declared here
LIBVMDK_DISK_TYPE_2GB_EXTENT_FLAT,
^
2 errors generated.
*** [pyvmdk_la-pyvmdk_disk_types.lo] Error code 1
In the course of building libvmdk-20210418 while libvmdk-20200926 was already installed, I encountered the following error due to the build including the installed /usr/local/include/libvmdk/definitions.h:
The arguments for the configure stage were:
The
-I/usr/local/include
comes from CPPFLAGS. The relevant build target in pyvmdk/Makefile is:Currently pyvmdk/Makefile.am defines AM_CFLAGS which comes after CPPFLAGS in the compile command.
The text was updated successfully, but these errors were encountered: