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

Re: heads up: work needed on upower?



On 22/05/14 17:20, Andreas Henriksson wrote:
make[6]: Entering directory `/«PKGBUILDDIR»/src/freebsd'
   CC       libupshared_la-up-acpi-native.lo
   CC       libupshared_la-up-backend.lo
In file included from up-backend.c:27:0:
/usr/include/kvm.h:82:1: error: unknown type name 'uint64_t'
  uint64_t  kvm_counter_u64_fetch(kvm_t *, u_long);
  ^
up-backend.c:323:1: warning: no previous declaration for 'up_backend_get_used_swap' [-Wmissing-declarations]
  up_backend_get_used_swap (UpBackend *backend)
  ^
make[6]: *** [libupshared_la-up-backend.lo] Error 1


Looks like a missing #include <stdint.h> or something like that, no?

Yes. This is a typical porting issue (uintXX_t types are defined by <sys/types.h> on FreeBSD,
so their code often doesn't include <stdint.h>).

--
Robert Millan


Reply to: