Article View: news.software.nntp
Article #43276Re: auto posting from solaris
From: Andrew Michael
Date: Thu, 13 Jan 2000 00:00
Date: Thu, 13 Jan 2000 00:00
29 lines
1930 bytes
1930 bytes
Dear Kjetil, Many thanks. I had tried the first part, but didn't realize how to manage the second part. It is now all up and running and I am much happier having a piece of code that I can compile. Thanks again, Andy Kjetil Torgrim Homme wrote: > [Andrew Michael] > > > % 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) returning int > > previous: function(int, pointer to const pointer to char, pointer to const char) returning int : "/usr/include/stdio.h", line 329 > > Just remove line 32, or edit it to fit the declaration in stdio. > > The rest are just warnings. > > You will get another error, getservbyname is not present in libc, so > you have to add "-lsocket -lnsl" to the link line. > > Kjetil T.
Technical Details
Message-ID:
<387E3AB3.2ACBB057@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> <387D249F.2ED5D9B3@andreas.wr.usgs.gov> <1r66wy5vup.fsf@haey.ifi.uio.no>Show Full Headers
Complete Article Headers
Message-ID: <387E3AB3.2ACBB057@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> <387D249F.2ED5D9B3@andreas.wr.usgs.gov> <1r66wy5vup.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: 572260200 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