Skip to content
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

Compilation during make fails #22

Open
NavneelSinghal opened this issue Jul 28, 2021 · 2 comments
Open

Compilation during make fails #22

NavneelSinghal opened this issue Jul 28, 2021 · 2 comments

Comments

@NavneelSinghal
Copy link

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Other (Please describe in detail)

Current Behavior

Running make leads to a compilation error (due to multiple definitions of the variable input_position).

Expected Behavior

Compilation should complete without errors.

Resolution of the bug

Just commenting out the line int input_position; (or making the variable extern) in the file unlock_indicator.c works. Putting this bugfix out there so that people can resolve this error on their own.

Reproduction Instructions

Identical to the installation instructions on a fresh clone of the repo.

Environment

Output of i3lock --version:

i3lock: version be2a08a (2019-10-05, branch "master") © 2010 Michael Stapelberg
@shgninc
Copy link

shgninc commented Sep 4, 2021

Resolution of the bug

Just commenting out the line int input_position; (or making the variable extern) in the file unlock_indicator.c works. Putting this bugfix out there so that people can resolve this error on their own.

I have the same problem, after i upgrade debian 10 to 11.

Thanks to @NavneelSinghal, This answer work for me.

@matteodiga
Copy link

Same problem, same solution! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants