-   Fedora (
-   -   problem when compiling kde-3.5.7 against samba-3.0.26a (

tony yu 09-16-2007 04:44 AM

problem when compiling kde-3.5.7 against samba-3.0.26a
As title said, when configuring kdebase-3.5.7, i get a message not finding libsmbclient, but i do install libsmbclient-devel.

Below is from my config.log concerning about libsmbclient:

configure:58122: checking libsmbclient.h usability
configure:58139: g++ -c -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/lib/qt-3.3/include -I. conftest.cpp >&5
configure:58145: $? = 0
configure:58152: test -z "$ac_cxx_werror_flag" || test ! -s conftest.err
configure:58155: $? = 0
configure:58162: test -s conftest.o
configure:58165: $? = 0
configure:58176: result: yes
configure:58180: checking libsmbclient.h presence
configure:58195: g++ -E -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/lib/qt-3.3/include -I. conftest.cpp
configure:58201: $? = 0
configure:58222: result: yes
configure:58250: checking for libsmbclient.h
configure:58257: result: yes
configure:58286: checking for smbc_new_context in -lsmbclient
configure:58321: gcc -o conftest -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -Wformat-security -Wmissing-format-attribute -D_GNU_SOURCE -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -L/usr/lib/qt-3.3/lib conftest.c -lsmbclient >&5
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../ undefined reference to `krb5_get_init_creds_opt_alloc@krb5_3_MIT'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../ undefined reference to `krb5_get_init_creds_opt_free@krb5_3_MIT'
collect2: ld returned 1 exit status
configure:58327: $? = 1
configure: failed program was:



tony yu 09-18-2007 11:39 PM

ok, i just downgrade samba to 3.0.25 and solving it.
the point seems resulting from 'smbc_new_context in -lsmbclient' error.

All times are GMT -5. The time now is 07:57 PM.