When I execute the task compileKotlinMacosX64,I get the errors below:
• Unresolved reference: __syscall_slong_t
• Unresolved reference: __time_t
• Unresolved reference: pthread_condattr_setclock
• Unresolved reference: pthread_condattr_setclock
• Unresolved reference: __time_t
• Unresolved reference: __syscall_slong_t
• Unresolved reference: __syscall_slong_t
the errors occured in naitveMain module, I use some posix APIs in my code, and I config both macosX64Main and linuxX64Main dependsOn nativeMain
Am I doing something wrong?