Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Example builder fails to compile on Linux 64bits #67

Closed
lmedinas opened this Issue · 1 comment

2 participants

@lmedinas

I installed go-gtk with goinstall today and it failed to build builder example:

make -f Make.cgo
make[1]: Entering directory `/usr/lib/go/src/pkg/github.com/mattn/go-gtk/example/builder'
make[1]: Leaving directory `/usr/lib/go/src/pkg/github.com/mattn/go-gtk/example/builder'
make -f Make.cgo installlocal
make[1]: Entering directory `/usr/lib/go/src/pkg/github.com/mattn/go-gtk/example/builder'
mkdir -p pkg/linux_amd64
cp callback.so pkg/linux_amd64/.
cp _obj/callback.a pkg/linux_amd64/.
make[1]: Leaving directory `/usr/lib/go/src/pkg/github.com/mattn/go-gtk/example/builder'
make -f Make.cmd
make[1]: Entering directory `/usr/lib/go/src/pkg/github.com/mattn/go-gtk/example/builder'
6l -Lpkg/linux_amd64  -o builder _go_.6
6l: _go_.6: not package main (package callback)
runtime.mainstart: undefined: main.main
make[1]: *** [builder] Error 1
make[1]: Leaving directory `/usr/lib/go/src/pkg/github.com/mattn/go-gtk/example/builder'
make: *** [all] Error 2
@mattn
Owner

Try to clean-up files: make clean && make

@mattn mattn closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.