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

Doesn't seem to work on ARM systems #43

Closed
eduardocasas opened this issue Oct 29, 2014 · 3 comments
Closed

Doesn't seem to work on ARM systems #43

eduardocasas opened this issue Oct 29, 2014 · 3 comments

Comments

@eduardocasas
Copy link

I've tried to run it on an ARM device (raspberry) but it doesn't seem to work.

I've managed to install it after patching the Makefile file but then I can't log in. If i just type $ lpass I don't get any response.

It runs perfect on Debian based systems with x86 architecture.

@bcopeland
Copy link
Contributor

1 - Can you post your Makefile change?
2 - Make sure you build with latest tree, yesterday I pushed a fix which affected builds on arm.

@eduardocasas
Copy link
Author

Great. I've updated the repo and now it works perfectly.

I've had to patch the Makefile file again, though. I've just had to change this line as follows:

CFLAGS ?= -O3 -march=armv6zk -fomit-frame-pointer -pipe

Otherwise, I get this error when trying to compile:

Assembler messages:
Error: unknown architecture `native'
Error: unrecognized option -march=native
cc1: error: bad value (native) for -march switch
cc1: warning: unrecognized command line option "-Wno-language-extension-token" [enabled by default]
: recipe for target 'lpass.o' failed

@bcopeland
Copy link
Contributor

Ah, ok. Yeah we probably won't handle this type of thing well until we autotool-ize to determine necessary compiler flags. Although you should be able to do something like make CFLAGS="whatever" without changing the makefile proper.

Good to know the patch fixed the issue, I'll close this then.

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

2 participants