Chen-tao / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

[libvpx] Invalid ARFLAGS in libs-generic-gnu.mk, cannot compile + make #566

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hello guys

i'm unable to compile libvpx for generic gnu's because following line is 
probably buggy:

ARFLAGS = -rus$(if $(quiet),c,v)

it's on line 52 of file libs-generic-gnu.mk (just git a fresh git pull)

and the error shown is:

> sudo ./../emscripten/emmake make
    [AR] libvpx_g.a
llvm-ar: Unknown command line argument '-rusc'.  Try: '/usr/local/bin/llvm-ar 
-help'

you can see, i'm cross compiling here, trying to port libvpx to javascript via 
emscripten.

thanks for any advice,
michael

Original issue reported on code.google.com by michael....@gmail.com on 26 Mar 2013 at 1:12

GoogleCodeExporter commented 8 years ago
more information is available at:
https://gist.github.com/binarykitchen/5230096

Original comment by michael....@gmail.com on 26 Mar 2013 at 1:16

GoogleCodeExporter commented 8 years ago
i think you have to add support for emscripten in your configure files exactly 
like:

http://code.google.com/r/benjaminmschwartz-libvpx-emscripten/source/detail?r=939
cbcc1cea5da4c77af82dc8f9e68cbee04068e&spec=svn939cbcc1cea5da4c77af82dc8f9e68cbee
04068e#publish

only one change is needed. instead of
LD=llvm-ld

better use
LD=llvm-link

Original comment by michael....@gmail.com on 27 Mar 2013 at 12:52

GoogleCodeExporter commented 8 years ago
John can you take a look? 

Original comment by albe...@google.com on 28 Mar 2013 at 10:06