HP-UX 9.05: stropts.h: No such file or directory

Anders Gytri Anders.Gytri at elkraft.ntnu.no
Fri May 22 11:24:13 GMT 1998


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



More information about the samba mailing list