Missing llseek

Peter S. Mazinger ps.m at gmx.net
Wed May 17 21:14:56 UTC 2006


On Wed, 17 May 2006, Will Newton wrote:

> On 5/17/06, Peter S. Mazinger <ps.m at gmx.net> wrote:
> 
> > > I've just been trying to build lmbench[1] with uClibc. The build fails
> > > with an undefined reference to "llseek". uClibc doesn't provide this
> > > symbol, and I'm not sure if it should do as it isn't in any header
> > > file. Does anyone have an opinion on whether or not uClibc should
> > > provide this?
> >
> > uClibc provides it under the name lseek64.
> 
> That doesn't answer my question. I know how to get at the
> functionality, but lmbench and therefore perhaps others, expect it to
> be called "llseek". Is this a bug?

Haven't seen any app failing due to missing llseek, SuSv3 does not mention 
it and glibc does not prototype it in any header and provides a link 
warning: "the `llseek' function may be dangerous: use `lseek64' instead."

I hope now you have your answer ;)

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list