Article View: news.software.nntp
Article #29850Re: INN 2.0, can't build on OSF/1 V3.0
From: bowler
Date: Thu, 16 Jul 1998 00:00
Date: Thu, 16 Jul 1998 00:00
36 lines
1990 bytes
1990 bytes
In article <1r67gyepds.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
> [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...)
>
>> 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.
Fixed... Thanks!
Now for the next problem...
There is a similar problem (mismatch between prototypes in the .h and actual
declarations in the source) with both cnfs and timehash in the storage
directory tree. Which is the "correct" definition, the prototype or the call
(I'm assuming the call is correct, but it would be nice to know for sure...)
TIA (again)
Bruce
Technical Details
Message-ID:
<1998Jul16.090320.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-mailReferences:
<1998Jul15.105220.1@eisner> <1r67gyepds.fsf@haey.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <1998Jul16.090320.1@eisner> Subject: Re: INN 2.0, can't build on OSF/1 V3.0 Date: Thu, 16 Jul 1998 00:00:00 +0000 From: bowler@eisner.decus.org References: <1998Jul15.105220.1@eisner> <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 X-Deja-AN: 372012869 X-Nntp-Posting-Host: eisner.decus.org X-Trace: news.decus.org 900594202 17534 BOWLER [192.67.173.2] Organization: DECUServe Reply-To: BBOWLER@BIGELOW.ORG Newsgroups: news.software.nntp