Compile problems on HP-UX 10.20

Michel Stoop (samba) smb.stoop at ncg.nl
Mon Feb 25 23:46:03 GMT 2002


Today I compiled the HEAD branch on HP-UX 10.20
And ran into several problems.

Here is a list of the things I encountered.

------------------------------------------
Compiling Samba 3.0-alpha15 on HP-UX 10.20

Fist run:
./configure --prefix=/opt/samba --localstatedir=/var/opt/samba
make all (proto, wrepld_proto, build_env.h)

Problems:

nsswitch/nss.h line 75:
is now : #elif defined(HPUX)
must be: #elif defined(HPUX) && defined(HAVE_NSSWITCH_H)
Was fixed in 2.2.3a but not in the HEAD branch

rpc_server/srv_samr_nt.c line 1801, 1802, 1834, 1849, 1850, 3563, 3564,
3596, 3611, 3612
Pointers are not assignment-compatible.
Argument #2 is not the correct type.
(int *) ???

rpc_parse/parse_net.c line 753
Pointers are not assignment-compatible.
Argument #3 is not the correct type.
'char *sess_key' should be 'uchar *sess_key'

lib/uti_file.c line 443
MAP_FAILED is not defined, copy from tdb/tdb.c
Should be defined globally just like MAP_FILE

lib/messages.c line 473, 486
Warning: Qualifiers are not assignment-compatible.

auth/auth.c line 102, 193
Pointers are not assignment-compatible.
Argument #2 is not the correct type.

libsmb/cli_netlogon.c line 441, 457, 458, 624
Pointers are not assignment-compatible.
Argument #8, 1, 1, 3, 8 is not the correct type.

lib/messages.c line 473, 486
Qualifiers are not assignment-compatible.

Makefile
$AR is not defined.
AR=ar
------------------------------------------

---
Michel Stoop,

Senior Network and Systems Administrator
postmaster for ncg.nl, ccggron.nl and centralindustrygroup.com
Numeriek Centrum Groningen B.V. Shipbuilding Services
Postbus 204
9700AE Groningen
+31 (0)50 541 26 32  fax: +31 (0)50 542 37 17
http://www.ncg.nl
mailto:stoop at ncg.nl
---






More information about the samba-technical mailing list