Created
September 28, 2021 01:10
-
-
Save radical/2d87bfe6405185678832f79c7fc0d6c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error : Failed to compile /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/src/pinvoke.c -> /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke.o [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : "/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/bin/clang" -target wasm32-unknown-emscripten -DEMSCRIPTEN -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=23 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -O1 -g -v -DLINK_ICALLS=1 -DCORE_BINDINGS -DGEN_PINVOKE=1 -emit-llvm -I/private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build -I/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/include/mono-2.0 -I/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/include/wasm -g -c /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/src/pinvoke.c -o /var/folders/7c/zpmy8k_d4d1grky_s154kk640000gp/T/tmplZxGuD.tmp [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : clang version 13.0.0 (/opt/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project 5852582532b3eb3ea8da51a1e272d8d017bd36c9) [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : Target: wasm32-unknown-emscripten [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : Thread model: posix [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : InstalledDir: /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/bin [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : (in-process) [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : "/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/bin/clang" -cc1 -triple wasm32-unknown-emscripten -emit-llvm-bc -emit-llvm-uselists -disable-free -main-file-name pinvoke.c -mrelocation-model static -mframe-pointer=none -fno-rounding-math -mconstructor-aliases -target-cpu generic -fvisibility hidden -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -target-linker-version 609.8 -v -fcoverage-compilation-dir=/tmp/sqlite -resource-dir /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/lib/clang/13.0.0 -D EMSCRIPTEN -D __EMSCRIPTEN_major__=2 -D __EMSCRIPTEN_minor__=0 -D __EMSCRIPTEN_tiny__=23 -D _LIBCPP_ABI_VERSION=2 -D unix -D __unix -D __unix__ -D LINK_ICALLS=1 -D CORE_BINDINGS -D GEN_PINVOKE=1 -I /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build -I /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/include/mono-2.0 -I /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/include/wasm -isysroot /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/emscripten/cache/sysroot -internal-isystem /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/lib/clang/13.0.0/include -internal-isystem /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/emscripten/cache/sysroot/include/wasm32-emscripten -internal-isystem /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/emscripten/cache/sysroot/include -O1 -Werror=implicit-function-declaration -fdebug-compilation-dir=/tmp/sqlite -ferror-limit 19 -fgnuc-version=4.2.1 -iwithsysroot/include/SDL -iwithsysroot/include/compat -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -o /var/folders/7c/zpmy8k_d4d1grky_s154kk640000gp/T/tmplZxGuD.tmp -x c /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/src/pinvoke.c [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : clang -cc1 version 13.0.0 based upon LLVM 13.0.0git default target x86_64-apple-darwin20.6.0 [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ignoring nonexistent directory "/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/emscripten/cache/sysroot/include/wasm32-emscripten" [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : #include "..." search starts here: [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : #include <...> search starts here: [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/include/mono-2.0 [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/include/wasm [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/emscripten/cache/sysroot/include/SDL [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/emscripten/cache/sysroot/include/compat [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/lib/clang/13.0.0/include [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/emscripten/cache/sysroot/include [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : End of search list. [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : In file included from /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/src/pinvoke.c:14: [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:90:5: error: conflicting types for 'sqlite3_config' [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : int sqlite3_config (int,int); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:89:5: note: previous declaration is here [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : int sqlite3_config (int); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:91:5: error: conflicting types for 'sqlite3_config' [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : int sqlite3_config (int,int,int); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:89:5: note: previous declaration is here [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : int sqlite3_config (int); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:96:5: error: conflicting types for 'sqlite3_db_config' [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : int sqlite3_db_config (int,int,int,int); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:95:5: note: previous declaration is here [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : int sqlite3_db_config (int,int,int); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:97:5: error: conflicting types for 'sqlite3_db_config' [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : int sqlite3_db_config (int,int,int,int,int); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:95:5: note: previous declaration is here [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : int sqlite3_db_config (int,int,int); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:551:66: warning: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; remove & [-Wint-conversion] [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ((WasmInterpEntrySig_0)wasm_native_to_interp_ftndescs [0].func) (&res, &arg0, &arg1, &arg2, &arg3, wasm_native_to_interp_ftndescs [0].arg); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^~~~ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:557:66: warning: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; remove & [-Wint-conversion] [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ((WasmInterpEntrySig_1)wasm_native_to_interp_ftndescs [1].func) (&res, &arg0, wasm_native_to_interp_ftndescs [1].arg); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^~~~ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:579:66: warning: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; remove & [-Wint-conversion] [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ((WasmInterpEntrySig_6)wasm_native_to_interp_ftndescs [6].func) (&res, &arg0, &arg1, &arg2, &arg3, &arg4, wasm_native_to_interp_ftndescs [6].arg); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^~~~ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:584:94: warning: incompatible pointer types passing 'int64_t *' (aka 'long long *') to parameter of type 'int *' [-Wincompatible-pointer-types] [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ((WasmInterpEntrySig_7)wasm_native_to_interp_ftndescs [7].func) (&arg0, &arg1, &arg2, &arg3, &arg4, wasm_native_to_interp_ftndescs [7].arg); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^~~~~ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:596:82: warning: incompatible pointer types passing 'int64_t *' (aka 'long long *') to parameter of type 'int *' [-Wincompatible-pointer-types] [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ((WasmInterpEntrySig_10)wasm_native_to_interp_ftndescs [10].func) (&arg0, &arg1, &arg2, wasm_native_to_interp_ftndescs [10].arg); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^~~~~ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:601:68: warning: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; remove & [-Wint-conversion] [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ((WasmInterpEntrySig_11)wasm_native_to_interp_ftndescs [11].func) (&res, &arg0, wasm_native_to_interp_ftndescs [11].arg); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^~~~ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : /private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build/pinvoke-table.h:607:68: warning: incompatible pointer to integer conversion passing 'int *' to parameter of type 'int'; remove & [-Wint-conversion] [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ((WasmInterpEntrySig_12)wasm_native_to_interp_ftndescs [12].func) (&res, &arg0, &arg1, &arg2, &arg3, &arg4, &arg5, wasm_native_to_interp_ftndescs [12].arg); [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : ^~~~ [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : 7 warnings and 4 errors generated. [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
error : emcc: error: '/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/bin/clang -target wasm32-unknown-emscripten -DEMSCRIPTEN -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=23 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/usr/local/share/dotnet/packs/Microsoft.NET.Runtime.Emscripten.2.0.23.Sdk.osx-x64/6.0.0-rc.2.21464.1/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -O1 -g -v -DLINK_ICALLS=1 -DCORE_BINDINGS -DGEN_PINVOKE=1 -emit-llvm -I/private/tmp/sqlite/obj/Debug/net6.0/wasm/for-build -I/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/include/mono-2.0 -I/usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/include/wasm -g -c /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/6.0.0-rtm.21472.13/runtimes/browser-wasm/native/src/pinvoke.c -o /var/folders/7c/zpmy8k_d4d1grky_s154kk640000gp/T/tmplZxGuD.tmp' failed (returned 1) [took 2.125s] [/private/tmp/sqlite/BlazorWebAssemblySqlite.csproj] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, do you have this gist posted anywhere for resolution? I'm having the same problem trying to use SQLite with Blazor WebAssembly compiling in Windows. I was able to compile the project in Linux and use it from a Windows browser, but I'd prefer to keep everything in my Visual Studio workflow until I'm done developing.