go-sqlite3
go-sqlite3 copied to clipboard
gomobile bind sqlite3 has many errors in windows and mac OS
D:\GoProject\src\golib> gomobile bind -target=android golib gomobile: go build -buildmode=c-shared -o=C:\Users\zzx\AppData\Local\Temp\gomobile-work-264215403\android\src\main\jniLibs\armeabi-v7a\libgojni.so gobind failed: exit status 2
github.com/mattn/go-sqlite3
sqlite3-binding.c:33948:42: error: use of undeclared identifier 'mmap' sqlite3-binding.c:34037:22: error: invalid application of 'sizeof' to an incomplete type 'struct unix_syscall []' sqlite3-binding.c:34046:22: error: invalid application of 'sizeof' to an incomplete type 'struct unix_syscall []' sqlite3-binding.c:34073:20: error: invalid application of 'sizeof' to an incomplete type 'struct unix_syscall []' sqlite3-binding.c:34090:16: error: invalid application of 'sizeof' to an incomplete type 'struct unix_syscall []' sqlite3-binding.c:14567:38: note: expanded from macro 'ArraySize' sqlite3-binding.c:34094:14: error: invalid application of 'sizeof' to an incomplete type 'struct unix_syscall []' sqlite3-binding.c:14567:38: note: expanded from macro 'ArraySize'
does it suport gomobile?
你的问题解决了吗