-
-
Notifications
You must be signed in to change notification settings - Fork 517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arm64 build failed #302
Comments
Hi @zalexdev, thanks for opening this issue. It seems like an issue with the curl dependency. A similar issue has been reported here. I'm not sure why it would happen on the ARM architecture all of a sudden since it used to work fine, and unfortunately I cannot reproduce this issue since none of my machines run ARM archs. |
Don't know how it works, but if i build in arm64 device with just go install or go build -o cameradar, it works fine |
For reproducing this issue you don't need for arm64 device, just run command in any machine with go installed from my first message |
for me on android arm64 (philips s318 android 7) and aarch64 (xiaomi mi 10 android 10) everything works fine |
I have also build issue with AMD and ARM arch
|
@samibourouis Hi! Did you try using the |
Hi again)
Can`t compile now for arm64. For amd64 everything ok, but if i try:
env GOOS=android GOARCH=arm64 go build -o radar2
Getting this:
github.com/Ullaakut/cameradar/v5
../../attack.go:202:15: undefined: curl.OPT_URL
../../attack.go:204:15: undefined: curl.OPT_RTSP_STREAM_URI
../../attack.go:205:15: undefined: curl.OPT_RTSP_REQUEST
../../attack.go:214:29: undefined: curl.INFO_HTTPAUTH_AVAIL
../../attack.go:242:15: undefined: curl.OPT_HTTPAUTH
../../attack.go:243:15: undefined: curl.OPT_USERPWD
../../attack.go:246:15: undefined: curl.OPT_URL
../../attack.go:248:15: undefined: curl.OPT_RTSP_STREAM_URI
../../curl.go:12:15: undefined: curl.CurlInfo
../../curl.go:19:2: undefined: curl.CURL
../../attack.go:248:15: too many errors
Any solutions?
The text was updated successfully, but these errors were encountered: