1833452 Members
3360 Online
110052 Solutions
New Discussion

Xinetd 2.3.5

 
Sergio Crespo
Advisor

Xinetd 2.3.5

Hi

I've been trying to compile xinetd-2.3.5 on our hpux 11.11 & 11.00 OS. I've got the source from xinetd from www.xinetd.org. Once I was geting some errors in making the file, I got the following depots hpoing I had the latest in order to make everything correctly:

gcc:3.1
make:3.79.1
openssl: 0.9.6d
tcp_wrappers:7.6
zlib:1.1.4

I've configured the Makefile with ./configure --with-libwrap, and the configure runs OK.
The issue is that I'm getting the following messages. (I've even tried CC=gcc, CC=cc, taking out the "-g flag", used gmake, etc...)
Am I doing something wrong?

# make
cd libs/src/portable ; make CC=/usr/local/bin/gcc CFLAGS='-g -I../../include' install
/usr/local/bin/gcc -g -I../../include -c fake-getnameinfo.c
In file included from fake-getnameinfo.c:15:
/usr/include/sys/socket.h:439: parse error before "sendfile"
/usr/include/sys/socket.h:440: parse error before "bsize_t"
/usr/include/sys/socket.h:441: parse error before "sendpath"
/usr/include/sys/socket.h:442: parse error before "bsize_t"
fake-getnameinfo.c: In function `getnameinfo':
fake-getnameinfo.c:34: `EAI_MEMORY' undeclared (first use in this function)
fake-getnameinfo.c:34: (Each undeclared identifier is reported only once
fake-getnameinfo.c:34: for each function it appears in.)
fake-getnameinfo.c:40: `NI_NUMERICHOST' undeclared (first use in this function)
fake-getnameinfo.c:51: `EAI_NODATA' undeclared (first use in this function)
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


Thanx in advance!!!! :)
SRBC
1 REPLY 1
harry d brown jr
Honored Contributor

Re: Xinetd 2.3.5


COnfirm you are using the correct "make"

which make

Take a look at Procura's info on some of those utilities, like gcc, make, binutils, ... from here:

https://www.beepz.com/personal/merijn/


live free or die
harry
Live Free or Die