delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/10/23/02:30:57

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" <wosrediinanatour AT aon DOT at>
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
References: <op DOT thtuwjm8fbdswm AT arachne> <ehhfr6$aq3$1 AT blue DOT rahul DOT net>
Message-ID: <op.thu2vibbfbdswm@arachne>
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 <fcntl.h>
>  #  include <io.h>
>  #  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: <http://www.flox.at.tf>
oZone - desktop enviroment  f. DOS, Win, Linux: <http://www.flox.at.tf>
Blutrausch - Wiki zum Kultfilm: <http://www.blutrausch.at.tf>
Dr-DOS  Wiki: <http://www.drdos.org>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019