Re: compile xvid using nasm

Takashi Mochizuki <[email protected]>
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
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, [email protected] 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
> [email protected]
> http://list.xvid.org/mailman/listinfo/xvid-devel

_______________________________________________
Xvid-devel mailing list
[email protected]
http://list.xvid.org/mailman/listinfo/xvid-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.