hpcloud / tail

Go package for reading from continously updated files (tail -f)
MIT License
2.7k stars 502 forks source link

error: reference to undefined identifier 'syscall.SizeofInotifyEvent' (gollvm; 1.15.2) #177

Open advancedwebdeveloper opened 3 years ago

advancedwebdeveloper commented 3 years ago

Hi. I caught such a bug, while building your package:

github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1 ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:161:18: error: reference to undefined identifier 'syscall.SizeofInotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:206:18: error: reference to undefined identifier 'syscall.SizeofInotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:229:34: error: reference to undefined identifier 'syscall.SizeofInotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:231:21: error: reference to undefined identifier 'syscall.InotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:244:74: error: reference to undefined identifier 'syscall.SizeofInotifyEvent' ../go/src/github.com/hpcloud/tail/vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go:261:22: error: reference to undefined identifier 'syscall.SizeofInotifyEvent'

I have opened a related issue here