Article View: news.software.nntp
Article #7483set up a newsgate
From: raj
Date: Fri, 10 May 1996 00:00
Date: Fri, 10 May 1996 00:00
42 lines
1845 bytes
1845 bytes
I am setting up newsgate with INN on Irix 5.3. When I do make it give me
error
/usr/include/unistd.h", line 42: warning: macro redefined: EX_OK
lint -a -b -h -DUSE_PARSEDATE misc.c regex.c hdr.c mail2news.c rfc822.c
>lint.m
lint: errors in hdr.c; no output created
lint: errors in mail2news.c; no output created
lint: pass2 not run - errors in hdr.c,mail2news.c
*** Error code 2 (bu21)
lint.m file contains
misc.c:
implicitly declared to return int
(20) malloc (55) free (80) abort (83) strlen
(125) realloc
regex.c:
hdr.c:
(101) warning: variable may be used before set: q
(109) error: left operand must be modifiable lvalue: op "="
(109) warning: variable may be used before set: pat
(110) error: operand must be modifiable lvalue: op "--"
(110) error: operand must be modifiable lvalue: op "--"
statement has null effect
(109) (110)
implicitly declared to return int
(109) strlen (212) gethostname
declaration unused in block
(109) strlen
mail2news.c:
(472) warning: const object should have initializer: error
mail2news.c:
(472) warning: const object should have initializer: error
(531) error: left operand must be modifiable lvalue: op "="
(533) error: left operand must be modifiable lvalue: op "="
What do I change to fix these errors.
Thanks in advance!
Technical Details
Message-ID:
<4mvst0$g5b@cronkite.d48.lilly.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: <4mvst0$g5b@cronkite.d48.lilly.com> Subject: set up a newsgate Date: Fri, 10 May 1996 00:00:00 +0000 From: raj@lilly.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: 154148924 Organization: Eli Lilly & Co. Newsgroups: news.software.nntp