Trying to compile the source code of wimlib v1.14.4 on CentOS 7.9, I receive the following error messages :
Code: Select all
src/mount_image.c: In function 'wimfs_rename':
src/mount_image.c:1872:14: error: 'RENAME_EXCHANGE' undeclared (first use in this function)
if (flags & RENAME_EXCHANGE)
^
src/mount_image.c:1872:14: note: each undeclared identifier is reported only once for each function it appears in
src/mount_image.c:1876:20: error: 'RENAME_NOREPLACE' undeclared (first use in this function)
(flags & RENAME_NOREPLACE), NULL);
^
src/mount_image.c:1877:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[1]: *** [src/libwim_la-mount_image.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/build/rpmbuild/BUILD/wimlib-1.14.4'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.ngCXdS (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.ngCXdS (%build)