Bug 8337 - Undefined reference errors for talloc functions during make
Summary: Undefined reference errors for talloc functions during make
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.5.10
Hardware: x64 Linux
: P5 normal
Target Milestone: ---
Assignee: Björn Jacke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-29 16:59 UTC by Manjit
Modified: 2019-06-11 21:24 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manjit 2011-07-29 16:59:42 UTC
Building on RHEL 5.6

Here is the whole configure statement:

./configure --build=x86_64-linux-gnu    \
            --host=x86_64-linux-gnu     \
            --target=x86_64-linux-gnu \
            --prefix=${PREFIX_PATH}      \
            --with-mandir=/usr/local/man \
            --without-readline           \
            --with-libiconv=/usr/local   \
            --without-afs                \
            --without-vfs-afsacl         \
            --with-ldap                  \
            --with-krb5                  \
            --with-ads                   \
            --without-dnsupdate          \
            --without-automount          \
            --with-cifsmount             \
            --without-pam                \
            --without-pam_smbpass        \
            --without-nisplus-home       \
            --without-syslog             \
            --without-quotas             \
            --without-sys-quotas         \
            --without-utmp               \
            --without-libaddns           \
            --without-libsmbclient       \
            --without-libsmbsharemodes   \
            --with-libtalloc          \
            --without-acl-support        \
            --without-aio-support        \
            --with-sendfile-support      \
            --without-winbind            \
            --with-included-popt         \
            --with-included-iniparser


I get the following errors during make.

Compiling ../nsswitch/winbind_krb5_locator.c
Linking bin/winbind_krb5_locator.so
bin/libwbclient.a(wbclient.o): In function `wbcLibraryDetails':
wbclient.c:(.text+0x101): undefined reference to `talloc_named_const'
wbclient.c:(.text+0x123): undefined reference to `talloc_strdup'
wbclient.c:(.text+0x150): undefined reference to `_talloc_free'
bin/libwbclient.a(wbclient.o): In function `wbcFreeMemory':
wbclient.c:(.text+0x16e): undefined reference to `_talloc_free'
bin/libwbclient.a(wbc_util.o): In function `wbcAddNamedBlob':
wbc_util.c:(.text+0x4e): undefined reference to `_talloc_realloc_array'
wbc_util.c:(.text+0x61): undefined reference to `talloc_strdup'
wbc_util.c:(.text+0x7e): undefined reference to `_talloc_memdup'
bin/libwbclient.a(wbc_util.o): In function `wbcResolveWinsByIP':
wbc_util.c:(.text+0x16c): undefined reference to `talloc_strdup'
bin/libwbclient.a(wbc_util.o): In function `wbcResolveWinsByName':
wbc_util.c:(.text+0x229): undefined reference to `talloc_strdup'
Comment 1 Karolin Seeger 2011-08-20 18:35:08 UTC
Günther, is this a known issue?
Comment 2 Andrew Bartlett 2019-06-11 21:10:18 UTC
The wbclient lib no longer uses talloc.