Re: [snmp PATCH 1/2] Replace U64 with struct counter64 to fix build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/20/2018 09:41 AM, Michael Corcoran wrote:
> Upstream net-snmp removed the U64 typedef in 2016 as it clashed with a
> name in Perl, thus all usages of U64 must be replaced by struct counter64 to
> compile against recent versions of net-snmp.
> 
> The replacements were made by hand, while referencing diff with new
> source generated by the mib2c tool. net-snmp have a mib2c-update tool
> which supposedly assists with updating existing (modified) source code
> but I was unable to get it to work.
> 
> Signed-off-by: Michael Corcoran <tracer@xxxxxxxxxxxxx>
> ---
>  src/defaults/node-libvirtGuestCpuTime.m2d          | 2 +-
>  src/libvirtGuestTable-README-libvirtGuestTable.txt | 2 +-
>  src/libvirtGuestTable.h                            | 4 ++--
>  src/libvirtGuestTable_data_get.c                   | 4 ++--
>  src/libvirtGuestTable_data_get.h                   | 2 +-
>  src/libvirtGuestTable_data_set.h                   | 4 ++--
>  src/libvirtGuestTable_interface.c                  | 8 ++++----
>  7 files changed, 13 insertions(+), 13 deletions(-)

ACK. Although you've missed some other occurrences. I'm fixing them too.

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux