-
Notifications
You must be signed in to change notification settings - Fork 217
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
Build errors for dynamic module on Ubuntu 20.04 on Raspeberry Pi 4 ARM. #164
Comments
Document's a little bit confused. You need to build dependencies first.
after that, you will have Then continue to compile statically or dynamically based on your need Static
Dynamic load
|
I'm getting compile errors. Looks like -m64 is an invalid option. Any advice?
Okay, I tried now with the -march=armv8-a option, and deleted the -m64 options since I believe cmake automatically includes the -my 64 option since I'm running an arm64 OS. Here is the output, which still gives a warning:
Looks like the command works, but should I be worried about this warning? Do I need the manually specified variables? What can I do here? NEXT: I tried with the following command:
This shows two errors/warnings:
NEXT I tried the following command (notice I changed -mtune to -mtune=armv8-a):
Which DID NOT show EMSCRIPTION errors, but DID show "Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS". NEXT, I tried the same command again, to yield different results:
NEXT I MADE changes to -mtune (-mtune=cortex-a72) and tried the following command:
THEN, I tried the exact same command a second time which yielded different results:
As you can see, running the cmake command twice with the I must ask:
Finally:
Thanks! |
Any word from the dev's on if I am doing this correctly or not? Let me know. |
I'm not qualified to answer your question. However, I encountered the exact same issue with Nginx 1.26.0 running on Ubuntu 20.04 with an ARM processor (Ampere). Following your route, I decided to compile Brotli with fewer flags as specified in the official repo README. After doing so, I was able to successfully compile Nginx with dynamic modules. I tested the setup, and everything worked just fine, so I called it a day. I guess/hope that if you're compiling for the same architecture and OS, the compiler is smart enough to come up with a decent configuration on its own. |
I am trying to build the Brotli modules on Ubuntu 20.04 on a Raspberry Pi 4. I tried building with the master and the RC1, but em encountering the same errors. Below is the error I am encountering:
What can I do to make this work on a raspberry pi 4 running ubuntu 20.04 server?
The text was updated successfully, but these errors were encountered: