sed-devel
[Top][All Lists]
Advanced

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

Fix link error on Linux systems with installed libacl, with newest gnuli


From: Bruno Haible
Subject: Fix link error on Linux systems with installed libacl, with newest gnulib
Date: Sun, 29 Jan 2023 21:26:59 +0100

Hi,

When building the sed git checkout from today with the newest gnulib
on a Linux system with libacl installed, I get this link error:

  CCLD     sed/sed
/usr/bin/ld: lib/libsed.a(libsed_a-qcopy-acl.o): in function 
`is_attr_permissions':
/tmp/sed/lib/qcopy-acl.c:36: undefined reference to `attr_copy_action'
/usr/bin/ld: lib/libsed.a(libsed_a-qcopy-acl.o): in function `qcopy_acl':
/tmp/sed/lib/qcopy-acl.c:72: undefined reference to `attr_copy_fd'
/usr/bin/ld: /tmp/sed/lib/qcopy-acl.c:71: undefined reference to 
`attr_copy_file'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:3224: sed/sed] Error 1

The Gnulib module 'acl', that is listed in bootstrap.conf, now needs both
$(LIB_ACL) and $(QCOPY_ACL_LIB).

Patch attached.

Attachment: 0001-Fix-link-error-on-Linux-systems-with-installed-libac.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]