I'm trying to build on Pop OS (Ubuntu derivative) ...
# kotlin-native
a
I'm trying to build on Pop OS (Ubuntu derivative) but seems like build is failing with the following message:
Copy code
> Task :keyboard:cinteropX11LinuxX64 FAILED
Exception in thread "main" java.lang.Error: /usr/include/x86_64-linux-gnu/sys/cdefs.h:492:28: error: function-like macro '__glibc_clang_prereq' is not defined
        at org.jetbrains.kotlin.native.interop.indexer.UtilsKt.ensureNoCompileErrors(Utils.kt:152)
        at org.jetbrains.kotlin.native.interop.indexer.IndexerKt.indexDeclarations(Indexer.kt:1003)
        at org.jetbrains.kotlin.native.interop.indexer.IndexerKt.buildNativeIndexImpl(Indexer.kt:992)
        at org.jetbrains.kotlin.native.interop.indexer.NativeIndexKt.buildNativeIndex(NativeIndex.kt:91)
        at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.processCLib(main.kt:267)
        at org.jetbrains.kotlin.native.interop.gen.jvm.MainKt.interop(main.kt:73)
        at org.jetbrains.kotlin.cli.utilities.InteropCompilerKt.invokeInterop(InteropCompiler.kt:45)
        at org.jetbrains.kotlin.cli.utilities.MainKt.mainImpl(main.kt:19)
        at org.jetbrains.kotlin.cli.utilities.MainKt.main(main.kt:41)

FAILURE: Build failed with an exception.
If anybody could point me into right direction...