Bug 8337 - Undefined reference errors for talloc functions during make
Undefined reference errors for talloc functions during make
Status: NEW
Product: Samba 3.5
Classification: Unclassified
Component: Build environment
3.5.10
x64 Linux
: P5 normal
: ---
Assigned To: Björn Jacke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-29 16:59 UTC by Manjit
Modified: 2011-08-20 18:35 UTC (History)
2 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?