[XviD-devel] yasm: unrecognized option `-DMARK_FUNCS'

Steven M. Schultz sms at 2BSD.COM
Fri Feb 11 07:20:44 CET 2005


Hi -

	Building xvid (from CVS) on a AMD64 (Opteron) gives an error:

yasm: unrecognized option `-DMARK_FUNCS'

	is the workaround/fix to simply remove the "-DMARK_FUNCS"?    Yasm
	doesn't seem to like that option.  Is the version of yasm from
	SuSE 9.2 (64bit) too old perhaps?

 yasm --version
 yasm 0.3.0

	Taking out the -DMARK_FUNCS does allow building to proceed further
	but then the compile fails in a massive spew of errors:

  A: quant/x86_64_asm/quantize_h263_mmx.asm
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:192: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:193: duplicate definition of `pcmpgtw'; first defined on line 287
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:193: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:241: duplicate definition of `pcmpgtw'; first defined on line 287
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:241: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:242: duplicate definition of `pcmpgtw'; first defined on line 287
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:242: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:297: duplicate definition of `pcmpgtw'; first defined on line 287
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:297: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:298: duplicate definition of `pcmpgtw'; first defined on line 287
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:298: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:320: duplicate definition of `pcmpgtw.done'; first defined on line 306
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:331: duplicate definition of `pcmpgtw.q1loop'; first defined on line 331
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:336: duplicate definition of `pcmpgtw'; first defined on line 287
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:336: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:337: duplicate definition of `pcmpgtw'; first defined on line 287
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:337: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:360: duplicate definition of `pcmpgtw.endfunc'; first defined on line 356
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:396: duplicate definition of `pcmpgtw'; first defined on line 287
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:396: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:397: duplicate definition of `pcmpgtw'; first defined on line 287
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:397: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:400: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:401: duplicate definition of `pcmpeqw'; first defined on line 495
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:401: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:475: duplicate definition of `pcmpgtw'; first defined on line 287
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:475: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:476: duplicate definition of `pcmpgtw'; first defined on line 287
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:476: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:479: duplicate definition of `pcmpeqw'; first defined on line 495
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:479: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:480: duplicate definition of `pcmpeqw'; first defined on line 495
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:480: label or instruction expected at start of line
../../src/quant/x86_64_asm/quantize_h263_mmx.asm:507: duplicate definition of `pcmpeqw.endfunc'; first defined on line 536
make: *** [quant/x86_64_asm/quantize_h263_mmx.o] Error 1

	Looks like I'll skip building xvid for now ;)

	Cheers,
	Steven Schultz


More information about the XviD-devel mailing list