connman.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* commit IWD 8f0420c533ae6a49c4f2803afe32d5922a5236ad build error
@ 2023-04-22 15:03 daniel antoine
  2023-04-24  5:46 ` Daniel Wagner
  0 siblings, 1 reply; 2+ messages in thread
From: daniel antoine @ 2023-04-22 15:03 UTC (permalink / raw)
  To: connman

[-- Attachment #1: Type: text/plain, Size: 2895 bytes --]

I have tried to build iwd to the last commit "Allow building with
libedit instead readline". The Pkgfile seems to need the option
--enable-libedit to remove readline but it fails with
  CC       wired/dbus.o
  CCLD     ell/libell-internal.la
  CCLD     client/iwctl
  CCLD     src/iwd
  CCLD     wired/ead
/usr/bin/ld: client/command.o: in function `command_completion':
command.c:(.text+0x6cc): undefined reference to `rl_copy_text'
/usr/bin/ld: command.c:(.text+0x8b0): undefined reference to `rl_copy_text'
/usr/bin/ld: client/display.o: in function `save_input':
display.c:(.text+0x32): undefined reference to `rl_copy_text'
/usr/bin/ld: display.c:(.text+0x3a): undefined reference to `rl_save_prompt'
/usr/bin/ld: display.c:(.text+0x46): undefined reference to `rl_replace_line'
/usr/bin/ld: client/display.o: in function `display_text':
display.c:(.text+0x796): undefined reference to `rl_restore_prompt'
/usr/bin/ld: display.c:(.text+0x7a0): undefined reference to `rl_replace_line'
/usr/bin/ld: client/display.o: in function `display_completion_matches':
display.c:(.text+0x834): undefined reference to `rl_copy_text'
/usr/bin/ld: client/display.o: in function `timeout_callback':
display.c:(.text+0x9d0): undefined reference to `rl_restore_prompt'
/usr/bin/ld: display.c:(.text+0x9da): undefined reference to `rl_replace_line'
/usr/bin/ld: client/display.o: in function `display_table_footer':
display.c:(.text+0x11a6): undefined reference to `rl_restore_prompt'
/usr/bin/ld: display.c:(.text+0x11b1): undefined reference to `rl_replace_line'
/usr/bin/ld: client/display.o: in function `display_enable_cmd_prompt':
display.c:(.text+0x168e): undefined reference to `rl_save_prompt'
/usr/bin/ld: display.c:(.text+0x1698): undefined reference to
`rl_restore_prompt'
/usr/bin/ld: client/display.o: in function `display_agent_prompt':
display.c:(.text+0x177d): undefined reference to `rl_copy_text'
/usr/bin/ld: display.c:(.text+0x1797): undefined reference to `rl_replace_line'
/usr/bin/ld: display.c:(.text+0x17a5): undefined reference to
`rl_erase_empty_line'
/usr/bin/ld: client/display.o: in function `display_agent_prompt_release':
display.c:(.text+0x1889): undefined reference to `rl_copy_text'
/usr/bin/ld: display.c:(.text+0x18cd): undefined reference to
`rl_erase_empty_line'
/usr/bin/ld: display.c:(.text+0x18db): undefined reference to `rl_replace_line'
/usr/bin/ld: client/display.o: in function `display_init':
display.c:(.text+0x1a3e): undefined reference to `rl_erase_empty_line'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1895: client/iwctl] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1595: all] Error 2
=======> ERROR: Building
'/usr/ports/perso/iwd/iwd1682174379x86_64.cards.tar.xz' failed.

It looks like some readline commands are always taken in count

I have my Pkgfile and the compilation log


best regards
Dania

[-- Attachment #2: iwd.log --]
[-- Type: text/x-log, Size: 15983 bytes --]

cards create: /usr/ports/perso/iwd package(s) starting build Sat Apr 22 14:39:39 2023

=======> PKGMK_INSTALL: no
=======> PKGMK_WORK_DIR: /tmp/work
=======> PKGMK_SOURCE_DIR: /tmp
=======> WARNING: CLEAN IGNORED
=======> PKGMK_IGNORE_REPO: no
=======> PKGMK_UPDATE_REPO: 
=======> PKGMK_IGNORE_FOOTPRINT: yes
=======> PKGMK_IGNORE_MD5SUM: yes
=======> PKGMK_COMPRESS_PACKAGE: yes
=======> PKGMK_COMPRESSION_MODE: xz
=======> name: iwd
=======> version: 2.4
=======> release: 1
=======> Building starting...
+ prepare
+ git clone https://git.kernel.org/pub/scm/libs/ell/ell.git ell
Cloning into 'ell'...
+ cd ell
+ git checkout fc2ea65818a797166c3528fe8c5d36fd7021b311
Note: switching to 'fc2ea65818a797166c3528fe8c5d36fd7021b311'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at fc2ea65 build: Have clang warn about zero-length array use
+ cd ..
+ git clone https://git.kernel.org/pub/scm/network/wireless/iwd.git iwd
Cloning into 'iwd'...
+ cd iwd
+ git checkout 8f0420c533ae6a49c4f2803afe32d5922a5236ad
Note: switching to '8f0420c533ae6a49c4f2803afe32d5922a5236ad'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 8f0420c5 build: Allow building with libedit instead readline
+ autoreconf -fiv
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I build-aux
aclocal: warning: couldn't open directory 'build-aux': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory build-aux
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux'.
libtoolize: copying file 'build-aux/libtool.m4'
libtoolize: copying file 'build-aux/ltoptions.m4'
libtoolize: copying file 'build-aux/ltsugar.m4'
libtoolize: copying file 'build-aux/ltversion.m4'
libtoolize: copying file 'build-aux/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I build-aux
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:23: installing 'build-aux/compile'
configure.ac:35: installing 'build-aux/config.guess'
configure.ac:35: installing 'build-aux/config.sub'
configure.ac:8: installing 'build-aux/install-sh'
configure.ac:8: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
autoreconf: Leaving directory '.'
+ build
+ cd iwd
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/iwd --enable-wired --enable-ofono --enable-hwsim --enable-libedit --disable-tools
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking whether gcc accepts -fPIE... yes
checking whether gcc accepts -fsanitize=address... yes
checking whether gcc accepts -fsanitize=leak... yes
checking whether gcc accepts -fsanitize=undefined... yes
checking whether ln -s works... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for _init in -lasan... yes
checking for _init in -llsan... yes
checking for _init in -lubsan... yes
checking for explicit_bzero... yes
checking for rawmemchr... yes
checking for reallocarray... yes
checking for linux/types.h... yes
checking for linux/if_alg.h... yes
checking for libedit... yes
checking D-Bus data directory... /usr/share
checking for rst2man... rst2man
checking D-Bus bus services directory... /usr/share/dbus-1/system-services
checking systemd unit directory... /lib/systemd/system
checking systemd network directory... /lib/systemd/network
checking systemd modules load directory... /lib/modules-load.d
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

	iwd 2.4

+ make
  GEN      ell/internal
  GEN      ell/shared
  GEN      src/builtin.h
  GEN      ell/ell.h
make --no-print-directory all-am
  CC       src/ie.o
  CC       src/wscutil.o
  CC       src/mpdu.o
  CC       src/crypto.o
  CC       src/watchlist.o
  CC       src/eapolutil.o
  CC       src/nl80211cmd.o
  CC       src/p2putil.o
  CC       src/anqputil.o
  CC       src/nl80211util.o
  CC       src/storage.o
  CC       src/common.o
  CC       src/main.o
  CC       src/netdev.o
  CC       src/wiphy.o
  CC       src/device.o
  CC       src/station.o
  CC       src/dbus.o
  CC       src/eapol.o
  CC       src/handshake.o
  CC       src/scan.o
  CC       src/agent.o
  CC       src/network.o
  CC       src/wsc.o
  CC       src/backtrace.o
  CC       src/knownnetworks.o
  CC       src/rfkill.o
  CC       src/ft.o
  CC       src/ap.o
  CC       src/adhoc.o
  CC       src/sae.o
  CC       src/owe.o
  CC       src/blacklist.o
  CC       src/manager.o
  CC       src/erp.o
  CC       src/fils.o
  CC       src/anqp.o
  CC       src/netconfig.o
  CC       src/netconfig-commit.o
  CC       src/resolve.o
  CC       src/hotspot.o
  CC       src/p2p.o
  CC       src/module.o
  CC       src/rrm.o
  CC       src/frame-xchg.o
  CC       src/eap-wsc.o
  CC       src/diagnostic.o
  CC       src/ip-pool.o
  CC       src/sysfs.o
  CC       src/offchannel.o
  CC       src/dpp-util.o
  CC       src/json.o
  CC       src/dpp.o
  CC       src/eap.o
  CC       src/eap-md5.o
  CC       src/eap-tls.o
  CC       src/eap-ttls.o
  CC       src/eap-mschapv2.o
  CC       src/eap-sim.o
  CC       src/eap-aka.o
  CC       src/eap-peap.o
  CC       src/eap-gtc.o
  CC       src/eap-pwd.o
  CC       src/simutil.o
  CC       src/simauth.o
  CC       src/eap-tls-common.o
  CC       src/mschaputil.o
  CC       src/ofono.o
  GEN      src/iwd.service
  GEN      wired/ead.service
  CC       tools/probe-req.o
  CC       tools/iwd-decrypt-profile.o
  GEN      src/iwd.8
  GEN      src/iwd.debug.7
  GEN      src/iwd.config.5
  GEN      src/iwd.network.5
  GEN      src/iwd.ap.5
  GEN      client/iwctl.1
  GEN      monitor/iwmon.1
  GEN      wired/ead.8
  GEN      tools/hwsim.1
  CC       client/main.o
  CC       client/adapter.o
  CC       client/agent.o
  CC       client/agent-manager.o
  CC       client/ad-hoc.o
  CC       client/ap.o
  CC       client/command.o
  CC       client/dbus-proxy.o
  CC       client/device.o
  CC       client/display.o
  CC       client/known-networks.o
  CC       client/network.o
  CC       client/properties.o
  CC       client/wsc.o
  CC       client/station.o
  CC       client/diagnostic.o
  CC       client/daemon.o
  CC       client/dpp.o
  CC       client/station-debug.o
  CC       src/util.o
  CC       src/band.o
  CC       ell/util.lo
  CC       ell/test.lo
  CC       ell/strv.lo
  CC       ell/utf8.lo
  CC       ell/queue.lo
  CC       ell/hashmap.lo
  CC       ell/string.lo
  CC       ell/settings.lo
  CC       ell/main.lo
  CC       ell/idle.lo
  CC       ell/signal.lo
  CC       ell/timeout.lo
  CC       ell/io.lo
  CC       ell/ringbuf.lo
  CC       ell/log.lo
  CC       ell/checksum.lo
  CC       ell/netlink.lo
  CC       ell/genl.lo
  CC       ell/rtnl.lo
  CC       ell/dbus.lo
  CC       ell/dbus-message.lo
  CC       ell/dbus-util.lo
  CC       ell/dbus-service.lo
  CC       ell/dbus-client.lo
  CC       ell/dbus-name-cache.lo
  CC       ell/dbus-filter.lo
  CC       ell/gvariant-util.lo
  CC       ell/siphash.lo
  CC       ell/hwdb.lo
  CC       ell/cipher.lo
  CC       ell/random.lo
  CC       ell/uintset.lo
  CC       ell/base64.lo
  CC       ell/pem.lo
  CC       ell/tls.lo
  CC       ell/tls-record.lo
  CC       ell/tls-suites.lo
  CC       ell/tls-extensions.lo
  CC       ell/uuid.lo
  CC       ell/key.lo
  CC       ell/file.lo
  CC       ell/dir.lo
  CC       ell/net.lo
  CC       ell/dhcp.lo
  CC       ell/dhcp-transport.lo
  CC       ell/dhcp-lease.lo
  CC       ell/dhcp-util.lo
  CC       ell/dhcp-server.lo
  CC       ell/cert.lo
  CC       ell/cert-crypto.lo
  CC       ell/ecc-external.lo
  CC       ell/ecc.lo
  CC       ell/ecdh.lo
  CC       ell/time.lo
  CC       ell/path.lo
  CC       ell/dhcp6.lo
  CC       ell/icmp6.lo
  CC       ell/dhcp6-lease.lo
  CC       ell/dhcp6-transport.lo
  CC       ell/acd.lo
  CC       ell/netconfig.lo
  CC       monitor/main.o
  CC       monitor/nlmon.o
  CC       monitor/pcap.o
  CC       monitor/display.o
  CC       tools/hwsim.o
  CC       wired/main.o
  CC       wired/ethdev.o
  CC       wired/network.o
  CC       wired/dbus.o
  CCLD     ell/libell-internal.la
  CCLD     client/iwctl
  CCLD     src/iwd
  CCLD     wired/ead
/usr/bin/ld: client/command.o: in function `command_completion':
command.c:(.text+0x6cc): undefined reference to `rl_copy_text'
/usr/bin/ld: command.c:(.text+0x8b0): undefined reference to `rl_copy_text'
/usr/bin/ld: client/display.o: in function `save_input':
display.c:(.text+0x32): undefined reference to `rl_copy_text'
/usr/bin/ld: display.c:(.text+0x3a): undefined reference to `rl_save_prompt'
/usr/bin/ld: display.c:(.text+0x46): undefined reference to `rl_replace_line'
/usr/bin/ld: client/display.o: in function `display_text':
display.c:(.text+0x796): undefined reference to `rl_restore_prompt'
/usr/bin/ld: display.c:(.text+0x7a0): undefined reference to `rl_replace_line'
/usr/bin/ld: client/display.o: in function `display_completion_matches':
display.c:(.text+0x834): undefined reference to `rl_copy_text'
/usr/bin/ld: client/display.o: in function `timeout_callback':
display.c:(.text+0x9d0): undefined reference to `rl_restore_prompt'
/usr/bin/ld: display.c:(.text+0x9da): undefined reference to `rl_replace_line'
/usr/bin/ld: client/display.o: in function `display_table_footer':
display.c:(.text+0x11a6): undefined reference to `rl_restore_prompt'
/usr/bin/ld: display.c:(.text+0x11b1): undefined reference to `rl_replace_line'
/usr/bin/ld: client/display.o: in function `display_enable_cmd_prompt':
display.c:(.text+0x168e): undefined reference to `rl_save_prompt'
/usr/bin/ld: display.c:(.text+0x1698): undefined reference to `rl_restore_prompt'
/usr/bin/ld: client/display.o: in function `display_agent_prompt':
display.c:(.text+0x177d): undefined reference to `rl_copy_text'
/usr/bin/ld: display.c:(.text+0x1797): undefined reference to `rl_replace_line'
/usr/bin/ld: display.c:(.text+0x17a5): undefined reference to `rl_erase_empty_line'
/usr/bin/ld: client/display.o: in function `display_agent_prompt_release':
display.c:(.text+0x1889): undefined reference to `rl_copy_text'
/usr/bin/ld: display.c:(.text+0x18cd): undefined reference to `rl_erase_empty_line'
/usr/bin/ld: display.c:(.text+0x18db): undefined reference to `rl_replace_line'
/usr/bin/ld: client/display.o: in function `display_init':
display.c:(.text+0x1a3e): undefined reference to `rl_erase_empty_line'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1895: client/iwctl] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1595: all] Error 2
=======> ERROR: Building '/usr/ports/perso/iwd/iwd1682174379x86_64.cards.tar.xz' failed.

[-- Attachment #3: Pkgfile --]
[-- Type: application/octet-stream, Size: 1059 bytes --]

makedepends=(dbus python-docutils readline)

description="Internet Wireless Daemon"
url="https://git.kernel.org/cgit/network/wireless/iwd.git/"

packager="Yaolinux Team"
maintainer="Dania"

name=iwd
version=2.4

#Last commit on iwd repo
_commit1=8f0420c533ae6a49c4f2803afe32d5922a5236ad

#Last commit on ell repo
_commit2=fc2ea65818a797166c3528fe8c5d36fd7021b311

prepare() {
  git clone https://git.kernel.org/pub/scm/libs/ell/ell.git ell

  cd ell
  git checkout ${_commit2}

  cd ..

  git clone https://git.kernel.org/pub/scm/network/wireless/iwd.git iwd

  cd iwd
  git checkout ${_commit1}

  autoreconf -fiv
}

build() {
  cd iwd

        ./configure --prefix=/usr \
                    --sysconfdir=/etc \
                    --localstatedir=/var \
	            --libexecdir=/usr/lib/iwd \
	            --enable-wired \
	            --enable-ofono \
	            --enable-hwsim \
              --enable-libedit \
	            --disable-tools

  make
  make install DESTDIR=$PKG

  install -dm700 $PKG/var/lib/ead/
  install -dm700 $PKG/var/lib/iwd/
}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: commit IWD 8f0420c533ae6a49c4f2803afe32d5922a5236ad build error
  2023-04-22 15:03 commit IWD 8f0420c533ae6a49c4f2803afe32d5922a5236ad build error daniel antoine
@ 2023-04-24  5:46 ` Daniel Wagner
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Wagner @ 2023-04-24  5:46 UTC (permalink / raw)
  To: daniel antoine; +Cc: connman, iwd

Add iwd mailing list

On Sat, Apr 22, 2023 at 05:03:00PM +0200, daniel antoine wrote:
> I have tried to build iwd to the last commit "Allow building with
> libedit instead readline". The Pkgfile seems to need the option
> --enable-libedit to remove readline but it fails with
>   CC       wired/dbus.o
>   CCLD     ell/libell-internal.la
>   CCLD     client/iwctl
>   CCLD     src/iwd
>   CCLD     wired/ead
> /usr/bin/ld: client/command.o: in function `command_completion':
> command.c:(.text+0x6cc): undefined reference to `rl_copy_text'
> /usr/bin/ld: command.c:(.text+0x8b0): undefined reference to `rl_copy_text'
> /usr/bin/ld: client/display.o: in function `save_input':
> display.c:(.text+0x32): undefined reference to `rl_copy_text'
> /usr/bin/ld: display.c:(.text+0x3a): undefined reference to `rl_save_prompt'
> /usr/bin/ld: display.c:(.text+0x46): undefined reference to `rl_replace_line'
> /usr/bin/ld: client/display.o: in function `display_text':
> display.c:(.text+0x796): undefined reference to `rl_restore_prompt'
> /usr/bin/ld: display.c:(.text+0x7a0): undefined reference to `rl_replace_line'
> /usr/bin/ld: client/display.o: in function `display_completion_matches':
> display.c:(.text+0x834): undefined reference to `rl_copy_text'
> /usr/bin/ld: client/display.o: in function `timeout_callback':
> display.c:(.text+0x9d0): undefined reference to `rl_restore_prompt'
> /usr/bin/ld: display.c:(.text+0x9da): undefined reference to `rl_replace_line'
> /usr/bin/ld: client/display.o: in function `display_table_footer':
> display.c:(.text+0x11a6): undefined reference to `rl_restore_prompt'
> /usr/bin/ld: display.c:(.text+0x11b1): undefined reference to `rl_replace_line'
> /usr/bin/ld: client/display.o: in function `display_enable_cmd_prompt':
> display.c:(.text+0x168e): undefined reference to `rl_save_prompt'
> /usr/bin/ld: display.c:(.text+0x1698): undefined reference to
> `rl_restore_prompt'
> /usr/bin/ld: client/display.o: in function `display_agent_prompt':
> display.c:(.text+0x177d): undefined reference to `rl_copy_text'
> /usr/bin/ld: display.c:(.text+0x1797): undefined reference to `rl_replace_line'
> /usr/bin/ld: display.c:(.text+0x17a5): undefined reference to
> `rl_erase_empty_line'
> /usr/bin/ld: client/display.o: in function `display_agent_prompt_release':
> display.c:(.text+0x1889): undefined reference to `rl_copy_text'
> /usr/bin/ld: display.c:(.text+0x18cd): undefined reference to
> `rl_erase_empty_line'
> /usr/bin/ld: display.c:(.text+0x18db): undefined reference to `rl_replace_line'
> /usr/bin/ld: client/display.o: in function `display_init':
> display.c:(.text+0x1a3e): undefined reference to `rl_erase_empty_line'
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:1895: client/iwctl] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make: *** [Makefile:1595: all] Error 2
> =======> ERROR: Building
> '/usr/ports/perso/iwd/iwd1682174379x86_64.cards.tar.xz' failed.
> 
> It looks like some readline commands are always taken in count
> 
> I have my Pkgfile and the compilation log
> 
> 
> best regards
> Dania




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-24  5:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-22 15:03 commit IWD 8f0420c533ae6a49c4f2803afe32d5922a5236ad build error daniel antoine
2023-04-24  5:46 ` Daniel Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).