In Makefile file I have FLAGSM = -DHPUX10 -D_HPUX_SOURCE -D_POSIX_SOURCE LIBSM And I am using gcc instead of cc CC = gcc Then $ uname -a HP-UX buzet B.10.20 A 9000/743 2008244936 two-user license $ $ make Using CFLAGS = -O -DSMBLOGFILE="/opt/samba/var/log.smb" -DNMBLOGFILE="/opt/samba/var/log. nmb" -DCONFIGFILE="/opt/samba/lib/smb.conf" -DLMHOSTSFILE="/opt/samba/lib/lm hosts" -DLOCKDIR="/opt/samba/var/locks" -DSMBRUN="/opt/samba/bin/smbrun" -D WORKGROUP="SPMO" -DGUEST_ACCOUNT="nobody" -DHPUX10 -D_HPUX_SOURCE -D_POSIX_ SOURCE Using LIBS Compiling server.c In file included from includes.h:1106, from server.c:22: proto.h:813: parse error before `*' proto.h:813: warning: data definition has no type or storage class server.c: In function `dos_mode': server.c:217: warning: initialization makes pointer from integer without a cast server.c: In function `unix_convert': server.c:525: warning: assignment makes pointer from integer without a cast server.c:578: warning: assignment makes pointer from integer without a cast server.c: In function `fd_attempt_open': server.c:967: warning: comparison between pointer and integer server.c: In function `open_file': server.c:1258: warning: assignment makes pointer from integer without a cast server.c: In function `check_magic': server.c:1379: warning: assignment makes pointer from integer without a cast server.c: In function `access_table': server.c:1484: warning: assignment makes pointer from integer without a cast server.c: In function `sig_cld': server.c:2208: warning: passing arg 2 of `signal' from incompatible pointer type server.c: In function `sig_pipe': server.c:2233: warning: passing arg 2 of `signal' from incompatible pointer type server.c: In function `open_sockets': server.c:2260: warning: passing arg 2 of `signal' from incompatible pointer type server.c:2306: warning: passing arg 2 of `signal' from incompatible pointer type server.c:2335: warning: passing arg 2 of `signal' from incompatible pointer type server.c: In function `sig_hup': server.c:2424: warning: passing arg 2 of `signal' from incompatible pointer type server.c: In function `dump_core': server.c:3523: warning: assignment makes pointer from integer without a cast server.c: In function `standard_sub': server.c:3599: warning: assignment makes pointer from integer without a cast server.c: In function `main': server.c:4315: warning: passing arg 2 of `signal' from incompatible pointer type server.c:4421: warning: passing arg 2 of `signal' from incompatible pointer type *** Error exit code 1 Stop. Has someone allready compiled Samba 1.9.17p4 under HPUX 10.2 and can help me ??? -- Eric Murat Tel : +33.1.34.30.50.27 Email : E.Murat@sagem.fr Fax : +33.1.34.30.50.17 SAGEM Eragny Avenue du Gros Chene 95612 Cergy Pontoise Cedex FRANCE