Le vendredi 13 octobre 2006 =E0 11:07 +0200, Vincenzo Versi a =E9crit :
> Hi Stelian, tx for the latest advice because I installed dump and it
> seems it works. The troubles now are with restore I can't make the bin
> file and here is the output of make:
> =20
> for i in compat/lib compat/include common dump restore rmt; do \
> (cd $i && make all) || exit 1; \
> done
> make[1]: Entering directory
> `/home/vincenzo/dump/dump-0.4b41/compat/lib'
> make[1]: Nothing to be done for `all'.=20
> make[1]: Leaving directory
> `/home/vincenzo/dump/dump-0.4b41/compat/lib'
> make[1]: Entering directory
> `/home/vincenzo/dump/dump-0.4b41/compat/include'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/vincenzo/dump/dump-
> 0.4b41/compat/include'
> make[1]: Entering directory `/home/vincenzo/dump/dump-0.4b41/common'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/vincenzo/dump/dump-0.4b41/common'
> make[1]: Entering directory `/home/vincenzo/dump/dump- 0.4b41/dump'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/vincenzo/dump/dump-0.4b41/dump'
> make[1]: Entering directory `/home/vincenzo/dump/dump-0.4b41/restore'
> gcc -c -D_BSD_SOURCE -D_USE_BSD_SIGNAL -g -O2 -pipe -I..
> -I../compat/include -I../restore -DRDUMP -DRRESTORE -DLINUX_FORK_BUG
> -DHAVE_LZO -D_PATH_DUMPDATES=3D\"/usr/local/etc/dumpdates\"
> -D_DUMP_VERSION=3D\" 0.4b41\" xattr.c -o xattr.o
> In file included from ../compat/include/bsdcompat.h:15,
> from xattr.c:44:
> /usr/include/ext2fs/ext2fs.h:209: warning: `struct ext2_inode'
> declared inside parameter list=20
> /usr/include/ext2fs/ext2fs.h:209: warning: its scope is only this
> definition or declaration, which is probably not what you want.
[...]
I'm afraid you'll have to dig yourself a solution for this, most
likely /usr/include/ext2fs/ext2fs.h, around line 209, uses some type
which is defined in a system header file which has not been included
before.
Since all the other files in dump and restore, except xattr, compiled
fine, I suggest you look at the #includes at the top of the different
files and determine which one is missing in xattr.c
This is a problem with libext2fs headers, not with dump per se...
Stelian.
--=20
Stelian Pop <st...@po...>
|