[XviD-devel] compile xvid using nasm

Takashi Mochizuki mochi at da2.so-net.ne.jp
Fri Feb 13 02:46:44 CET 2009


Benrhard,

Post patch to nasm, as replace "fprintf(stderr, " with "printf("

Or, get latest yasm. Latest yasm (I use 0.7.99.2161.) runs perfectly  
with Xvid daily-snapshot.

//

It is nasm's issue, I believe.

 >Fri, 31 Oct 2008 23:53:49 +0000 (16:53 -0700)
 >Move all version strings to a single compilation unit (ver.c)
 >http://repo.or.cz/w/nasm.git?a=commitdiff;h=4b9358928b114caaf34a69d6fdfd3b285b7a72cc

Apparently, only -v option output uses fprintf(stderr,...) in nasm.c.  
All of others use puts or printf/puts.

Takashi Mochizuki

On 2009/02/13, at 1:07, programmer at bardware.de wrote:

> Hi,
>
> I was trying to compile xvidcore 1.2.1 as downloaded from xvid.org  
> on a ubuntu intrepid system.
> ./configure reported nasm was found but the version number was  
> wrong. xvid tries to determine the nasm version calling
> nasm_major=nasm -v | cut -d '.' -f 2 | cut -d ' ' -f 1
> nasm_minor=nasm -v | cut -d '.' -f 1 | cut -d ' ' -f 3
> As of version 2.06rc3, nasm outputs the result of a call to nasm -v  
> to stderr. Thus cut - expecting it's input from stdin - cannot  
> determine the version number and compiles without using nasm though  
> present and ready to use.
>
> Best,
> Benrhard Döbler
> _______________________________________________
> Xvid-devel mailing list
> Xvid-devel at xvid.org
> http://list.xvid.org/mailman/listinfo/xvid-devel



More information about the Xvid-devel mailing list