[Samba] Building 3.0.21x on AIX 5.2

William Jojo jojowil at hvcc.edu
Mon Feb 27 18:54:58 GMT 2006


----- Original Message ----- 
From: "Tim Evans" <tkevans at tkevans.com>
To: "William Jojo" <jojowil at hvcc.edu>; <tkevans at tkevans.com>; "David
Shapiro" <David.Shapiro at bcbsnc.com>; <samba at lists.samba.org>;
<jojowil at samba.org>
Sent: Monday, February 27, 2006 1:01 PM
Subject: Re: [Samba] Building 3.0.21x on AIX 5.2


> 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.

Ok, can you get me "oslevel -r", config.log and the includes.h file? You
said 3.3.2 gcc? Was this from the IBM Linux toolset in rpm format?

Can you try something before you send those? in the /opt folder where the
freeware gcc will be, can you rename the include dir for gcc to something
like include.old? don't delete it, just rename it. part of that install has
some sketchy includes and i'm wondering if they are getting in the way (it
did on some initial 5.3 testing at one time). It'll be something like
/opt/freeware/gcc...-3.3.2.../include


Cheers,

Bill


>
> --
> 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