I just tried to build samba-1.9.18p7 (using gcc ver-2.7.2.1) on a HP 9000/700 running HP-UX ver. 9.05, and I got this error message: Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/usr /local/samba/var/log.nmb" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTS FILE="/usr/local/samba/lib/lmhosts" -DWEB_ROOT="/usr/local/samba" -DLOCKDIR="/us r/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun" -DCODEPAGEDIR="/ usr/local/samba/lib/codepages" -DWORKGROUP="WORKGROUP" -DGUEST_ACCOUNT="pcguest" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DHPUX -D_HPUX_SOURCE -D_POSIX _SOURCE -DSMB_PASSWD="/usr/local/samba/bin/smbpasswd" -DSMB_PASSWD_FILE=" /usr/local/samba/private/smbpasswd" Using LIBS Compiling util.c In file included from util.c:22: includes.h:613: stropts.h: No such file or directory *** Error code 1 Stop. ------------------------------------------------- I suspect stropts.h to be part of STREAMS. From http://www.cs.ruu.nl/wais/html/na-dir/hp/hpux-faq.html I found this:>Subject: 10.7 Where can I get STREAMS for HP-UX? > >STREAMS/UX is currently a separate product that can be purchased for use >with HP-UX 9.x. STREAMS/UX is based on the OSF/1 STREAMS code (which >in turn is based on STREAMS code from Mentat). You can obtain a >STREAMS/UX datasheet from the HP FIRST fax-back service: 800-333-1917 >or 208-344-4809, document 31502. HP currently plans to bundle it >with 10.x. > >(thanks to Alec Henderson, HP)I suppose this means that I have to buy STREAMS for HP-UX (or upgrade to HP-UX 10.x) in order to build the HP-UX binaries myself ? Anders Gytri
Sorry for taking up bandwith. My previously reported problem may not be a problem after all. At 13:24 22.05.98 +0200, you wrote:>I just tried to build samba-1.9.18p7 (using gcc ver-2.7.2.1) on a >HP 9000/700 running HP-UX ver. 9.05, and I got this error message: >Compiling util.c >In file included from util.c:22: >includes.h:613: stropts.h: No such file or directory >*** Error code 1 > >Stop.I tried to remove line 613 in includes.h, and except for 3 warnings, everything compiled and linked smoothly: Compiling ipc.c ipc.c: In function `api_RNetServerEnum': ipc.c:1194: warning: passing arg 4 of `qsort' from incompatible pointer type Compiling nmbd_incomingrequests.c nmbd_incomingrequests.c: In function `process_node_status_request': nmbd_incomingrequests.c:380: warning: passing arg 4 of `qsort' from incompatible pointer type Compiling client.c client.c: In function `browse_host': client.c:2972: warning: passing arg 4 of `qsort' from incompatible pointer type Anders Gytri