[comp.unix.aix] flock subroutine

ir648@sdcc6.ucsd.edu (Chet Koblinsky) (03/19/91)

I could not link to flock subroutine. What am I doing wrong?
INFO says that flock is in the libc library. Do I need to
use some special option when I compile the program?

John Lee   lee@nepac.ucsd.edu

dave@kleikamp.uucp (David J. Kleikamp/50000) (03/19/91)

In article <17602@sdcc6.ucsd.edu> ir648@sdcc6.ucsd.edu (Chet Koblinsky) writes:
>I could not link to flock subroutine. What am I doing wrong?

>John Lee   lee@nepac.ucsd.edu

Try linking to libbsd.a.
---------------------------------------------------------------------------
David J. "Shaggy" Kleikamp	dave@kleikamp.austin.ibm.com
DISCLAIMER: The content of this posting is independent of official IBM position.
External: uunet!cs.utexas.edu!ibmaus!auschs!kleikamp.austin.ibm.com!dave

slh@wolf.cs.washington.edu (Scott Heyano) (03/20/91)

In article <17602@sdcc6.ucsd.edu> ir648@sdcc6.ucsd.edu (Chet Koblinsky) writes:
|I could not link to flock subroutine. What am I doing wrong?
|INFO says that flock is in the libc library. Do I need to
|use some special option when I compile the program?
|
	It is in libbsd.a.