Questions about charset modules
Benjamin Riefenstahl
Benjamin.Riefenstahl at epost.de
Wed Oct 29 10:27:13 GMT 2003
Hi Takahashi,
TAKAHASHI Motonobu <monyo at home.monyo.com> writes:
> Sorry, I once tried to compile,
First, thanks for trying ;-).
> but I could not compile on SAMBA_3_0 branch nor samba-3.0.0 on Mac
> OS X.
>
> My configure option is
> configured by ./configure, generated by GNU Autoconf 2.57,
> with options \"'--without-ads' '--disable-cups'
> --with-libiconv=/usr/local'\"
>
> And the error is
>
> [DHCP229:~/Work/samba-3.0.0/source] monyo% make
> Using FLAGS = -g -O2 -I./popt -Iinclude
> -I/Users/monyo/Work/samba-3.0.0/source/include
> -I/Users/monyo/Work/samba-3.0.0/source/ubiqx
> -I/Users/monyo/Work/samba-3.0.0/source/smbwrapper -I. -I/sw/include
> -I/usr/local/include -I/Users/monyo/Work/samba-3.0.0/source
> LIBS = -liconv
> LDSHFLAGS = -bundle -flat_namespace -undefined suppress
> -L/usr/local/lib
> -L/usr/local/lib
> LDFLAGS = -L/usr/local/lib -L/usr/local/lib
> Linking bin/smbd
> ld: warning multiple definitions of symbol _vsnprintf
> lib/snprintf.o definition of _vsnprintf in section (__TEXT,__text)
> /usr/lib/libSystem.dylib(vsnprintf.So) definition of _vsnprintf
> ld: Undefined symbols:
> _charset_macosxfs_init
> _CFStringAppendCString
> _CFStringAppendPascalString
> _CFStringCreateMutable
> _CFStringCreateMutableWithExternalCharactersNoCopy
> _CFStringDelete
> _CFStringGetBytes
> _CFStringGetCharacters
> _CFStringGetLength
> _CFStringNormalize
> _CFStringSetExternalCharactersNoCopy
> _kCFAllocatorDefault
> _kCFAllocatorNull
> make: *** [bin/smbd] Error 1
This looks like the configure decided to link the module statically
[*]. I never tried that. Can you show the output of configure to see
where it went in the wrong direction?
[*] The undefined "charset_macosxfs_init" is wierd even so, I would
have thought that the configure macros should take care of that bit.
benny
More information about the samba-technical
mailing list