[blfs-support] jfsutils configure typo and int64_t error BLFS 2013-03-10
krejzi at email.com
Tue Mar 12 12:19:37 PDT 2013
On 03/12/2013 07:54 PM, rhubarbpieguy at gmail.com wrote:
> Should "configure" in the jfsutils-1.1.15 documentation be ./configure?
> ./configure is probably a minor typo, but I have a problem compiling
> jfsutils. I receive the following with the make command with LFS 7.3:
> In file included from extract.c:32:0:
> ../libfs/devices.h:45:31: error: unknown type name 'int64_t'
> ../libfs/devices.h:46:32: error: unknown type name 'int64_t'
> ../libfs/devices.h:46:41: error: unknown type name 'int32_t'
> ../libfs/devices.h:46:58: error: unknown type name 'int32_t'
> extract.c: In function 'readwrite_device':
> extract.c:601:8: warning: implicit declaration of function 'ujfs_rw_diskblocks' [-Wimplicit-function-declaration]
> extract.c: In function 'validate_super':
> extract.c:743:3: warning: implicit declaration of function 'ujfs_get_dev_size' [-Wimplicit-function-declaration]
> make: *** [extract.o] Error 1
> make: Leaving directory `/sources/jfsutils-1.1.15/fscklog'
> make: *** [all-recursive] Error 1
> make: Leaving directory `/sources/jfsutils-1.1.15'
> make: *** [all] Error 2
> I assume I've done something wrong building 7.3, but it seems to boot
> without incident. I've always compiled jfsutils and use it with my 7.2
> build. What have I done wrong? What should I check?
It looks like it got bitten by a change in glibc.
Use sed "s@<unistd.h>@&\n#include <sys/types.h>@g" -i fscklog/extract.c
from the jfs source directory. I'll commit a fix shortly.
More information about the blfs-support