lunixbochs / usercorn

dynamic binary analysis via platform emulation
MIT License
890 stars 98 forks source link

Cannot build #199

Closed ETeissonniere closed 8 years ago

ETeissonniere commented 8 years ago

Hi guys, I have cloned the sources, installed the dependencies, but when I try to build, I get the following:

# github.com/lunixbochs/usercorn/go/models
Golang/src/github.com/lunixbochs/usercorn/go/models/mapped_file.go:64: f.Class undefined (type *dwarf.Field has no field or method Class)
Golang/src/github.com/lunixbochs/usercorn/go/models/mapped_file.go:65: undefined: dwarf.ClassAddress
Golang/src/github.com/lunixbochs/usercorn/go/models/mapped_file.go:67: undefined: dwarf.ClassConstant
Golang/src/github.com/lunixbochs/usercorn/go/models/mapped_file.go:86: entry.AttrField undefined (type *dwarf.Entry has no field or method AttrField)
Golang/src/github.com/lunixbochs/usercorn/go/models/mapped_file.go:88: m.DWARF.LineReader undefined (type *dwarf.Data has no field or method LineReader)
Golang/src/github.com/lunixbochs/usercorn/go/models/mapped_file.go:89: undefined: dwarf.LineEntry
ETeissonniere commented 8 years ago

Fixed by compiling go from source on raspberry pi

lunixbochs commented 8 years ago

Yeah, you need at least Go 1.5 (as per the readme)