LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-16-2007, 04:44 AM   #1
tony yu
Member
 
Registered: Sep 2003
Location: Taiwan
Distribution: mandriva 2006
Posts: 108

Rep: Reputation: 15
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/../../../libsmbclient.so: undefined reference to `krb5_get_init_creds_opt_alloc@krb5_3_MIT'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libsmbclient.so: 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:

*********************************************************

thanks
 
Old 09-18-2007, 11:39 PM   #2
tony yu
Member
 
Registered: Sep 2003
Location: Taiwan
Distribution: mandriva 2006
Posts: 108

Original Poster
Rep: Reputation: 15
ok, i just downgrade samba to 3.0.25 and solving it.
the point seems resulting from 'smbc_new_context in -lsmbclient' error.

Last edited by tony yu; 09-18-2007 at 11:41 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem compiling first qt/kde program Indiestory Programming 2 02-16-2007 03:00 PM
problem compiling kde and another program poboy975 Linux - Software 3 01-18-2005 12:41 AM
Problem compiling samba Rognon Slackware 2 01-15-2005 02:04 PM
Compiling KDE Problem AFI_Flame Linux - Software 7 05-26-2004 07:41 PM
problem compiling kde using konstruct the_loser Linux - Software 4 04-26-2004 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration