public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Jose M Calhariz <jose@calhariz.com>
To: xfs@oss.sgi.com
Subject: Problems compiling xfsdump on Debian unstable
Date: Sun, 01 Nov 2015 15:10:41 +0000	[thread overview]
Message-ID: <56362B71.4070709@calhariz.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 6887 bytes --]

I am trying to compile the latest xfsdump from the git repository.

While I can compile it on Debian stable (jessie) and testing(stretch), I
have problems compiling it on Debian unstable. 
I think the problem is because of new software on Debian unstable.

One fragment of the errors that I get when linking the .o files:

cldmgr.o: In function `cldmgr_create':
/home/cal/source.xfsdump/git-xfsdump/dump/cldmgr.c:82: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/cldmgr.c:101: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/cldmgr.c:86: undefined
reference to `_'
content_common.o: In function `Media_prompt_change':
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:65: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:69: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:74: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:80: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:83: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:85: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:86: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:106:
undefined reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:112:
undefined reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:117:
undefined reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:121:
undefined reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:108:
undefined reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:109:
undefined reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:112:
undefined reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:117:
undefined reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:121:
undefined reference to `assert'
dlog.o: In function `dlog_string_query_print':
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:362: undefined
reference to `assert'
dlog.o: In function `promptinput':
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:508: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:486: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:503: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:513: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:499: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:490: undefined
reference to `_'
dlog.o: In function `dlog_init':
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:60: undefined reference
to `assert'
dlog.o: In function `dlog_multi_query':
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:189: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:221: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:257: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:213: undefined
reference to `_'
dlog.o: In function `dlog_string_query':
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:298: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:310: undefined
reference to `_'
drive.o: In function `drive_alloc':
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:359: undefined
reference to `assert'
drive.o: In function `drive_init1':
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:91: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:145: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:218: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:223: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:172: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:186: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:110: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:155: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:132: undefined
reference to `_'
drive.o: In function `drive_allochdrs':
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:414: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:400: undefined
reference to `assert'
drive_scsitape.o: In function `do_get_align_cnt':
/home/cal/source.xfsdump/git-xfsdump/dump/drive_scsitape.c:2132:
undefined reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive_scsitape.c:2133:
undefined reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive_scsitape.c:2134:
undefined reference to `assert'



Software on testing that may makes a difference:

gcc --version
gcc (Debian 4.9.3-3) 4.9.3
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

dpkg --status xfslibs-dev
Package: xfslibs-dev
Status: install ok installed
Priority: extra
Section: libdevel
Installed-Size: 80
Maintainer: XFS Development Team <xfs@oss.sgi.com>
Architecture: amd64
Source: xfsprogs
Version: 3.2.1
Depends: libc6-dev | libc-dev, uuid-dev, xfsprogs (>= 3.0.0)
Breaks: xfsprogs (<< 3.0.0)
Description: XFS filesystem-specific static libraries and headers

On Debian unstable:
gcc --version
gcc (Debian 5.2.1-23) 5.2.1 20151028
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

0 2  Dom Nov 01 15:02:32 CWD=~/source.xfsdump/git-xfsdump
cal@chr-amd64-sid.mccoy[3895]>dpkg --status xfslibs-dev
Package: xfslibs-dev
Status: install ok installed
Priority: extra
Section: libdevel
Installed-Size: 219
Maintainer: XFS Development Team <xfs@oss.sgi.com>
Architecture: amd64
Source: xfsprogs
Version: 4.2.0
Depends: libc6-dev | libc-dev, uuid-dev, xfsprogs (>= 3.0.0)
Breaks: xfsprogs (<< 3.0.0)
Description: XFS filesystem-specific static libraries and headers



Why is important to me to compile xfsdump on unstable.  Because it was
removed from Debian testing and
because of that the amanda software was removed too.  As the maintainer
of amanda for Debian I am doing
my best to fix this problem.

I am not on the list.

Kind regards
Jose M Calhariz


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

             reply	other threads:[~2015-11-01 15:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-01 15:10 Jose M Calhariz [this message]
2015-11-01 22:34 ` Problems compiling xfsdump on Debian unstable Dave Chinner
2015-11-02  3:25 ` Nathan Scott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56362B71.4070709@calhariz.com \
    --to=jose@calhariz.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox