0...
1 CXXLD libbitcoinconsensus.la
2 AR libbitcoin_util.a
3 CXXLD bitcoin-cli
4 CXXLD bitcoin-tx
5 CXXLD bitcoin-util
6/usr/bin/ld: libbitcoin_common.a(libbitcoin_common_a-url.o): in function `urlDecode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
7/home/hassen/Workspace/OpenSource/bitcoin/src/common/url.cpp:15:(.text+0x61): undefined reference to `evhttp_uridecode'
8/usr/bin/ld: libbitcoin_common.a(libbitcoin_common_a-url.o): in function `urlDecode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
9/home/hassen/Workspace/OpenSource/bitcoin/src/common/url.cpp:15:(.text+0x61): undefined reference to `evhttp_uridecode'
10collect2: error: ld returned 1 exit status
11make[2]: *** [Makefile:7407: bitcoin-util] Error 1
12make[2]: *** Waiting for unfinished jobs....
13collect2: error: ld returned 1 exit status
14make[2]: *** [Makefile:7403: bitcoin-tx] Error 1
15make[2]: Leaving directory '/home/hassen/Workspace/OpenSource/bitcoin/src'
16make[1]: *** [Makefile:20138: all-recursive] Error 1
17make[1]: Leaving directory '/home/hassen/Workspace/OpenSource/bitcoin/src'
18make: *** [Makefile:814: all-recursive] Error 1
util-{util,wallet}: undefined reference to `evhttp_uridecode' #29654
issue luke-jr openend this issue on March 14, 2024-
luke-jr commented at 10:36 pm on March 14, 2024: member
-
maflcko added the label Bug on Mar 15, 2024
-
maflcko added the label Build system on Mar 15, 2024
-
maflcko added this to the milestone 26.1 on Mar 15, 2024
-
maflcko commented at 8:32 am on March 15, 2024: member
What are the exact steps to reproduce on a fresh install? I tried on mantic with the steps provided and it passed:
0export DEBIAN_FRONTEND=noninteractive && apt update && apt install git vim ccache -y && git clone https://github.com/bitcoin/bitcoin.git --branch=26.x --depth=1 ./bitcoin-core && cd bitcoin-core && apt install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3-zmq systemtap-sdt-dev libevent-dev libboost-dev -y && ./autogen.sh && ./configure --disable-bench --disable-fuzz-binary --enable-debug --without-gui --enable-suppress-external-warnings --disable-wallet && make -j $(nproc)
-
maflcko removed this from the milestone 26.1 on Mar 15, 2024
-
hebasto commented at 11:57 am on March 18, 2024: member
I can’t reproduce the issue either.
What are the exact steps to reproduce on a fresh install?
+1
-
laanwj commented at 2:25 pm on April 11, 2024: member
bitcoin-util
doesn’t seem to be linked against libevent. It also doesn’t actually use that function. Normally, the linker would drop unused object files, but somehow it doesn’t in this user’s case. It shouldn’t be linking in that object (common/url.o
) in the first place. -
ryanofsky closed this on Apr 25, 2024
-
hebasto referenced this in commit 16a6174613 on Apr 25, 2024
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 09:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 09:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me