Article View: news.software.nntp
Article #43277Re: auto posting from solaris
From: Andrew Michael
Date: Thu, 13 Jan 2000 00:00
Date: Thu, 13 Jan 2000 00:00
56 lines
2913 bytes
2913 bytes
Thanks for the tip. I actually have had problems compiling it though.
It gives errors due to the
redefinition of things like getopt and lower. This was on SunOS 5.6
using the Sun cc compiler.
The errors are shown below in case anyone is interested. I actually got
the old SunOS 4.x inews
running by copying the executable across from a SunOS 4.x machine. So,
I have a working copy
of inews now. However, I won't be able to do that trick again in the
future as the SunOS 4.x machine
will go away soon. So, if someone does know how to solve this I would
be happy to know the answer.
Thanks again,
Andy
% make
cc -O -I.. -I../conf -c inews.c
"inews.c", line 32: identifier redeclared: getopt
current : function(int, pointer to pointer to char, pointer to
char) ret
urning int
previous: function(int, pointer to const pointer to char,
pointer to con
st char) returning int : "/usr/include/stdio.h", line 329
"inews.c", line 491: warning: identifier redeclared: lower
current : function() returning char
previous: function(char) returning char : "inews.c", line 40
"inews.c", line 522: warning: identifier redeclared: lower
current : function() returning char
previous: function(char) returning char : "inews.c", line 40
"inews.c", line 523: warning: Prototype mismatch in arg 1 for function
lower:
function : old style declaration char promoted to int
prototype: char
cc: acomp failed for inews.c
*** Error code 2
make: Fatal error: Command failed for target `inews.o'
%
Kjetil Torgrim Homme wrote:
> [Andrew Michael]
>
> > That still uses inews to actually send the articles. So, I guess
> > my question should really be for a version of inews that compiles
> > on Solaris or SunOS 5.6 or 5.7.
>
> Amazing! Noone has mentioned fluffy's mini-inews!
>
> <URL:http://members.xoom.com/meowing/cssri/>
>
> Kjetil T.
Technical Details
Message-ID:
<387D249F.2ED5D9B3@andreas.wr.usgs.gov>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:
<38710FFE.3CFD9F57@andreas.wr.usgs.gov> <8728nu.dj.merlin@netlink.co.uk> <38727E73.44A5E2E7@andreas.wr.usgs.gov> <1r4sci7sqq.fsf@haey.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <387D249F.2ED5D9B3@andreas.wr.usgs.gov> Subject: Re: auto posting from solaris Date: Thu, 13 Jan 2000 00:00:00 +0000 From: Andrew Michael <michael@andreas.wr.usgs.gov> References: <38710FFE.3CFD9F57@andreas.wr.usgs.gov> <8728nu.dj.merlin@netlink.co.uk> <38727E73.44A5E2E7@andreas.wr.usgs.gov> <1r4sci7sqq.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: 571896863 Content-Transfer-Encoding: 7bit Sender: news@igsrsparc2.er.usgs.gov (Janet Walz (GD) x6739) X-Nntp-Posting-Host: sealcove.wr.usgs.gov X-Accept-Language: en Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Organization: USGS Mime-Version: 1.0 Reply-To: michael@andreas.wr.usgs.gov Newsgroups: news.software.nntp