[OpenWrt-Devel] [PATCH] tools/e2fsprogs: add a darwin-compat patch

Lawrence D'Anna larry at elder-gods.org
Sun Mar 29 03:07:07 EDT 2015


> On Mar 28, 2015, at 10:22 PM, Felix Fietkau <nbd at openwrt.org> wrote:
> 
> On 2015-03-17 07:41, Lawrence D'Anna wrote:
>> On darwin we need to import stdint to get these integer typedefs.
> It works for me on darwin without this patch. What version are you
> using, and what does the error look like?

mac os 10.10.2

make[5]: Entering directory '/Volumes/CaseSensitive/openwrt.foo/build_dir/host/e2fsprogs-1.42.8/lib/e2p'
	CC fgetflags.c
In file included from fgetflags.c:36:
In file included from ./e2p.h:14:
In file included from ../../lib/ext2fs/ext2_fs.h:19:
../../lib/ext2fs/ext2_types.h:20:9: error: unknown type name 'uint8_t'
typedef __U8_TYPEDEF __u8;
        ^
../../lib/ext2fs/ext2_types.h:14:22: note: expanded from macro '__U8_TYPEDEF'
#define __U8_TYPEDEF uint8_t
                     ^
../../lib/ext2fs/ext2_types.h:32:9: error: unknown type name 'uint16_t'
typedef __U16_TYPEDEF __u16;
        ^
../../lib/ext2fs/ext2_types.h:15:23: note: expanded from macro '__U16_TYPEDEF'
#define __U16_TYPEDEF uint16_t
                      ^
../../lib/ext2fs/ext2_types.h:61:9: error: unknown type name 'uint32_t'
typedef __U32_TYPEDEF __u32;
        ^
../../lib/ext2fs/ext2_types.h:16:23: note: expanded from macro '__U32_TYPEDEF'
#define __U32_TYPEDEF uint32_t
                      ^
3 errors generated.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list