[Samba] Building 3.0.21x on AIX 5.2
Tim Evans
tkevans at tkevans.com
Mon Feb 27 18:01:44 GMT 2006
On Mon, 27 Feb 2006 12:08:49 -0500, William Jojo wrote
>
> Try something simpler like:
>
> env CC="gcc -g -D_LINUX_SOURCE_COMPAT" \
> CPPFLAGS="-I/usr/local/include -I/usr/local/BerkeleyDB.4.3/include" \
> LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.4.3/lib" \
> ./configure --with-acl-support --with-utmp \
> --with-ldap --with-ads=no --with-aio=yes \
> --with-libiconv=/usr/local --with-sendfile-support \
> --prefix=/samba/3.0.21c --with-quotas
>
> If you don't want to use LDAP and BerkeleyDB, just remove them. You can
> safely turn off AIO and sendfile support as they are performance enhancers.
Thanks, again:
env CC="gcc -g -D_LINUX_SOURCE_COMPAT" \
CPPFLAGS="-I/usr/local/include" \
LDFLAGS="-L/usr/local/lib" \
./configure --with-acl-support --with-utmp \
--with-libiconv=/usr/local --with-quotas --with-ads=no
# make
Using FLAGS = -O -D_SAMBA_BUILD_ -I./popt -Iinclude
-I/usr/local/SRC/samba-3.0.21c/source/include
-I/usr/local/SRC/samba-3.0.21c/source/ubiqx
-I/usr/local/SRC/samba-3.0.21c/source/tdb -I. -I/usr/local/include
-I/usr/local/SRC/samba-3.0.21c/source -D_SAMBA_BUILD_
LIBS =
LDSHFLAGS = -Wl,-bexpall,-bM:SRE,-bnoentry,-berok -L/usr/local/lib
LDFLAGS = -L/usr/local/lib
PIE_CFLAGS =
PIE_LDFLAGS =
Generating smbd/build_options.c
Building include/proto.h
creating /usr/local/SRC/samba-3.0.21c/source/include/proto.h
Building include/wrepld_proto.h
creating /usr/local/SRC/samba-3.0.21c/source/include/wrepld_proto.h
Building include/build_env.h
creating /usr/local/SRC/samba-3.0.21c/source/nsswitch/winbindd_proto.h
creating /usr/local/SRC/samba-3.0.21c/source/web/swat_proto.h
creating /usr/local/SRC/samba-3.0.21c/source/client/client_proto.h
creating /usr/local/SRC/samba-3.0.21c/source/utils/net_proto.h
Compiling dynconfig.c
In file included from /usr/local/SRC/samba-3.0.21c/source/dynconfig.c:21:
include/includes.h:841: error: redefinition of `struct timespec'
make: 1254-004 The error code from the last command is 1.
Same error as I originally posted.
--
Tim Evans, TKEvans.com, Inc. | 5 Chestnut Court
tkevans at tkevans.com | Owings Mills, MD 21117
http://www.tkevans.com/ | 443-394-3864
http://www.come-here.com/News/ |
More information about the samba
mailing list