The asm code has many psudo-ops that are specific to linux x86 assembler. The code will not compile on Darwin even though the asm code should work on the x86 processor.
This is the sort of error that occurs on Darwin (OS X 10.7 in this case) when asm is not disabled:
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -U_SC_PRIORITY_SCHEDULING -I/sw/include -U_SC_PRIORITY_SCHEDULING -Wall -g -MT enc_output.lo -MD -MP -MF ".deps/enc_output.Tpo" -c -o enc_output.lo enc_output.c; \ then mv -f ".deps/enc_output.Tpo" ".deps/enc_output.Plo"; else rm -f ".deps/enc_output.Tpo"; exit 1; fi /bin/sh ../libtool --silent --mode=compile gcc -U_SC_PRIORITY_SCHEDULING -c -o vlc_x86.lo vlc_x86.S vlc_x86.S:2:19: error: unexpected token in '.section' directive .section .note.GNU-stack, "", @progbits ^ vlc_x86.S:7:2: error: unknown directive .type dv_decode_vlc,@function ^ vlc_x86.S:82:2: error: unknown directive .type __dv_decode_vlc,@function ^ vlc_x86.S:146:1: error: unknown directive .type dv_parse_ac_coeffs_pass0,@function ^ vlc_x86.S:365:2: error: unknown directive .type dv_parse_video_segment,@function ^ make[3]: *** [vlc_x86.lo] Error 1 make[3]: Leaving directory `/sw/build.build/libdv4-1.0.0-1/libdv-1.0.0/libdv'
This is the sort of error that occurs on Darwin (OS X 10.7 in this case) when asm is not disabled:
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -U_SC_PRIORITY_SCHEDULING -I/sw/include -U_SC_PRIORITY_SCHEDULING -Wall -g -MT enc_output.lo -MD -MP -MF ".deps/enc_output.Tpo" -c -o enc_output.lo enc_output.c; \
then mv -f ".deps/enc_output.Tpo" ".deps/enc_output.Plo"; else rm -f ".deps/enc_output.Tpo"; exit 1; fi
/bin/sh ../libtool --silent --mode=compile gcc -U_SC_PRIORITY_SCHEDULING -c -o vlc_x86.lo vlc_x86.S
vlc_x86.S:2:19: error: unexpected token in '.section' directive
.section .note.GNU-stack, "", @progbits
^
vlc_x86.S:7:2: error: unknown directive
.type dv_decode_vlc,@function
^
vlc_x86.S:82:2: error: unknown directive
.type __dv_decode_vlc,@function
^
vlc_x86.S:146:1: error: unknown directive
.type dv_parse_ac_coeffs_pass0,@function
^
vlc_x86.S:365:2: error: unknown directive
.type dv_parse_video_segment,@function
^
make[3]: *** [vlc_x86.lo] Error 1
make[3]: Leaving directory `/sw/build.build/libdv4-1.0.0-1/libdv-1.0.0/libdv'