Package Details: hal 0.5.15-3

Git Clone URL: (read-only, click to copy)
Package Base: hal
Description: Hardware Abstraction Layer
Upstream URL:
Licenses: GPL, custom
Submitter: bidulock
Maintainer: bidulock
Last Packager: bidulock
Votes: 26
Popularity: 0.010184
First Submitted: 2015-08-13 23:13
Last Updated: 2019-08-06 09:34

Latest Comments

FrederickZh commented on 2019-08-06 08:59

@alexandria Got the same error here, figured out that it needed another patch:

--- ./hal-0.5.15/hald/linux/blockdev.c.orig     2019-08-06 18:53:45.195329243 +1000
+++ ./hal-0.5.15/hald/linux/blockdev.c  2019-08-06 18:54:09.194947547 +1000
@@ -35,6 +35,7 @@
 #include <dirent.h>
 #include <string.h>
 #include <sys/stat.h>
+#include <sys/sysmacros.h>
 #include <syslog.h>
 #include <unistd.h>
 #include <errno.h>

alexandria commented on 2019-01-18 13:31

Is a dependency missing?

hald_dbus.c: In function ‘device_is_caller_locked_out’:
hald_dbus.c:2252:14: warning: variable ‘sender’ set but not used [-Wunused-but-set-variable]
  const char *sender;
  CC       ids.o
  CC       mmap_cache.o
  CC       ci-tracker.o
  CC       access-check.o
  CCLD     hald
/usr/bin/ld: ../hald/linux/.libs/libhald_linux.a(blockdev.o): in function `blockdev_refresh_mount_state':
blockdev.c:(.text+0x10fc): undefined reference to `makedev'
/usr/bin/ld: blockdev.c:(.text+0x1127): undefined reference to `major'
/usr/bin/ld: blockdev.c:(.text+0x11a4): undefined reference to `major'
/usr/bin/ld: blockdev.c:(.text+0x11de): undefined reference to `major'
/usr/bin/ld: blockdev.c:(.text+0x11ee): undefined reference to `minor'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:831: hald] Error 1
make[4]: Leaving directory '/home/a/.cache/yay/hal/src/hal-0.5.15/hald'
make[3]: *** [Makefile:939: all-recursive] Error 1
make[3]: Leaving directory '/home/a/.cache/yay/hal/src/hal-0.5.15/hald'
make[2]: *** [Makefile:688: all] Error 2
make[2]: Leaving directory '/home/a/.cache/yay/hal/src/hal-0.5.15/hald'
make[1]: *** [Makefile:536: all-recursive] Error 1
make[1]: Leaving directory '/home/a/.cache/yay/hal/src/hal-0.5.15'
make: *** [Makefile:420: all] Error 2

bidulock commented on 2016-06-01 00:35

I don't get this error. Perhaps there is a missing make depends?

ArnaudNux commented on 2016-02-24 16:57

hal-setup-keymap.c:149:19: error: dereferencing pointer to incomplete type 'const struct key'
keycode = name->id;
Makefile:1024: recipe for target 'hal-setup-keymap.o' failed
make[4]: *** [hal-setup-keymap.o] Error 1
make[4]: Leaving directory '/tmp/src/hal-0.5.15/tools'
Makefile:1060: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/tmp/src/hal-0.5.15/tools'
Makefile:684: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/src/hal-0.5.15/tools'
Makefile:536: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/src/hal-0.5.15'
Makefile:420: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().