X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Mon, 23 Oct 2006 08:27:08 +0200 Subject: Re: ANNOUNCE: SoX for DOS From: "Florian Xaver" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp References: Content-Transfer-Encoding: 7bit Message-ID: User-Agent: Opera Mail/9.02 (Win32) Lines: 39 NNTP-Posting-Host: 212.183.121.61 X-Trace: 1161584825 newsreader01.highway.telekom.at 26621 212.183.121.61:6618 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > Thanks for making this available. I am not sure I understand what you > tried to change in sox, since the current cvs code compiles "out of Then I have an "old" version. I haven't used it from CVS, I used the latest official release. Another Problem, I had no bash etc. (Compiled it unter DOS.) You are right... > the box" in DJGPP. To compile, I just downloaded the cvs source code, > then in a bash shell did autoheader, then autoconf, then configure, > then make. I don't have the mp3 libraries on my machine, so it was > built without them. > What does need to be fixed is making stdin and stdout binary. You don't > seem to have done that with your binary. Try adding the following patch: Have you updated the cvs source code with following patch? > --- sox/src/stio.c.ori 2006-05-14 16:46:56.000000000 -0800 > +++ sox/src/stio.c 2006-10-22 21:09:54.000000000 -0800 > @@ -24,7 +24,7 @@ > #endif > /* Based from zlib's minigzip: */ > -#if defined(WIN32) || defined(__NT__) > +#if defined(WIN32) || defined(__NT__) || defined(__DJGPP__) > # include > # include > # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) I will "update" the binaries soon... Thanks -- Florian Xaver Webdesign, Sword (DOS GUI), personal site: oZone - desktop enviroment f. DOS, Win, Linux: Blutrausch - Wiki zum Kultfilm: Dr-DOS Wiki: