superhacker777 / hikka

IP camera bruteforcer
157 stars 64 forks source link

Make error #6

Closed bcskda closed 8 years ago

bcskda commented 8 years ago

При вызове make:

src/hikka.go:108:30: error: argument 3 has incompatible type (_C.NET_DVR_JPEGPARA)(unsafe.Pointer(&imgParams)), ^ src/hikka.go:200:31: error: argument 5 has incompatible type (_C.NET_DVR_DEVICEINFO)(unsafe.Pointer(&device)), ^ make: *\ [linux] Ошибка 2

superhacker777 commented 8 years ago

Какой дистрибутив, какая версия Go, какая версия GCC?

$ uname -a $ go version $ gcc --version

bcskda commented 8 years ago

Linux 3.16.0-71m, Ubuntu 14.04 go version xgcc (Ubuntu 4.9.3-0ubuntu4) 4.9.3 linux/amd64 gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

superhacker777 commented 8 years ago

@bcskda удали gccgo (# apt-get remove gccgo) и установи нормальный Go 1.6, как здесь расписано: https://www.digitalocean.com/community/tutorials/how-to-install-go-1-6-on-ubuntu-14-04

Должно завестись.

bcskda commented 8 years ago

Да, спасибо, завелось