wgo icon indicating copy to clipboard operation
wgo copied to clipboard

gomake failed

Open iwanbk opened this issue 14 years ago • 0 comments

Hi, I got these errors when running 'gomake' gomake Makefile:17: warning: overriding commands for target clean' /home/ibk/go/src/Make.common:6: warning: ignoring old commands for targetclean' rm -rf _.o *.a *.[568vq] [568vq].out wgo _test _testmain.go test.out build.out for i in Bitfield bencode wgo_io Stats Files Limiter Peers Choke Listener Tracker; do make -C $i clean; done make[1]: Entering directory /home/ibk/sinaugo/bittorrent/wgo/Bitfield' rm -rf *.o *.a *.[568vq] [568vq].out *.so _obj _test _testmain.go *.exe _cgo_ _.cgo[12]._ test.out build.out make[1]: Leaving directory /home/ibk/sinaugo/bittorrent/wgo/Bitfield' make[1]: Entering directory/home/ibk/sinaugo/bittorrent/wgo/bencode' rm -rf _.o *.a *.[568vq] [568vq].out *.so _obj _test _testmain.go *.exe _cgo_ _.cgo[12]._ test.out build.out make[1]: Leaving directory /home/ibk/sinaugo/bittorrent/wgo/bencode' make[1]: Entering directory/home/ibk/sinaugo/bittorrent/wgo/wgo_io' rm -rf _.o *.a *.[568vq] [568vq].out *.so _obj _test _testmain.go *.exe _cgo_ _.cgo[12]._ test.out build.out make[1]: Leaving directory /home/ibk/sinaugo/bittorrent/wgo/wgo_io' make[1]: Entering directory/home/ibk/sinaugo/bittorrent/wgo/Stats' rm -rf _.o *.a *.[568vq] [568vq].out *.so _obj _test _testmain.go *.exe _cgo_ _.cgo[12]._ test.out build.out make[1]: Leaving directory /home/ibk/sinaugo/bittorrent/wgo/Stats' make[1]: Entering directory/home/ibk/sinaugo/bittorrent/wgo/Files' rm -rf _.o *.a *.[568vq] [568vq].out *.so _obj _test _testmain.go *.exe _cgo_ _.cgo[12]._ test.out build.out make[1]: Leaving directory /home/ibk/sinaugo/bittorrent/wgo/Files' make[1]: Entering directory/home/ibk/sinaugo/bittorrent/wgo/Limiter' rm -rf _.o *.a *.[568vq] [568vq].out *.so _obj _test _testmain.go *.exe _cgo_ _.cgo[12]._ test.out build.out make[1]: Leaving directory /home/ibk/sinaugo/bittorrent/wgo/Limiter' make[1]: Entering directory/home/ibk/sinaugo/bittorrent/wgo/Peers' rm -rf _.o *.a *.[568vq] [568vq].out *.so _obj _test _testmain.go *.exe _cgo_ _.cgo[12]._ test.out build.out make[1]: Leaving directory /home/ibk/sinaugo/bittorrent/wgo/Peers' make[1]: Entering directory/home/ibk/sinaugo/bittorrent/wgo/Choke' rm -rf _.o *.a *.[568vq] [568vq].out *.so _obj _test _testmain.go *.exe _cgo_ _.cgo[12]._ test.out build.out make[1]: Leaving directory /home/ibk/sinaugo/bittorrent/wgo/Choke' make[1]: Entering directory/home/ibk/sinaugo/bittorrent/wgo/Listener' rm -rf _.o *.a *.[568vq] [568vq].out *.so _obj _test _testmain.go *.exe _cgo_ _.cgo[12]._ test.out build.out make[1]: Leaving directory /home/ibk/sinaugo/bittorrent/wgo/Listener' make[1]: Entering directory/home/ibk/sinaugo/bittorrent/wgo/Tracker' rm -rf _.o *.a *.[568vq] [568vq].out *.so _obj _test _testmain.go *.exe _cgo_ _.cgo[12]._ test.out build.out make[1]: Leaving directory /home/ibk/sinaugo/bittorrent/wgo/Tracker' make -C Bitfield install make[1]: Entering directory/home/ibk/sinaugo/bittorrent/wgo/Bitfield' 8g -o _go_.8 Bitfield.go rm -f _obj/wgo/bit_field.a gopack grc _obj/wgo/bit_field.a _go_.8 cp _obj/wgo/bit_field.a "/home/ibk/go/pkg/linux_386/wgo/bit_field.a" make[1]: Leaving directory /home/ibk/sinaugo/bittorrent/wgo/Bitfield' make -C bencode install make[1]: Entering directory/home/ibk/sinaugo/bittorrent/wgo/bencode' 8g -o _go_.8 decode.go parse.go struct.go struct.go:25: undefined: reflect.MapValue struct.go:32: cannot type switch on non-interface value v (type reflect.Value) struct.go:33: undefined: reflect.FloatValue struct.go:40: cannot type switch on non-interface value v (type reflect.Value) struct.go:41: undefined: reflect.FloatValue struct.go:42: cannot use f (type float64) as type reflect.Value in function argument struct.go:47: cannot type switch on non-interface value val (type reflect.Value) struct.go:48: undefined: reflect.IntValue struct.go:49: cannot use int64(i) (type int64) as type reflect.Value in function argument struct.go:50: undefined: reflect.UintValue struct.go:51: cannot use uint64(i) (type uint64) as type reflect.Value in function argument struct.go:52: undefined: reflect.InterfaceValue struct.go:53: undefined: reflect.NewValue struct.go:63: b.map_ undefined (type _structBuilder has no field or method map_) struct.go:64: b.map_ undefined (type *structBuilder has no field or method map_) struct.go:64: b.key undefined (type *structBuilder has no field or method key) struct.go:64: b.val undefined (type *structBuilder has no field or method val) struct.go:72: b.val undefined (type *structBuilder has no field or method val) struct.go:84: b.val undefined (type *structBuilder has no field or method val) struct.go:96: b.val undefined (type *structBuilder has no field or method val) struct.go:109: b.val undefined (type *structBuilder has no field or method val) struct.go:110: undefined: reflect.StringValue struct.go:112: undefined: reflect.InterfaceValue struct.go:113: undefined: reflect.NewValue struct.go:121: b.val undefined (type *structBuilder has no field or method val) struct.go:132: b.val undefined (type *structBuilder has no field or method val) struct.go:133: undefined: reflect.ArrayValue struct.go:135: unknown structBuilder field 'val' in struct literal struct.go:137: undefined: reflect.SliceValue struct.go:154: unknown structBuilder field 'val' in struct literal struct.go:164: b.val undefined (type *structBuilder has no field or method val) struct.go:166: undefined: reflect.MakeZero struct.go:169: b.map_ undefined (type *structBuilder has no field or method map_) struct.go:170: b.val undefined (type *structBuilder has no field or method val) struct.go:172: b.val undefined (type *structBuilder has no field or method val) struct.go:181: b.val undefined (type *structBuilder has no field or method val) struct.go:181: cannot type switch on non-interface value reflect.Indirect(b.val) (type reflect.Value) struct.go:182: undefined: reflect.StructValue struct.go:183: undefined: reflect.StructType struct.go:190: unknown structBuilder field 'val' in struct literal struct.go:193: undefined: reflect.MapValue struct.go:194: undefined: reflect.MapType struct.go:195: undefined: reflect.Typeof struct.go:198: undefined: reflect.NewValue struct.go:199: too many arguments in call to v.Elem struct.go:301: undefined: reflect.ArrayOrSliceValue struct.go:355: undefined: reflect.MapValue struct.go:387: undefined: reflect.StructValue struct.go:199: too many errors make[1]: *_\* [_go_.8] Error 1 make[1]: Leaving directory /home/ibk/sinaugo/bittorrent/wgo/bencode' make: *** [bencode.make] Error 2

iwanbk avatar Aug 13 '11 09:08 iwanbk