[Gllug] HP UX and CC

Vincent AE Scott gllug at codex.net
Fri Dec 28 05:34:20 UTC 2001


Jackson, Harry(HJackson at colt-telecom.com)@Thu, Dec 27, 2001 at 10:24:31AM -0000:
> Hi all
> 
> I am trying to create a library on an HP UX box. Very basic stuff as far as
> the functions are concerned. I have done it successfully on Red Hat but I am
> getting some strange stuff happening on the HP box at work. I have had a
> trawl around google and seen a lot of comment that the HP compiler is not
> very good. I have also tried incorporating the functions in the program and
> I get the same error. Is the Compiler telling me that it is not ANSI
> compatible. For what it is worth I am using "Beginning Linux Programming 2nd
> Edition" Page 20.
> 
> hjackson:(bollocks at bollocks)cc -c bill.c fred.c
> bill.c:
> (Bundled) cc: "bill.c", line 6: error 1705: Function prototypes are an ANSI
> fea.
> fred.c:
> (Bundled) cc: "fred.c", line 6: error 1705: Function prototypes are an ANSI
> fea.
> 

do not use UX's cc, it's ancient and not maintained in the slightest.
go find a version of gcc and use that instead.


-- 

PGP key:  http://codex.net/pgp/pgp.asc

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list