Go build from windows 32bits to linux

58 views
Skip to first unread message

a.sotom...@gmail.com

unread,
Mar 29, 2017, 1:27:07 PM3/29/17
to golang-nuts

get an error when execute go build


SET GOOS=linux
SET GOARCH=386
SET CGO_ENABLED=1
SET CXX=mingw32-g++
SET CC=mingw32-c++


gopkg.in/rana/ora.v3

..\gopkg.in\rana\ora.v3\conn.go:51: undefined: Env
..\gopkg.in\rana\ora.v3\conn.go:52: undefined: Ses
..\gopkg.in\rana\ora.v3\pool.go:63: undefined: Env
..\gopkg.in\rana\ora.v3\pool.go:64: undefined: SrvCfg
..\gopkg.in\rana\ora.v3\pool.go:65: undefined: SesCfg


001

002


What do I need to compile, pls help.

anthony soto

unread,
Mar 29, 2017, 4:03:51 PM3/29/17
to golang-nuts

set goos=linux

set goarch=386
set CGO_ENABLED=1
help 
Reply all
Reply to author
Forward
0 new messages