xfs
[Top] [All Lists]

Re: xfsprogs 2.9.8 source tarball released

To: Barry Naujok <bnaujok@xxxxxxx>
Subject: Re: xfsprogs 2.9.8 source tarball released
From: Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx>
Date: Thu, 24 Apr 2008 04:05:00 -0400 (EDT)
Cc: xfs@xxxxxxxxxxx
In-reply-to: <op.t9296fr43jf8g2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <op.t91vzgbk3jf8g2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <480FA0ED.90609@xxxxxxxxxxx> <alpine.DEB.1.10.0804231726300.14175@xxxxxxxxxxxxxxxx> <op.t9296fr43jf8g2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Alpine 1.10 (DEB 962 2008-03-14)


On Thu, 24 Apr 2008, Barry Naujok wrote:

On Thu, 24 Apr 2008 07:27:10 +1000, Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx> wrote:



On Wed, 23 Apr 2008, Eric Sandeen wrote:

Barry Naujok wrote:
ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs_2.9.8-1.tar.gz

Changes since 2.9.7:

        - Add support for sb_features2 in wrong location in mkfs.xfs,
          xfs_repair and xfs_db.
        - Improve memory limits for libxfs cache in xfs_repair and added
          a -m option to manually limit usage of xfs_repair.
        - Add -c option to xfs_admin to turn lazy-counters on/off.
        - Added support for mdp in libdisk/mkfs.xfs, thanks to
          Hubert Verstraete.
        - Add -p option to fsck.xfs, thanks to Markus Rothe.
        - Cleanup sys v3 bzero/bcopy calls, thanks to Nigel Kukard.



This is in Fedora Rawhide now too, for anyone interested.

-Eric



Does not compile on Debian Testing / x86_64:

xfsprogs-2.9.8$ make
=== include ===
rm -f xfs disk
ln -s . xfs
ln -s . disk
=== libxfs ===
/usr/bin/libtool --mode=compile gcc -I. -g -O2 -DNDEBUG -DVERSION=\"2.9.8\" -DLOCALEDIR=\"/usr/local/share/locale\" -DPACKAGE=\"xfsprogs\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -fno-strict-aliasing -Wall -c logitem.c gcc -I. -g -O2 -DNDEBUG -DVERSION=\"2.9.8\" -DLOCALEDIR=\"/usr/local/share/locale\" -DPACKAGE=\"xfsprogs\" -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -funsigned-char -fno-strict-aliasing -Wall -c logitem.c -fPIC -DPIC -o .libs/logitem.o logitem.c:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token logitem.c:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token logitem.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
logitem.c:132: error: expected ')' before '*' token
logitem.c:178: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
logitem.c:197: error: expected ')' before '*' token
logitem.c:239: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xfs_buf_t' logitem.c:314: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xfs_buf_t'
logitem.c:398: error: expected ')' before '*' token
logitem.c:451: error: expected ')' before '*' token
logitem.c:467: error: expected ')' before '*' token
make[1]: *** [logitem.lo] Error 1
make: *** [default] Error 2
Command exited with non-zero status 2
0.07user 0.07system 0:00.15elapsed 94%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+25010minor)pagefaults 0swaps




How bizarre, I'm using Debian testing, downloaded and extracted
the tarball and ran "make" and it worked fine.
Maybe try "make distclean" first?

Problem was on my side, it compiles OK, a bad C_INCLUDE/CPLUS_INCLUDE environmental variable setting.

Thanks..

Justin.


<Prev in Thread] Current Thread [Next in Thread>