🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #29857

Re: INN 2.0, can't build on OSF/1 V3.0

#29857
From: Kjetil Torgrim Homme
Date: Thu, 16 Jul 1998 00:00
39 lines
1924 bytes
[bowler@eisner.decus.org]

>   I'm trying to build Inn-2.0 on a DEC Alpha running V3.0 of OSF/1
>   (I know it's old but I'm stuck there...)

>   First, configure thinks the free returns int [...]
>   while it really returns void

I don't know how to fix configure, sorry.

>   The second problem is that after I fix the "free" problem, the
>   compiler pukes when it tries to compile hash.
>   [...]
>   >cc -I../include  -g  -c hash.c
>   >/usr/lib/cmplrs/cc/cfe: Error: hash.c, line 44: redeclaration of 'Hash';
>   >previous declaration at line 190 in file '../include/libinn.h'
>   > HASH Hash(const void *value, const size_t len) {
>   > -----^
>   >/usr/lib/cmplrs/cc/cfe: Error: hash.c, line 44: Incompatible type for the
>   >function parameter

If you look in libinn.h, you'll find

HASH Hash(const void *value, size_t len);

Note the missing "const"...  Add that, and it should compile fine.

>   I realize that OSF/1 is not one of the supported platforms, but
>   I'm hoping that someone might have seen this before and have a
>   pointer for where to look to fix the problem.

There shouldn't be that great differences between OSF/1 v3 and DU v4,
and I have read about people running it on the latter.  They have
probably used gcc, which will mask your last problem, at least.


Kjetil T.

Technical Details
Message-ID: <1r67gyepds.fsf@haey.ifi.uio.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <1998Jul15.105220.1@eisner>

Show Full Headers
Complete Article Headers
Message-ID: <1r67gyepds.fsf@haey.ifi.uio.no>
Subject: Re: INN 2.0, can't build on OSF/1 V3.0
Date: Thu, 16 Jul 1998 00:00:00 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
References: <1998Jul15.105220.1@eisner>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 371826530
Organization: Dept. of Informatics, University of Oslo, Norway
Newsgroups: news.software.nntp