|
From: Michael C. <ch...@mc...> - 2007-11-06 09:48:30
|
On Tuesday 06 November 2007 3:24 am, you wrote: > Chris Bagwell wrote: > > So I'm guessing something about Slackware doesn't like fseeko(). > > Hopefully, this gives some hints for others to help pinpoint the > > problem faster. > > Also Mandriva 9.2 (but I don't use it with SoX, just noticed it once!) (Mandriva 2007 works fine ---BTW 9.2 has SoX ?13.0 by default (an RPM), I was just playing round one day and 'up'graded): [sox-14.0.0]$ uname -a Linux xxx 2.4.22-10mdk #1 Thu Sep 18 12:30:58 CEST 2003 i686 unknown unknown GNU/Linux [sox-14.0.0]$ sox --version sox: SoX v14.0.0 [sox-14.0.0]$ sox src/monkey.wav out.wav sox soxio: Failed reading `src/monkey.wav': Could not find data chunk. > Can you do me another favor? When you compiled SoX, it created a file > called src/soxconfig.h. Can you view that file and search for: > [sox-14.0.0]$ grep -C 2 FILE_OFFSET_BITS src/soxconfig.h /* Number of bits in a file offset, on hosts where this is settable. */ #define _FILE_OFFSET_BITS 64 /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ As far as Mandiva goes this seems a historic problem (though not everyone will want to update their distribution to update SoX). Hope this helps, Michael Chapman |