Operating System - HP-UX
1838263 Members
4078 Online
110125 Solutions
New Discussion

Re: TAC_PLUS compile error

 
SOLVED
Go to solution
Tommy Brown
Respected Contributor

TAC_PLUS compile error

We get the following trying to compile the TAC_PLUS on our HP11.0 system with HP ansi compiler (no gcc installed).

(Bundled) cc: "packet.c", line 450: error 1701: Unsigned suffix is an
ANSI feature.

Can anyone help..
Thanks,
Tommy
I may be slow, but I get there !
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: TAC_PLUS compile error

You are NOT compiling with the HP ANSI/C compiler; you are compiling with the bundled C compiler which speaks only K & R. It does not understand ANSI syntax. The bundled compiler is really only intended for building kernels and not for any semi-serious development work.
If it ain't broke, I can fix that.
Christopher Caldwell
Honored Contributor

Re: TAC_PLUS compile error

Type
cc -Ae
at the command line
If the command returns without error, you've got the ANSI/C compiler installed.

If you get diagnostic, you don't have it installed.

If you do have it installed, add -Ae to your CFLAGS in the tac_plus Makefile.
Tommy Brown
Respected Contributor

Re: TAC_PLUS compile error

Thanks, Clay and Christopher..
We realize now, that server is one that did not have the ANSI C compilers on it.. We moved it to a different server and apparently it compiled ok..
Thanks,
I may be slow, but I get there !
Luiz Monfardini
New Member

Re: TAC_PLUS compile error

Hi folks,

I??m also having this problem, but I don??t have an ANSI C compiler. Can anyone help me to get tac_plus compiled?
thanks
Luiz
Tommy Brown
Respected Contributor

Re: TAC_PLUS compile error

Luiz, I don't think anyone monitors this thread any more. I forgot to quit monitoring it. However, I think you must have an ANSI-c compiler to compile this.
We had bought the HP versions which were installed on a different system thus we got it compiled.
Sorry I could not be of further help.
Tommy
I may be slow, but I get there !