You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I use /code.google.com/p/odbc/ my program, my build fails for linux.
_What version of Go are you using (go version)?_
go version go1.4.2 darwin/amd64
_What operating system and processor architecture are you using?_
Mac OSX
_What did you do?_
I was able to build my app before I have inserted the odbc package (code.google.com/p/odbc). Then I added the package and installed UnixODBC and FreeTDS.
_What did you expect to see?_
I thought go could compile binaries for Mac, Linux and Windows independent from the packages used.
_What did you see instead?_
I encountered the error message below when executing make.
My terminal shows:
GOARCH=amd64 GOOS=linux goop exec go build -ldflags "-X main.VERSION cat VERSION -X main.BUILD_DATE date -u +%d.%m.%Y-%H:%M:%S" -o /Users/cadamini/GoApps/connect-client/bin/linux-amd64/connect ./main.go
'# code.google.com/p/odbc/api
.vendor/src/code.google.com/p/odbc/api/api.go:13: undefined: SQLSMALLINT
.vendor/src/code.google.com/p/odbc/api/api.go:14: undefined: SQLUSMALLINT
.vendor/src/code.google.com/p/odbc/api/api.go:15: undefined: SQLUSMALLINT
Do I see a bug or is it just a configuration issue?
The text was updated successfully, but these errors were encountered:
Since I use /code.google.com/p/odbc/ my program, my build fails for linux.
_What version of Go are you using (go version)?_
go version go1.4.2 darwin/amd64
_What operating system and processor architecture are you using?_
Mac OSX
_What did you do?_
I was able to build my app before I have inserted the odbc package (code.google.com/p/odbc). Then I added the package and installed UnixODBC and FreeTDS.
_What did you expect to see?_
I thought go could compile binaries for Mac, Linux and Windows independent from the packages used.
_What did you see instead?_
I encountered the error message below when executing make.
My terminal shows:
GOARCH=amd64 GOOS=linux goop exec go build -ldflags "-X main.VERSION
cat VERSION
-X main.BUILD_DATEdate -u +%d.%m.%Y-%H:%M:%S
" -o /Users/cadamini/GoApps/connect-client/bin/linux-amd64/connect ./main.go'# code.google.com/p/odbc/api
.vendor/src/code.google.com/p/odbc/api/api.go:13: undefined: SQLSMALLINT
.vendor/src/code.google.com/p/odbc/api/api.go:14: undefined: SQLUSMALLINT
.vendor/src/code.google.com/p/odbc/api/api.go:15: undefined: SQLUSMALLINT
Do I see a bug or is it just a configuration issue?
The text was updated successfully, but these errors were encountered: