I had the same problem switching from master to incoming. I checked my 
~/.emscripten file, but deleting it entirely is ultimately what fixed it 
for me.

On Monday, May 9, 2016 at 9:48:43 AM UTC-7, Alon Zakai wrote:
>
> Different LLVM versions can cause those errors, and looks like that's the 
> case based on the LLVM versions reported there. Make sure to use the same 
> emscripten sdk and version on both machines (and also that ~/.emscripten 
> does not set LLVM to something wrong).
>
> On Mon, May 9, 2016 at 5:18 AM, emjay <[email protected] <javascript:>> 
> wrote:
>
>> Hi,
>> (sorry for my bad english)
>>
>> Im using a linux Virtual Machine to build project like libmp3lame using 
>> emscripten. It build fine and i can get the static lib libmp3lame.a file.
>>
>> Now i go back under windows and use emscripten to build a simple cpp 
>> including the libmp3lame.a library but it don't work.
>>
>> D:\data\software\emsdk-portable-64bit\sample\lame_test>emcc -L. main.cpp 
>> -llibmp3lame
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (45)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (45)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (48)
>> error: Invalid type for value
>> error: Unknown attribute kind (45)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (45)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (45)
>> error: Unknown attribute kind (45)
>> error: Unknown attribute kind (45)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (45)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (45)
>> error: Unknown attribute kind (45)
>> error: Unknown attribute kind (48)
>> error: Unknown attribute kind (45)
>> error: Unknown attribute kind (45)
>> error: Invalid type for value
>>
>>
>> Under the debian VM all is fine but i need to get it working under 
>> windows.
>>
>>
>> Linux version :
>> root@debian:/home/emsdk_portable/sample# opt -version
>> LLVM (http://llvm.org/):
>>   LLVM version 3.9.0svn
>>   Optimized build.
>>   Built May  9 2016 (13:02:22).
>>   Default target: x86_64-unknown-linux-gnu
>>   Host CPU: sandybridge
>>
>>
>> Windows version :
>> D:\data\software\emsdk-portable-64bit\sample\lame_test>opt -version
>> LLVM (http://llvm.org/):
>>   LLVM version 3.7.0svn
>>   DEBUG build.
>>   Built Nov 13 2015 (16:01:31).
>>   Default target: x86_64-pc-windows-msvc
>>   Host CPU: sandybridge
>>
>>
>> When i had v1.29 on the VM it worked fine, but since the update it dont.
>>
>> Any suggestion ?
>>
>> Thanks
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "emscripten-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to