Compiling on HP-UX 10.10

mbreuer at Siac.COM mbreuer at Siac.COM
Tue Apr 6 12:49:47 GMT 1999

I had the same problem.  I believe there are HP patches which address this, but I just made a small change to 'configure.'

In 'configure' there is a line around 1816 (head branch from Feb 25  something like...
    for ac_hdr in shadow.h netinet/tcp.h sys/security.h security/pam_appl.h
Add the file hpsecurity.h to this line.

There was another related change necessary in 2.0.0, as well as a correction to one of the HP include files (sorry, don't remember
which, but HP did supply a patch).

Clay Fandre wrote:

> I am getting a buch of errors when trying to compile the CVS or 2.0.3
> versions of samba on a HP-UX 10.10 machine. Anyone know why? I am using
> gcc 2.8.1. Here's the error message:
> Compiling passdb/pass_check.c
> passdb/pass_check.c: In function `password_check':
> passdb/pass_check.c:728: warning: passing arg 1 of `strcmp' makes
> pointer from
> nteger without a cast
> passdb/pass_check.c: In function `pass_check':
> passdb/pass_check.c:792: warning: assignment makes pointer from integer
> without
> a cast
> passdb/pass_check.c:793: dereferencing pointer to incomplete type
> passdb/pass_check.c:794: dereferencing pointer to incomplete type
> passdb/pass_check.c:812: warning: initialization makes pointer from
> integer wit
> out a cast
> passdb/pass_check.c:813: dereferencing pointer to incomplete type
> passdb/pass_check.c:814: dereferencing pointer to incomplete type
> *** Error exit code 1
> Stop.
> Thanks.
> Clay Fandre

More information about the samba-ntdom mailing list