Operating System - Linux
1829625 Members
1582 Online
109992 Solutions
New Discussion

Re: compile xinetd on HP-UX11.0

 
BJ CG DATA
Advisor

compile xinetd on HP-UX11.0

when I compile xinetd on HP-UX 11.0, (using ANSI C)I got the following error message:
# make
for lib in sio str misc xlog pset pq timer ; do make -C libs/src/$lib CC=cc CFLAGS='-g -I../../include' insta
; done
Make: Unknown flag argument C. Stop.
*** Error exit code 1

Stop.
3 REPLIES 3
Olivier Pelletreau
New Member

Re: compile xinetd on HP-UX11.0

Looking for this kind of error on the net, I found that:

You can also try make -f Makefile.bsd
This might work with HP-UX as it uses the BSD format for the Makefile.


Maybe it will help.
Otherwise, I would suggest to try to remove -C option, it is not an make/HP-UX option.
Kodjo Agbenu
Honored Contributor

Re: compile xinetd on HP-UX11.0

Hello,

I would suggest you to use gcc. Possibly the "-C" option is not supported or has not the same behaviour with GNU/gcc and HP-UX/cc.

You can download the GNU utils compiled for HP-UX on http://devresource.hp.com/LPK.

Gook luck.

Kodjo
Learn and explain...
BJ CG DATA
Advisor

Re: compile xinetd on HP-UX11.0

Hi,
The problem have been sovled.
I install gmake to compile it.
see http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x76721cc6003bd6118fff0090279cd0f9,00.html

juli