[Samba] Unable to compile Samba 3.0.0 on Max OS X 10.2
Chris Brown
chris at idlearn.com
Sat Nov 15 22:41:33 GMT 2003
Gentle Reader,
I am unable to build Samba 3.0.0 from source on Max OS X 10.2 using
Apple's version of the gcc compiler.
I downloaded the source tarball, unpacked it and did:
% ./configure
% make
The make compiles many files OK but aborts during compilation of
clikrb5.c
Has anyone successfully built Samba 3.0.0 on OS X 10.2 and if so,
what am I doing wrong?
Chris Brown
-----------------------------
Here's the compilation error:
-----------------------------
% make
Using FLAGS = -g -O2 -I./popt -Iinclude
-I/Users/chris/samba-3.0.0/source/include
-I/Users/chris/samba-3.0.0/source/ubiqx
-I/Users/chris/samba-3.0.0/source/smbwrapper -I. -I/sw/include
-Ddlsym=dlsym_prepend_underscore -I/Users/chris/samba-3.0.0/source
LIBS = -ldl -liconv
LDSHFLAGS = -bundle -flat_namespace -undefined suppress -L/sw/lib
LDFLAGS = -L/sw/lib
Compiling libsmb/clikrb5.c
libsmb/clikrb5.c:139: #error UNKNOWN_GET_ENCTYPES_FUNCTIONS
libsmb/clikrb5.c:123: illegal external declaration, missing `;' after
`__ERROR_XX_UNKNOWN_CREATE_KEY_FUNCTIONS'
libsmb/clikrb5.c:188: undefined type, found `krb5_krbhst_handle'
libsmb/clikrb5.c:189: undefined type, found `krb5_krbhst_info'
cpp-precomp: warning: errors during smart preprocessing, retrying in
basic mode
make: *** [libsmb/clikrb5.o] Error 1
%
------------------------------
Here's the compiler version:
------------------------------
% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420
(prerelease)
More information about the samba
mailing list