🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26676

Still can't compile INN on RH Linux 4.2

#26676
From: Jim Knepley
Date: Sat, 07 Mar 1998 00:00
26 lines
1373 bytes
Forrest J. Cavalier III helped me a great deal by sending my a better
config.data for Linux, but INN 1.7.2 still refuses to compile.

During a "make world" I'm now treated to:
gcc  -o rnews rnews.o  ../libinn.a
../libinn.a(closeonexec.o): In function `CloseOnExec':
/home/jim/inn-1.7.2/inn-1.7.2/lib/closeonexec.c:26:undefined reference to
`bsd_ioctl'

To refresh your memory, line 26 of closeonexec.c reads:
(void)ioctl(fd, (unsigned long) (flag ? FIOCLEX : FIONCLEX), (char *)NULL);

Including <sys/ioctl.h> (as suggested by the ioctl manpage) has no effect.

I suspect that the problem lives in libinn.a, not closeonexec.c, but I
don't see where libinn.a is built so that I can't look at the source.

Anyway, if you would like to help me out, I'd much appreciate it.  Email is
best for me, but either way.

Regards,
  Jim
  jknepley@nyx.net

Technical Details
Message-ID: <01bd49f2$7f09bda0$45646464@mulder>
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

Show Full Headers
Complete Article Headers
Message-ID: <01bd49f2$7f09bda0$45646464@mulder>
Subject: Still can't compile INN on RH Linux 4.2
Date: Sat, 07 Mar 1998 00:00:00 +0000
From: "Jim Knepley" <jknepley@nyx.net>
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: 331744081
X-NNTP-Posting-Host: 199.45.255.1
Newsgroups: news.software.nntp