Networking Forums

Networking Forums > Computer Networking > Linux Networking > samba-3.0.0

Reply
 
 
toylet
Guest
Posts: n/a

 
      09-30-2003, 08:34 AM

anyone successfully compiled it from source?

I hit an error:

Linking bin/smbd
tdb/tdbutil.o: In function `tdb_search_keys':
/usr/src/samba-3.0.0/source/tdb/tdbutil.c:791: undefined reference to
`ap_fnmatch'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

--
.~. Might, Courage, Vision. In Linux We Trust.
/ v \ http://www.linux-sxs.org
/( _ )\ Linux 2.4.20
^ ^ 4:34pm up 19:21, 1 user, load average: 0.25, 0.61, 0.44

 
Reply With Quote
 
 
 
 
Adam Dyga
Guest
Posts: n/a

 
      09-30-2003, 11:41 AM
toylet wrote:

>
> anyone successfully compiled it from source?
>
> I hit an error:
>
> Linking bin/smbd
> tdb/tdbutil.o: In function `tdb_search_keys':
> /usr/src/samba-3.0.0/source/tdb/tdbutil.c:791: undefined reference to
> `ap_fnmatch'
> collect2: ld returned 1 exit status
> make: *** [bin/smbd] Error 1
>


figure out which library ap_fnmatch function comes from, then update this
library, maybe this will help...

--
pozdr
adeon
 
Reply With Quote
 
toylet
Guest
Posts: n/a

 
      09-30-2003, 12:51 PM
I checked that fnmatch.h, referred by that tdbutil.c, is part of it's
glibc-2.2.1. I don't think I needed to upgrade that.

Adam Dyga wrote:

> toylet wrote:
>
>>
>> anyone successfully compiled it from source?
>>
>> I hit an error:
>>
>> Linking bin/smbd
>> tdb/tdbutil.o: In function `tdb_search_keys':
>> /usr/src/samba-3.0.0/source/tdb/tdbutil.c:791: undefined reference to
>> `ap_fnmatch'
>> collect2: ld returned 1 exit status
>> make: *** [bin/smbd] Error 1
>>

>
> figure out which library ap_fnmatch function comes from, then update this
> library, maybe this will help...
>


--
.~. Might, Courage, Vision. In Linux We Trust.
/ v \ http://www.linux-sxs.org
/( _ )\ Linux 2.4.20
^ ^ 8:48pm up 23:35, 1 user, load average: 1.71, 1.15, 1.03

 
Reply With Quote
 
Adam Dyga
Guest
Posts: n/a

 
      09-30-2003, 03:32 PM
toylet wrote:

> I checked that fnmatch.h, referred by that tdbutil.c, is part of it's
> glibc-2.2.1. I don't think I needed to upgrade that.


glibc 2.3.2 has been released some time ago.... and maybe you have to
install glibc-devel if you are using RH?

--
Greets
adeon
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do all Linux distros have Samba built-in? Detect if Samba installed? Matthew Lincoln Linux Networking 8 11-17-2008 12:11 AM
Dancing the Samba with DD-WRT (Samba FS Automount) Louis Ohland Wireless Internet 2 12-01-2006 12:55 PM
A few questions regarding samba from a samba and windows rookie Madhusudan Singh Linux Networking 0 03-30-2005 05:54 PM
samba & xp ami2 Linux Networking 3 01-23-2004 07:17 PM
[Samba] WINS on Samba server and Routing jbob Linux Networking 0 08-13-2003 01:31 AM



1 2 3 4 5 6 7 8 9 10 11