Skip to content

Failed to compile Windows 32-bit on Debian. #143

Description

@gxy-13

env
go version go1.20 linux/amd64

CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -o ../../build/sqlitemanager/amd64/BL-SqliteManager.exe
modernc.org/sqlite/lib
/home/guanxy/go/pkg/mod/modernc.org/sqlite@v1.23.1/lib/defs.go:13:35: undefined: sqlite3_index_constraint
/home/guanxy/go/pkg/mod/modernc.org/sqlite@v1.23.1/lib/defs.go:14:35: undefined: sqlite3_index_orderby
/home/guanxy/go/pkg/mod/modernc.org/sqlite@v1.23.1/lib/defs.go:15:35: undefined: sqlite3_index_constraint_usage
/home/guanxy/go/pkg/mod/modernc.org/sqlite@v1.23.1/lib/mutex.go:19:5: undefined: Xsqlite3_threadsafe
/home/guanxy/go/pkg/mod/modernc.org/sqlite@v1.23.1/lib/mutex.go:29:11: undefined: Xsqlite3_config
/home/guanxy/go/pkg/mod/modernc.org/sqlite@v1.23.1/lib/mutex.go:29:32: undefined: SQLITE_CONFIG_MUTEX
/home/guanxy/go/pkg/mod/modernc.org/sqlite@v1.23.1/lib/mutex.go:29:122: undefined: SQLITE_OK
/home/guanxy/go/pkg/mod/modernc.org/sqlite@v1.23.1/lib/mutex.go:30:8: undefined: Xsqlite3_errstr
/home/guanxy/go/pkg/mod/modernc.org/sqlite@v1.23.1/lib/mutex.go:40:17: undefined: Sqlite3_mutex_methods
/home/guanxy/go/pkg/mod/modernc.org/sqlite@v1.23.1/lib/mutex.go:239:46: undefined: SQLITE_OK
/home/guanxy/go/pkg/mod/modernc.org/sqlite@v1.23.1/lib/mutex.go:239:46: too many errors

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions