🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by phyefg Wed, 08 Jan 1997 00:00
Problem Installing INN 1.5 on HP UX 9
#13853
Author: phyefg
Date: Wed, 08 Jan 1997 00:00
18 lines
1114 bytes
I am trying to install INN on HP UX 9.0. The C compiler I am using is the one shipped with 
HP UX ('cc' not 'gcc'). 

When building the library ("make libinn.a lint") I get the following errors

	cc: "../include/clibrary.h", line 22: warning 5: "const" will become a keyword.
	cc: "../include/clibrary.h", line 22: error 1000: Unexpected symbol: "void".

Line 22 of the clibrary.h file is

	typedef const void *CPOINTER;

where void is supplied by POINTER in config.data.

Can anyone help?

Re: Problem Installing INN 1.5 on HP UX 9
#13850
Author: Steve Howie
Date: Wed, 08 Jan 1997 00:00
33 lines
1753 bytes
phyefg <g.student@hw.ac.uk> wrote:
:I am trying to install INN on HP UX 9.0. The C compiler I am using is the one shipped with 
:HP UX ('cc' not 'gcc'). 

:When building the library ("make libinn.a lint") I get the following errors

:	cc: "../include/clibrary.h", line 22: warning 5: "const" will become a keyword.
:	cc: "../include/clibrary.h", line 22: error 1000: Unexpected symbol: "void".

:Line 22 of the clibrary.h file is

:	typedef const void *CPOINTER;

:where void is supplied by POINTER in config.data.

The CC compiler shipped with HP-UX should only be used for building the 
kernel. You need the full C compiler development environment or GNU gcc 
to build INN

-- 
Scotty
=================================================================
Steve Howie                             Email:  showie@uoguelph.ca
NetNews and Listserv Admin.             Phone:  (519) 824-4120 x2556
Computing and Communications Svcs.      Fax:    (519) 763-6143
University of Guelph

If it's not Scottish its CRRRRRAAAAAAAAAAAAAAPPPPP
=================================================================


Re: Problem Installing INN 1.5 on HP UX 9
#13894
Author: Andreas Ley
Date: Thu, 09 Jan 1997 00:00
18 lines
1536 bytes
In article <5b10sh$95p@ccshst05.cs.uoguelph.ca>, Steve Howie <showie@uoguelph.ca> writes:
> The CC compiler shipped with HP-UX should only be used for building the 
> kernel. You need the full C compiler development environment or GNU gcc 
> to build INN

If this were the case, it would complain on -O (no optimizer in the mini CC).
The error message looks more like it wants the -Ae flag (Ansi mode).

Bye, Andy

-------------------------------------------------------------------------------
   Andreas Ley       !  "Even when you're   !  Email: ley@rz.uni-karlsruhe.de
   Goethestr. 27     !   a genius, life is  !  Voice: +49 721 84 10 36
   76135 Karlsruhe   !   a mystery!"        !  RZ:    +49 721 608 4038
   Germany           !  Doogie Howser, M.D. !  AKK:   +49 721 96 403 22

Re: Problem Installing INN 1.5 on HP UX 9
#13919
Author: Steve Howie
Date: Thu, 09 Jan 1997 00:00
26 lines
1725 bytes
Andreas Ley <andy@rz.uni-karlsruhe.de> wrote:
:In article <5b10sh$95p@ccshst05.cs.uoguelph.ca>, Steve Howie <showie@uoguelph.ca> writes:
:> The CC compiler shipped with HP-UX should only be used for building the 
:> kernel. You need the full C compiler development environment or GNU gcc 
:> to build INN

:If this were the case, it would complain on -O (no optimizer in the mini CC).
:The error message looks more like it wants the -Ae flag (Ansi mode).

Well, he did state he was using the default compiler, and it *certainly*
doesn't support -Ae. But you are correct, I needed to add the -Ae as a flag
when using the full-blown C compiler. 

Scotty
=================================================================
Steve Howie                             Email:  showie@uoguelph.ca
NetNews and Listserv Admin.             Phone:  (519) 824-4120 x2556
Computing and Communications Svcs.      Fax:    (519) 763-6143
University of Guelph

If it's not Scottish its CRRRRRAAAAAAAAAAAAAAPPPPP
=================================================================


Re: Problem Installing INN 1.5 on HP UX 9
#13983
Author: Tadashi Ogino
Date: Mon, 13 Jan 1997 00:00
21 lines
1294 bytes
>>>>>	phyefg <g.student@hw.ac.uk> wrote:

After you 'make quiet' in the  $inn/config directory, you must change

>> 	typedef const void *CPOINTER;

to

 	typedef void *CPOINTER;

(or around some lines around here. 'make quiet' adds this line automatically.)

This works fine for me to build inn1.5.1.

# But 1.5.1 doesn't work well on my machine so I'm still using 1.4.
--
	Mitsubishi Electric Corp.
	Tadashi Ogino

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads