jfsutils: unknown type name int64_t

Christian Kujau <[email protected]>
Newsgroups gmane.comp.file-systems.jfs.general
Message-ID <[email protected]>
Hi,

while trying to compile jfsutils from CVS, this happens:

In file included from extract.c:32:0:
../libfs/devices.h:45:31: error: unknown type name ‘int64_t’
 int ujfs_get_dev_size(FILE *, int64_t * size);

This was reported last year on an LFS mailing list[0] and Armin provided a 
fix, adding sys/types.h to fscklog/extract.c:

--- fscklog/extract.c	2006-06-05 12:31:40.000000000 -0700
+++ fscklog/extract.c.new	2014-05-04 23:38:04.592917557 -0700
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/types.h>
 
 #include "devices.h"
 #include "diskmap.h"


While this may have been integrated into LFS, upstream still has this 
error. This happened on a Debian/stable x68_64 system, 4.8.2-16. The 
jfsutils build is very noisy anyway, full buildlog here:

  http://nerdbynature.de/bits/jfsutils/

Maybe Armin's solution can be applied to CVS?

Thanks,
Christian.

[0] http://permalink.gmane.org/gmane.linux.lfs.beyond.support/46413
-- 
BOFH excuse #204:

Just pick up the phone and give modem connect sounds. "Well you said we should get more lines so we don't have voice lines."

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.