Thread View: news.software.nntp
4 messages
4 total messages
Started by David Uriot
Fri, 13 Mar 1998 00:00
inn-1.7.2, more Linux compiling problems
Author: David Uriot
Date: Fri, 13 Mar 1998 00:00
Date: Fri, 13 Mar 1998 00:00
27 lines
1589 bytes
1589 bytes
I've edited the sample config.data and I did the following (with help of Christer, enfors@lgh3110.trio.hks.se): 1. Changed 'HAVE_TM_GMTOFF DO' into 'HAVE_TM_GMTOFF DONT' 2. Changed 'LIBS -lutil' into 'LIBS ' (only remove '-lutil' and leave the TAB) Now I compile inn. I ignore the 'lint'-error and continue. Then I get the following error: gcc -o rnews rnews.o ../libinn.a ../libinn.a(closeonexec.o): In function `CloseOnExec': /root/_test_/inn-1.7.2/lib/closeonexec.c:26: undefined reference to `bsd_ioctl' make[1]: *** [rnews] Error 1 make[1]: Leaving directory `/root/_test_/inn-1.7.2/frontends' make: *** [all] Error 1 Could not build INN. Fix any problems and start again. I've searched for the keyword 'bsd_ioctl' in the config.data but found nothing. Does anyone know what configuration I should change in the config.data? Or should I edit something in 'closeonexec.c'? thank you in advance, David Uriot
Re: inn-1.7.2, more Linux compiling problems
Author: Lee Roberts
Date: Fri, 13 Mar 1998 00:00
Date: Fri, 13 Mar 1998 00:00
33 lines
2012 bytes
2012 bytes
David Uriot <david@stonebv.com> wrote in news.software.nntp: <snip> > gcc -o rnews rnews.o ../libinn.a > ../libinn.a(closeonexec.o): In function `CloseOnExec': > /root/_test_/inn-1.7.2/lib/closeonexec.c:26: undefined reference to > `bsd_ioctl' > make[1]: *** [rnews] Error 1 > make[1]: Leaving directory `/root/_test_/inn-1.7.2/frontends' > make: *** [all] Error 1 > Could not build INN. Fix any problems and start again. > I've searched for the keyword 'bsd_ioctl' in the config.data but found > nothing. > Does anyone know what configuration I should change in the config.data? Yup. Look for this line: ## How should close-on-exec be done? Pick IOCTL or FCNTL. It's probably set to IOCTL (at least, it is in the sample config). Change it to FCNTL and all should be well. It worked for me, at least. -- =========================================================================== Rev. Lee A. Roberts, ULC |"'cause I'm praying for rain Linux -- choice of a GNU generation! | I'm praying for tidal waves http://www.inficad.com/~lroberts | I wanna see the ground give way finger lroberts@inficad.com for PGP key | I wanna watch it all go down..." ===========================================================================
Re: inn-1.7.2, more Linux compiling problems
Author: Mark-Oliver Wolter
Date: Mon, 16 Mar 1998 00:00
Date: Mon, 16 Mar 1998 00:00
24 lines
1425 bytes
1425 bytes
Lee Roberts <lee@tlpbbs.dyn.ml.org> wrote: : ## How should close-on-exec be done? Pick IOCTL or FCNTL. : It's probably set to IOCTL (at least, it is in the sample config). Change : it to FCNTL and all should be well. It worked for me, at least. The same for ## How should non-blocking I/O be done? Pick IOCTL or FCNTL. I suppose? BTW, what do you use for ## Use flock, lockf, or nothing to lock files? ## Pick FLOCK, LOCKF, FCNTL, or NONE I picked FCNTL, and it works. Is something else (someone said FLOCK) better? -- | | | MfG MOW []-) | | | Leher Heerstr.21, Zi.1403, 28359 Bremen, Tel. ++49-177-2503055 M O W http://www.zfn.uni-bremen.de/~g02o/ /' | `\ Always logon - the bright side of life !
Re: inn-1.7.2, more Linux compiling problems
Author: Ray Rocker
Date: Thu, 19 Mar 1998 00:00
Date: Thu, 19 Mar 1998 00:00
31 lines
1440 bytes
1440 bytes
In article <6eif7u$dlm@mow.physik.uni-bremen.de>, Mark-Oliver Wolter <root@mow.physik.uni-bremen.de> wrote: >Lee Roberts <lee@tlpbbs.dyn.ml.org> wrote: >: ## How should close-on-exec be done? Pick IOCTL or FCNTL. >: It's probably set to IOCTL (at least, it is in the sample config). Change >: it to FCNTL and all should be well. It worked for me, at least. I use FCNTL for this one. >The same for >## How should non-blocking I/O be done? Pick IOCTL or FCNTL. >I suppose? I have IOCTL, though AFAIK they're equivalent. >BTW, what do you use for >## Use flock, lockf, or nothing to lock files? >## Pick FLOCK, LOCKF, FCNTL, or NONE > >I picked FCNTL, and it works. Is something else (someone said FLOCK) >better? I have FLOCK for this one. -- Ray Rocker rocker@datasync.com
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