Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!menudo.uh.edu!mtecv2!josevela From: josevela@mtecv2.mty.itesm.mx (Jose Angel Vela Avila) Newsgroups: comp.unix.aix Subject: Re: Where is flock() Keywords: flock(), AIX3.1.5 Message-ID: <3502@mtecv2.mty.itesm.mx> Date: 29 Jun 91 22:05:04 GMT References: <1991Jun28.215202.8829@uokmax.ecn.uoknor.edu> Organization: ITESM. Campus Monterrey Lines: 28 jigang@geoblue.gcn.uoknor.edu (Jigang Yang) writes: > I try to use flock() in my program. But I get the following message: >$ cc flock-test.c >0706-317 ERROR: Unresolved or undefined symbols detected: > Symbols in error (followed by references) are > dumped to the load map. >.flock > According to Info, flock() only need sys/file.h What is wrong?? Use : cc flock-test.c -lbsd I should work... Jose A. Vela Avila josevela@mtecv2.mty.itesm.mx ITESM