LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-10-2017, 12:22 PM   #1
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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
 
Old 06-11-2017, 05:49 AM   #2
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Maybe xfsdump-3.1.6 needs an older version of xfsprogs, like 4.8.0 for example.

The upstream repo is at https://git.kernel.org/pub/scm/fs/xfs/xfsdump-dev.git. Looking at the commits, they messed around with the includes a lot since 3.1.5, so maybe 3.1.5 will work (with an older version of xfsprogs to go with it).

Or maybe this is something completely new relating to gcc-7.1. Try building xfsprogs-4.10 and xfsdump-3.1.6 with gcc6 or gcc5.
 
Old 06-11-2017, 06:43 AM   #3
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
thanks for your advice, it works with xfsprogs-4.8.0 and gcc-7.1.0.
It solves 'Slackware From Scratch' package building for -current

Last edited by nobodino; 06-11-2017 at 09:01 AM. Reason: closing thread
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to build an all debug slackware current Rinndalir Slackware 7 08-26-2016 05:51 PM
[SOLVED] spice-gtk on slackware current won't build TarFile Slackware 14 04-11-2016 12:29 PM
How do i build a 32 slackware package on 64 bit current? fogpipe Slackware 2 10-28-2015 07:51 PM
[SOLVED] Fail2Ban or Similar build for slackware 14-Current cooholio Slackware 13 06-26-2013 05:24 PM
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration