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 errors #1

Closed
Chips-fr opened this issue Sep 6, 2016 · 2 comments
Closed

Compilation errors #1

Chips-fr opened this issue Sep 6, 2016 · 2 comments

Comments

@Chips-fr
Copy link
Contributor

Chips-fr commented Sep 6, 2016

I tried your repo on raspbian and get many issue:
it doesn't compile due to RASPBERRY switch not pass into gcc command line (DEFS is not included into CFLAGS). Adding it to flags solve this.
Then it fault when starting. Removing USE_PROFILE=1 solve this.
Then i tried your rpi1 target (on a real rpi1) to try PICASSO96 and it doesn't success to start my A4000 HDD with RTG memory...
In which environment are you compiling ?

@midwan
Copy link
Collaborator

midwan commented Sep 6, 2016

Sorry, I just discovered that my Makefile need to be updated.
I have been cross compiling this lately, so I missed updating the Makefile with the relevant options.

I've been testing the binaries with stock Raspbian and DietPi, it worked normally in both environments.
I'll fix the Makefile and get back to you after I've tested it.

@midwan
Copy link
Collaborator

midwan commented Sep 6, 2016

Looks like I got all the flags correctly now. :)

I tested a build for rpi3 and rpi1, both produced a binary without problems.
Sorry for missing out on this.

@midwan midwan closed this as completed Sep 6, 2016
midwan added a commit that referenced this issue Sep 18, 2017
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