Compilation and use of SFIO library with samba

Hicham TAHIRI hicham.tahiri at ms.alcatel.fr
Wed Apr 25 13:39:15 GMT 2001


Hello

I try to compile samba 2.0.7 with SFIO libray on solaris 2.7 platform

I modify two variables in Samba Makefile

LIBS=/aar/masson/NOT_SAVED/sfio/lib/libstdio.a
/aar/masson/NOT_SAVED/sfio/src/li
b/sfio/libsfio.a -lsec -lgen -lsocket -lnsl -ldl

to add sfio's libraries

and

FLAGS1 =  -I/aar/masson/NOT_SAVED/sfio/include $(CFLAGS) -Iinclude
-I$(srcdir)/i
nclude -I$(srcdir)/ubiqx -I$(srcdir)/smbwrapper $(CPPFLAGS)
-DSMBLOGFILE=\"$(SMB
LOGFILE)\" -DNMBLOGFILE=\"$(NMBLOGFILE)\"

to add include search path for sfio

I have this warning at the compilation time

In file included from include/includes.h:653,
                 from smbd/server.c:22:
include/smb.h:76: warning: `_stdprintf' is an unrecognized format
function type
include/smb.h:81: warning: `_stdprintf' is an unrecognized format
function type
include/smb.h:1466: warning: `_stdprintf' is an unrecognized format
function type



When I launch samba
/aar/masson/NOT_SAVED/samba2/bin/smbd -D
Segmentation Fault
 /aar/masson/NOT_SAVED/samba2/bin/nmbd -D
 /aar/masson/NOT_SAVED/samba2/bin/smbd -D
 /aar/masson/NOT_SAVED/samba2/bin/nmbd -D

I have a core dump ....

When I want to use the smbclient, I have this message

masson.lf-> /aar/masson/NOT_SAVED/samba2/bin/smbclient
//masson/NOT_SAVED
load_client_codepage: cannot read header from file
/aar/masson/NOT_SAVED/samba2/lib/codepages/codepage.850. Error was Bad
file number
load_unicode_map: cannot read header from file
/aar/masson/NOT_SAVED/samba2/lib/codepages/unicode_map.850. Error was
Bad file number
added interface ip=188.9.32.154 bcast=188.9.255.255 nmask=255.255.0.0
session request to MASSON failed (code 0)
session request to *SMBSERVER failed (code 0)


What happend ?





More information about the samba mailing list