Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot compile Go language on Mac OS X 10.6.7
    primarykey
    data
    text
    <p>When following instructions on <a href="http://golang.org/doc/install.html" rel="nofollow">Getting Started - The Go Programming Language</a>, I get the code and try to run the <code>all.bash</code> script.</p> <p>But I get this error after a lot of other successful looking output:</p> <pre><code>INSTALL FAIL net CGOPKGPATH= cgo -- cgo_bsd.go cgo_unix.go touch _obj/_cgo_run 6g -o _go_.6 dial.go dnsmsg.go fd_darwin.go hosts.go ip.go ipsock.go iprawsock.go lookup.go net.go parse.go pipe.go sock.go tcpsock.go udpsock.go unixsock.go newpollserver.go fd.go file.go dnsconfig.go dnsclient.go port.go _obj/cgo_bsd.cgo1.go _obj/cgo_unix.cgo1.go _obj/_cgo_gotypes.go 6c -FVw -I/Users/matryer/Work/go/pkg/darwin_amd64 -I . -o "_cgo_defun.6" _obj/_cgo_defun.c gcc -m64 -I . -g -fPIC -O2 -o _cgo_main.o -c _obj/_cgo_main.c gcc -m64 -I . -g -fPIC -O2 -o cgo_bsd.cgo2.o -c _obj/cgo_bsd.cgo2.c gcc -m64 -I . -g -fPIC -O2 -o cgo_unix.cgo2.o -c _obj/cgo_unix.cgo2.c gcc -m64 -I . -g -fPIC -O2 -o _cgo_export.o -c _obj/_cgo_export.c gcc -m64 -g -fPIC -O2 -o _cgo1_.o _cgo_main.o cgo_bsd.cgo2.o cgo_unix.cgo2.o _cgo_export.o cgo -dynimport _cgo1_.o &gt;_obj/_cgo_import.c_ &amp;&amp; mv -f _obj/_cgo_import.c_ _obj/_cgo_import.c 6c -FVw -I . -o "_cgo_import.6" _obj/_cgo_import.c cgo_bsd.go:5[_obj/cgo_bsd.cgo1.go:8]: undefined: _Cconst_AI_MASK cgo_unix.go:69[_obj/cgo_unix.cgo1.go:72]: undefined: _Cconst_AI_ALL cgo_unix.go:69[_obj/cgo_unix.cgo1.go:72]: undefined: _Cconst_AI_V4MAPPED cgo_unix.go:69[_obj/cgo_unix.cgo1.go:72]: undefined: _Cconst_AI_CANONNAME make[1]: *** [_go_.6] Error 1 make: *** [net.install] Error 1 </code></pre> <p>Has anybody else seen this and fixed it?</p> <p>I am running Snow Leopard (10.6.7) build <code>10J869</code>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload