readahead offset type (re: mantis 0001024)

Mark S. Mathews mark at linux-wlan.com
Mon Jan 29 09:37:49 PST 2007


Hello All,

Bug #0001024 (syntax error on offset arg in libc/sysdeps/common/readahead.c)
is marked closed, but I ran into it with:

  uClibc-0.9.28.1,
  buildroot-17604,
  gcc-3.4.3
  binutils-2.17.50.0.10
  linux-libc-headers-2.4.27
  target=armeb/xscale

Changing off64_t to loff_t (to match sys_readahead in this kernel)  
seems to work for me.

Since loff_t is a kernel-defined type , I'm guessing this isn't a  
generally acceptable solution.

If someone's got some thoughts on the 'right way' to fix it, I'm all ears.

Thanks,
-Mark

Mark S. Mathews

AbsoluteValue Systems      Web:    http://www.linux-wlan.com
721-D North Drive          e-mail: mark at linux-wlan.com
Melbourne, FL 32934        Phone:  321.259.0737
USA                        Fax:    321.259.0286



More information about the uClibc mailing list