Article View: news.software.nntp
Article #29099INN 2.0 compile problem
From: Russ Roff
Date: Thu, 11 Jun 1998 00:00
Date: Thu, 11 Jun 1998 00:00
59 lines
2675 bytes
2675 bytes
I think I'm very close to having INN compiled on my HP9000(HPUX 10.20) but
I'm having a compile problem that I can't figure out (most likely because I
have very little C experience). Can anyone help?
The output below illustrates the problem -- I'm not sure if the endian is a
big deal (someone with an answer please speak up). What I'm really stuck on
is the fatal exit at the bottom in waitnb.c.
I have WAITPID included, so the IF statement at the bottom of waitnb.c
processes the IF instead of the ELSE. If I exclude WAITPID, it bombs on the
ELSE with the same type of Incompatible Pointer Type. In my futile attempt
at troubleshooting, I changed the w to an &w in the *statusp = WAITVAL(w);
line, and it compiled almost all of the other libs (bombed out later
complaining about a wait call in iosys or something - I think it's
related..)
Any replies would be appreciated, and if you could CC me in e-mail I'd be
happy - I'm installing this because news here blows.
gcc -I../include -g -O2 -o endian endian.c
endian.c: In function `main':
endian.c:51: warning: return type of `main' is not `int'
./endian >../include/autoconfig.h
gcc -I../include -g -O2 -c md5.c -o md5.o
gcc -I../include -g -O2 -c over.c -o over.o
gcc -I../include -g -O2 -c nonblocking.c -o nonblocking.o
Expect 6 shift/reduce conflicts
bison -y parsedate.y
conflicts: 6 shift/reduce
gcc -I../include -g -O2 -c parsedate.c -o parsedate.o
parsedate.y:676: warning: `date_lex' was declared implicitly `extern' and
later `static'
/opt/local/share/bison.simple:387: warning: previous declaration of
`date_lex'
parsedate.y:676: warning: `date_lex' was declared implicitly `extern' and
later `static'
..
{snip successfully compiled libs}
..
gcc -I../include -g -O2 -c waitnb.c -o waitnb.o
waitnb.c: In function `waitnb':
waitnb.c:33: warning: passing arg 2 of `waitpid' from incompatible pointer
type
waitnb.c:39: aggregate value used where an integer was expected
make: *** [waitnb.o] Error 1
*** Error exit code 1
Stop.
Thanks!
Russ Roff
Systems Administrator - Road Runner
Technical Details
Message-ID:
<6lp1ir$rjd$1@m5.stny.lrun.com>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: <6lp1ir$rjd$1@m5.stny.lrun.com> Subject: INN 2.0 compile problem Date: Thu, 11 Jun 1998 00:00:00 +0000 From: "Russ Roff" <rroff@stny.lrun.com> 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: 361744709 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: Time Warner Cable Newsgroups: news.software.nntp