xfsdump doesn't build in slackware-current
I'm completely stuck with rebuilding xfsdump in slackware-current by the following message (gcc-7.1.0 I suppose?):
------------------------
types.h:70:29: error: ‘NBBY’ undeclared (first use in this function)
( unsigned long long )NBBY \
^
types.h:80:21: note: in expansion of macro ‘MKMAX’
#define MKUMAX( t ) MKMAX( t, 0ull )
^~~~~
types.h:93:16: note: in expansion of macro ‘MKUMAX’
#define IXMAX MKUMAX( size_t )
^~~~~~
content_common.c:90:13: note: in expansion of macro ‘IXMAX’
sigintix = IXMAX - 1;
^~~~~
types.h:70:29: note: each undeclared identifier is reported only once for each function it appears in
( unsigned long long )NBBY \
^
types.h:80:21: note: in expansion of macro ‘MKMAX’
#define MKUMAX( t ) MKMAX( t, 0ull )
^~~~~
types.h:93:16: note: in expansion of macro ‘MKUMAX’
#define IXMAX MKUMAX( size_t )
^~~~~~
content_common.c:90:13: note: in expansion of macro ‘IXMAX’
sigintix = IXMAX - 1;
^~~~~
content_common.c:107:22: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
ackstr[ ackcnt++ ] = _("examining new media\n");
^
content_common.c:109:22: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
ackstr[ ackcnt++ ] = _("media change aborted\n");
^
content_common.c:112:22: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
ackstr[ ackcnt++ ] = _("keyboard interrupt\n");
^
content_common.c:120:19: warning: passing argument 2 of ‘fold_init’ makes pointer from integer without a cast [-Wint-conversion]
fold_init( fold, _("end dialog"), '-' );
^
In file included from content_common.c:33:0:
mlog.h:130:13: note: expected ‘char *’ but argument is of type ‘int’
extern void fold_init( fold_t fold, char *infostr, char c );
^~~~~~~~~
gmake[2]: *** [../include/buildrules:47: content_common.o] Error 1
gmake[1]: *** [include/buildrules:23: dump] Error 2
make: *** [Makefile:53: default] Error 2
-----------------------
Can someone help with this message?
-----------------------
Last edited by nobodino; 06-10-2017 at 12:26 PM.
Reason: grammar
|