https://bugs.openldap.org/show_bug.cgi?id=9771
Issue ID: 9771
Summary: ./.libs/libldap.so: undefined reference to
`ber_sockbuf_io_udp'
Product: OpenLDAP
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: needs_review
Severity: normal
Priority: ---
Component: build
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 861
--> https://bugs.openldap.org/attachment.cgi?id=861&action=edit
openldap build log
When trying to build openldap from current master commit
(https://github.com/openldap/openldap/commit/75636a407e38f1502c592566b5bf4c3ebf142a2b),
I get the following error. Full build log attached.
libtool: link: x86_64-pc-linux-gnu-gcc -m32 -march=native -O3 -pipe -fno-plt
-fno-common -fipa-pta -falign-functions=32 -fdevirtualize-at-ltrans
-fuse-linker-plugin -floop-nest-optimize -fgraphite-identity
-fexcess-precision=fast -w -flto=auto -Wl,-O1 -o .libs/ftest ftest.o
-Wl,--as-needed ./.libs/libldap.so
/var/tmp/portage/net-nds/openldap-9999/work/openldap-9999-abi_x86_32.x86/libraries/liblber/.libs/liblber.so
../../libraries/liblber/.libs/liblber.so ../../libraries/liblutil/liblutil.a
-lgnutls -luuid
/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.0/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/libldap.so: undefined reference to `ber_sockbuf_io_udp'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:338: urltest] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.0/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/libldap.so: undefined reference to `ber_sockbuf_io_udp'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.0/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/libldap.so: undefined reference to `ber_sockbuf_io_udp'
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:326: apitest] Error 1
make[2]: *** [Makefile:334: testavl] Error 1
/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.0/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/libldap.so: undefined reference to `ber_sockbuf_io_udp'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:330: ftest] Error 1
/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.0/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/libldap.so: undefined reference to `ber_sockbuf_io_udp'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:328: dntest] Error 1
/usr/lib/gcc/x86_64-pc-linux-gnu/12.0.0/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/libldap.so: undefined reference to `ber_sockbuf_io_udp'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:332: ltest] Error 1
make[2]: Leaving directory
'/var/tmp/portage/net-nds/openldap-9999/work/openldap-9999-abi_x86_32.x86/libraries/libldap'
make[1]: *** [Makefile:312: all-common] Error 1
make[1]: Leaving directory
'/var/tmp/portage/net-nds/openldap-9999/work/openldap-9999-abi_x86_32.x86/libraries'
make: *** [Makefile:320: all-common] Error 1
--
You are receiving this mail because:
You are on the CC list for the issue.