-
Notifications
You must be signed in to change notification settings - Fork 245
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
Fail to make flash on Arch Linux multiple definition #922
Comments
Adding |
I'll spin up an Arch Linux VM, to have a more modern toolchain. In the meantime, could one of you make a PR with the CFLAGS change? |
Wow @halfmanhalftaco that got it down to a one line fix. Wish I knew C like that! I dumped a PR but @halfmanhalftaco should get the credit. |
I had exactly the same problem on Ubuntu 22.04. Adding
After line 93 in I also had to install python2, as it's not installed by default anymore. |
I'm trying to update my MD380 I hadn't updated since 2017(03a05ff). Been working great! Thank you for that. I pulled to current (1453fe3) and installed the arm stuff. Possibly on a new laptop running Arch Linux. I know it isn't listed with build prep instructions but I installed the needed files:
Looks like this is python2 so it needs packages from aur for python2-pyusb
This installed:
I think there is a change in gcc as I'm seeing a bunch of multiple definition errors:
I managed to fix some of these by adding
extern uint8_t md380_menu
... to many of the errors however this doesn't fix kc_ in keyb.h. This yields undefined reference to errors which are a bit outside of my skill in Google and C. Full output is attached buildlog.txt and with my extern changes buildlog2.txt.I can happily open a PR with the changes I have for extern but that doesn't fix it. Any ideas what I need to do to get the variable defined in this "newer?" version of gcc?
edit: update python2 packages.
The text was updated successfully, but these errors were encountered: