Operating System - HP-UX
1834481 Members
3674 Online
110067 Solutions
New Discussion

Re: Xinetd help help help!!

 
Sergio Crespo
Advisor

Xinetd help help help!!

Hi People

I've been posting all kind of messages regarding the compilation of xinetd on hpux/11 and 11i).
Until now I didn't add a good help. Everyone tells me to go somehere in the web, but I get always stuck in the same issues.

I'm getting this:
***************************************
# gmake
cd libs/src/portable ; gmake CC=gcc CFLAGS='-g -02 -I../../include' install
gmake[1]: Entering directory `/tmp/depot/xinetd-2.3.8/libs/src/portable'
gcc -g -02 -I../../include -c -o fake-getnameinfo.o fake-getnameinfo.c
gcc: unrecognized option `-02'
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"
gmake[1]: *** [fake-getnameinfo.o] Error 1
gmake[1]: Leaving directory `/tmp/depot/xinetd-2.3.8/libs/src/portable'
gmake: *** [libportable] Error 2

**********************************************
I'm Using : gcc 3.1 and gmake 3.79.1

Did anyone compiled it already? Any Ideas?
Please...

Thankx in advance!!!!
SRBC
3 REPLIES 3
Sergio Crespo
Advisor

Re: Xinetd help help help!!

Just for the record...

At this moment, I'm trying to compile xinetd 2.3.8 in HPUX 11.11.
At first I tried to use the already existing cc and make.

Do I need any extra libraries? Does anyone have clue? please.... :)


Cya and thkx :)

SRBC
Dirk Wiedemann
Respected Contributor

Re: Xinetd help help help!!

Hello,

looks like you are using a wrong precompiled version of gcc (e.g. precompiled for HP-UX 11.0).
Try downloading the right gcc version from http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html
Try also ./configure --host=hppa1.1-hp-hpux11.11 or ...11.i (I don't know exactly) to avoid the parsing error.

regards Dirk
Sergio Crespo
Advisor

Re: Xinetd help help help!!

Hi

THankx for the tip.
I got a litle further in the compiling of the xinetd, now I'm trying to get out of this
********
symbols are not defined:

NI_NUMERICSERV
NI_NUMERICSERV
NI_DGRAM
NI_NUMERICHOST
NI_NAMEREQD
NI_NOFQDN
*********

Am'I doing something wrong here? The compilation gets stuck here...

SRBC