home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!bonnie.concordia.ca!IRO.UMontreal.CA!matrox!altitude!Nyongwa.CAM.ORG!steve
- From: steve@Nyongwa.CAM.ORG (Steve M. Robbins)
- Newsgroups: comp.os.linux
- Subject: Re: Need help in compiling smail-3.1.26
- Message-ID: <Bu4ELM.5or@Nyongwa.CAM.ORG>
- Date: 5 Sep 92 19:39:21 GMT
- References: <1992Sep4.195505.11206@hippo.ru.ac.za> <1992Sep05.011651.2195@kithrup.COM>
- Organization: Chiral Symmetry Breaking, Inc.
- Lines: 32
-
- In article <1992Sep05.011651.2195@kithrup.COM> dje@cygnus.com (Doug Evans) writes:
- >Pieter Immelman (pi@oliver.sun.ac.za) wrote:
- >: Does anybody know what must be changed in the source/installation to
- >: get smail linking? Our current problem is that the linker is looking
- >: for _lockf. We had a prior problem with F_ULOCK, F_LOCK, F_TLOCK which
- >: wasn't defined. This was easily fixed ;) by adding it to unistd.h.
- >: As we see it, we're either missing a library or _lockf has a different
- >: name in Linux.
- >
- >There are various ways to proceed. What I did was tell smail to use
- >fcntl(F_SETLK) which is the Posix way to do file locking.
- >Unfortunately, my Linux box is 1000 miles away. :-(
- >
- >Lockf() isn't Posix, which is why it is currently unimplemented.
-
- Having F_SETLK must be new, because it isn't in my 0.97p1 kernel.
-
- For those of you with older kernels like me, you can set (in conf/os/linux) :
- LOCKING_PROTOCOL=
- LOCK_BY_NAME=TRUE
-
- And it should work.
-
- >Doug Evans | With views like these ...
- >dje@cygnus.com | who needs disclaimers.
-
-
- --
- Steve Robbins -- steve@nyongwa.cam.org
- Do not think that I have come to bring peace on earth;
- I have not come to bring peace, but a sword.
- - Jesus (Matthew 10:34)
-