🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #43252

Re: auto posting from solaris

#43252
From: Kjetil Torgrim Homme
Date: Thu, 13 Jan 2000 00:00
19 lines
1500 bytes
[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: <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
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>

Show Full Headers
Complete Article Headers
Message-ID: <1r66wy5vup.fsf@haey.ifi.uio.no>
Subject: Re: auto posting from solaris
Date: Thu, 13 Jan 2000 00:00:00 +0000
From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no>
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>
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: 571983177
X-Complaints-To: abuse@ifi.uio.no
X-Trace: maud.ifi.uio.no 947744895 656 129.240.64.139 (13 Jan 2000 06:28:15 GMT)
Organization: Dept. of Informatics, University of Oslo, Norway
NNTP-Posting-Date: 13 Jan 2000 06:28:15 GMT
Newsgroups: news.software.nntp