Subject: | ‘RPMTAG_SUGGESTSNAME’ undeclared |
Compilation fails on CentOS7:
...
cc -c -Wall -Wextra -fno-strict-aliasing -O2 -DVERSION=\"5.22\" -DXS_VERSION=\"5.22\" -fPIC "-I/opt/perl-5.30.1/lib/5.30.1/x86_64-linux/CORE" URPM.c
URPM.xs: In function ‘pack_header’:
URPM.xs:124:30: error: ‘RPMTAG_SUGGESTSNAME’ undeclared (first use in this function)
#define RPMTAG_RECOMMENDNAME RPMTAG_SUGGESTSNAME
^
URPM.xs:788:43: note: in expansion of macro ‘RPMTAG_RECOMMENDNAME’
pkg->recommends = pack_list(pkg->h, RPMTAG_RECOMMENDNAME, 0, 0);
^
URPM.xs:124:30: note: each undeclared identifier is reported only once for each function it appears in
...