btrfs

Denys Vlasenko vda.linux at googlemail.com
Mon Nov 2 11:50:13 UTC 2009


On Sun, Nov 1, 2009 at 10:15 PM, Vladimir Dronnikov <dronnikov at gmail.com> wrote:
>>
>> util-linux/volume_id/btrfs.c:32: error: expected specifier-qualifier-list before '__le64'
>> util-linux/volume_id/btrfs.c:51: error: expected specifier-qualifier-list before '__le64'
>> util-linux/volume_id/btrfs.c: In function 'volume_id_probe_btrfs':
>> util-linux/volume_id/btrfs.c:92: error: 'struct btrfs_super_block' has no member named 'magic'
>> util-linux/volume_id/btrfs.c:96: error: 'struct btrfs_super_block' has no member named 'label'
>> make[1]: *** [util-linux/volume_id/btrfs.o] Error 1
>> make: *** [util-linux/volume_id] Error 2
>
> Argh. I'm sure it was building cleanly on my system... Different /usr/include?

That's why using uintNN_t is preferred. Those are standard types.
They will always work.

I wonder why kernel uses __u32 etc instead, with no sign
of gradual migration to uint32_t?
(I understand le/be types, but not this one).

--
vda


More information about the busybox mailing list