Article View: news.software.nntp
Article #29826INN 2.0, can't build on OSF/1 V3.0
From: bowler
Date: Wed, 15 Jul 1998 00:00
Date: Wed, 15 Jul 1998 00:00
62 lines
2523 bytes
2523 bytes
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...)
I've got at least 2 problems, 1 of which I've "solved" the other that I
haven't figured out yet...
First, configure thinks the free returns int
>checking for return type of qsort... (cached) void
>checking for return type of free... (cached) int
>checking for return type of exit... (cached) void
while it really returns void
From /usr/include/stdlib.h
>extern void *calloc __((size_t , size_t ));
>extern void free __((void *));
>extern void *malloc __((size_t ));
by simply editting config/config.data I can correct that problem locally (I'm
not "configure-aware" or I'd try and fix the configure script itself...)
The second problem is that after I fix the "free" problem, the compiler pukes
when it tries to compile hash.
>cd config ; make all ; cd ..
>chmod u+w `grep -v '^;' <files.list`
>./subst -f config.data `grep -v '^;' <files.list`
>../include/clibrary.h: updated
>
>cd lib ; make install ; cd ..
>cc -I../include -g -c checkart.c
>
> snip...
>
>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
> HASH Hash(const void *value, const size_t len) {
> ------------------------------------------^
>/usr/lib/cmplrs/cc/cfe: Warning: hash.c, line 52: & before array or function:
>ignored
> &context.digest,
> ---^
>
>Stop.
>
>*** Exit 1
>
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.
TIA,
Bruce
Technical Details
Message-ID:
<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-mailShow Full Headers
Complete Article Headers
Message-ID: <1998Jul15.105220.1@eisner> Subject: INN 2.0, can't build on OSF/1 V3.0 Date: Wed, 15 Jul 1998 00:00:00 +0000 From: bowler@eisner.decus.org 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: 371705290 X-Nntp-Posting-Host: eisner.decus.org X-Trace: news.decus.org 900514357 5760 BOWLER [192.67.173.2] Organization: DECUServe Reply-To: BBOWLER@BIGELOW.ORG Newsgroups: news.software.nntp