Samba 2.0 build updated for HPUX.
Dirk De Wachter
Dirk.DeWachter at rug.ac.be
Mon Nov 23 13:03:18 GMT 1998
Hi Jeremy,
I picked up this morning the latest CVS for SAMBA_2_0 and these are
the results:
On 21 Nov 98, at 7:11, Jeremy Allison wrote:
> Dirk De Wachter wrote:
>
> > About shadow.h checking:
> > >configure:1779: checking for shadow.h
> > >configure:1789: cc -E -Ae conftest.c >/dev/null 2>conftest.out
> > >cpp: "param.h", line 45: warning 2001: Redefinition of macro MAXINT.
> > >configure: failed program was:
> > >#line 1784 "configure"
> > >#include "confdefs.h"
> > >#include <shadow.h>
> > As you can see the test fails on a warning (a broken include
> > installation, sigh). However shadow.h *IS* present. What should be
> > done to make the test succeed? Remove warnings from the compiler
> > output (with flag -w) ??
>
> I don't think there's anything I can do about broken include
> files. I don't think we should remove the warnings. Not sure
> what to do here....
>
> What version of HPUX is this ?
It's version 10.20, the latest and most stable of the HPUX10 series.
I don't know about HPUX 11. In fact MAXINT appears (with different
definitions) in both /usr/include/values.h and
/usr/include/sys/param.h
>
> > Some extra tests that can be resolved by including the '-lsec'
> > library:
> > >configure:3748: cc -o conftest -O -Ae conftest.c 1>&5
> > >/usr/ccs/bin/ld: Unsatisfied symbols:
> > > getspnam (code)
> > getspnam on HPUX is found in library -lsec
> > This is already checked now (configure line 4924)
> > Once -lsec is added to the CFLAGS, it remains there during most
> > of the following tests in configure. Is this the way it is supposed to
> > be? The following codes are also found in library -lsec and perhaps
> > should be rechecked?
> > > putprpwnam (code)
> > > bigcrypt (code)
> > > getprpwnam (code)
> > > set_auth_parameters (code)
>
> Ok I've tidied up the checks for -lsecurity and -lsec
> so they're done in the same way as the connect checks.
Something went wrong with the implementation I guess. Now only
putprwnam() is checked for by both -lsecurity AND -lsec.
The others (including getspnam) are only checked with -lsecurity. Can
you repair this to do it for -lsec too?
Kind regards,
Dirk De Wachter
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
Dirk De Wachter, MScEE, MScBME, PhD http://allserv.rug.ac.be/~ddwachte
scientific researcher, systems administrator mailto:Dirk.DeWachter at rug.ac.be
Hydraulics Laboratory, Ibitech, University Gent voice:+32 9 264 3281
St.-Pietersnieuwstraat 41, B-9000 Gent Belgium faxto:+32 9 264 3595
--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--~--
More information about the samba-technical
mailing list