Compiling on HP-UX 10.10

Fred Clift fred at cs.byu.edu
Mon Apr 5 21:55:04 GMT 1999


I had a very similar problem with the CVS from a month ago or so...

I figured out what this was.  Let me guess -- you've got gcc 
installed?  and the installation was done on a slightly different 
version of hpux 10.10 (ie different patch level, or 
trusted-vs-nontrusted etc).  And, you're trying to build with gcc.

The problem might be that gcc built it's private copies of all the 
system include files before /usr/include/security.h was installed.  If 
you look at the lines in pass_check.c  they're probably ones that are 
doing 'secure password structure' mucking.  This structure is defined 
in the above  header file and since gcc doesn't have it, you dont end 
up getting definitions of some critical stuff.

Two things you can do:

1) if you have the 'for fee' compilier, do the equivalent

setenv CC cc
./configure

and then try and build (forcing configure to not use gcc) or

2) rebuild gcc on the machine you're trying to build samba on and use 
that.



>
>Compiling passdb/pass_check.c
>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
>




--
Fred Clift - fred at cs.byu.edu Systems Manager - Computer Science - BYU
Remember: if brute force doesn't work, you're just not using enough.



More information about the samba-ntdom mailing list