What steps will reproduce the problem?
1. cd $GOROOT/src/pkg/goprotobuf.googlecode.com/hg/compiler && make install
What is the expected output? What do you see instead?
Expected: successful compilation and installation
Actual:
6g -o _go_.6 generator.go
generator.go:278: undefined: log.Stderr
generator.go:286: undefined: log.Stderr
generator.go:674: undefined: log.Stderr
generator.go:971: undefined: log.Stderr
make[1]: *** [_go_.6] Error 1
make: *** [generator.make] Error 2
What version of the product are you using? On what operating system?
goinstall goprotobuf.googlecode.com/hg/proto
GOOS=darwin, GOARCH=amd64
Please provide any additional information below.
The attached patch fixes the errors by updating calles from log.Stderr to
log.Print
Original issue reported on code.google.com by d...@cheney.net on 21 Oct 2010 at 2:59
Original issue reported on code.google.com by
d...@cheney.net
on 21 Oct 2010 at 2:59Attachments: