go-sqlite3 icon indicating copy to clipboard operation
go-sqlite3 copied to clipboard

gomobile bind sqlite3 has many errors in windows and mac OS

Open zzxap opened this issue 4 years ago • 1 comments

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?

zzxap avatar Jul 28 '20 01:07 zzxap

你的问题解决了吗

tangjiaqq avatar Oct 11 '22 01:10 tangjiaqq