Thread View: news.software.nntp
4 messages
4 total messages
Started by Jim Knepley
Sat, 07 Mar 1998 00:00
Still can't compile INN on RH Linux 4.2
Author: Jim Knepley
Date: Sat, 07 Mar 1998 00:00
Date: Sat, 07 Mar 1998 00:00
26 lines
1373 bytes
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
Re: Still can't compile INN on RH Linux 4.2
Author: Chris Dent
Date: Tue, 10 Mar 1998 00:00
Date: Tue, 10 Mar 1998 00:00
21 lines
1337 bytes
1337 bytes
In article <6e3mps$o2h$1@nntp2.ba.best.com>, Tom Orsi <torsi@zingaretti.com> wrote: >Yes I have the same problem. I suspect there is some config.data magic >required. Try compiling in the nnrpd directory I bet you get errors >about gettime. Even if you fix those errors nlist is not found in the >link. Believe me I made it to the link with "hacks" and it gets >uglier. You might go to http://www.kiva.net/~cdent/inn and get the newest inn src rpm you find there. If you don't care to actually use the package you can get the config.data out of the rpm and see if that works with your source tree. I've been using it on my server for a little over a month now without problems. -- Chris Dent........SysAdmin ...........Kiva Networking
Re: Still can't compile INN on RH Linux 4.2
Author: Tom Orsi
Date: Tue, 10 Mar 1998 00:00
Date: Tue, 10 Mar 1998 00:00
38 lines
1841 bytes
1841 bytes
Yes I have the same problem. I suspect there is some config.data magic required. Try compiling in the nnrpd directory I bet you get errors about gettime. Even if you fix those errors nlist is not found in the link. Believe me I made it to the link with "hacks" and it gets uglier. Also I am using 1.4. "Jim Knepley" <jknepley@nyx.net> wrote: >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
Success! (was Re: Still can't compile INN on RH Linux 4.2)
Author: Jim Knepley
Date: Fri, 13 Mar 1998 00:00
Date: Fri, 13 Mar 1998 00:00
24 lines
1187 bytes
1187 bytes
I finally got it to work, and it's purring along nicely at this point. LIBS ..... -lbsd and HAVE_SETPROCTITLE ..... DONT did the trick. Regards, Jim Tom Orsi <torsi@zingaretti.com> wrote in article <6e3mps$o2h$1@nntp2.ba.best.com>... > Yes I have the same problem. I suspect there is some config.data magic > required. Try compiling in the nnrpd directory I bet you get errors > about gettime. Even if you fix those errors nlist is not found in the > link. Believe me I made it to the link with "hacks" and it gets > uglier. > > Also I am using 1.4.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads