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

Problem compiling mysgw on rpi3 #980

Closed
tchoblond59 opened this issue Nov 9, 2017 · 5 comments
Closed

Problem compiling mysgw on rpi3 #980

tchoblond59 opened this issue Nov 9, 2017 · 5 comments

Comments

@tchoblond59
Copy link

Hi !

Seems like the same issue in #955
When i try to compile from development branch i get this error
drivers/BCM/bcm2835.c: In function ‘bcm2835_delayMicroseconds’: drivers/BCM/bcm2835.c:441:40: error: expected ‘)’ before ‘PRIu64’ printf("bcm2835_delayMicroseconds %" PRIu64 "\n", micros);

I am running a fresh raspbian 9.1. I also try ./configure --extra-cxxflags="-DMY_DEBUG -D__STDC_FORMAT_MACROS"

gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1)

Am i missing something ?

Thanks

@res1mp7q
Copy link

res1mp7q commented Nov 9, 2017

Same issue here running dev version
error: expected ‘)’ before ‘PRIu64’
printf("bcm2835_delayMicroseconds %" PRIu64 "\n", micros);

@mfalkvidd
Copy link
Member

mfalkvidd commented Nov 9, 2017

@res1mp7q are you using the same gcc and rasbian versions as @tchoblond59 ? Did you use the exact same configure command?

@MissionWebUK
Copy link

MissionWebUK commented Nov 10, 2017

I'm running on a rpi3 model B fresh install of raspbian stretch lite: 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux

Master branch had issues communicating with the nrf24 so I moved to dev branch. Same error as above but I didn't run the configure command that tchoblond59 ran, just the standard ethernet config

Edit: Release branch fails with the same

mfalkvidd added a commit to mfalkvidd/MySensors that referenced this issue Nov 10, 2017
This makes it possible to compile the Raspberry Pi gateway on
Raspbian 9 (stretch), even without adding
--extra-cxxflags="-D__STDC_FORMAT_MACROS"
(as was suggested in
mysensors#980 but was
insufficient for remediating this problem)

The compile problem was inadvertently introduced in
2d5404d
mfalkvidd added a commit to mfalkvidd/MySensors that referenced this issue Nov 10, 2017
This makes it possible to compile the Raspberry Pi gateway on
Raspbian 9 (stretch), even without adding
--extra-cxxflags="-D__STDC_FORMAT_MACROS"
(as was suggested in
mysensors#955 but was
insufficient for remediating this problem)

The compile problem was inadvertently introduced in
2d5404d.

This change fixes the problem discussed in
mysensors#980
mfalkvidd added a commit to mfalkvidd/MySensors that referenced this issue Nov 10, 2017
This makes it possible to compile the Raspberry Pi gateway on
Raspbian 9 (stretch), even without adding
--extra-cxxflags="-D__STDC_FORMAT_MACROS"
(as was suggested in
mysensors#955 but was
insufficient for remediating this problem)

The compile problem was inadvertently introduced in
2d5404d.

This change fixes the problem discussed in
mysensors#980
fallberg pushed a commit that referenced this issue Nov 17, 2017
This makes it possible to compile the Raspberry Pi gateway on
Raspbian 9 (stretch), even without adding
--extra-cxxflags="-D__STDC_FORMAT_MACROS"
(as was suggested in
#955 but was
insufficient for remediating this problem)

The compile problem was inadvertently introduced in
2d5404d.

This change fixes the problem discussed in
#980
@mfalkvidd
Copy link
Member

Fix merged to development, will be included in upcoming 2.2.0 release

pgollor pushed a commit to pgollor/MySensors that referenced this issue Dec 3, 2017
This makes it possible to compile the Raspberry Pi gateway on
Raspbian 9 (stretch), even without adding
--extra-cxxflags="-D__STDC_FORMAT_MACROS"
(as was suggested in
mysensors#955 but was
insufficient for remediating this problem)

The compile problem was inadvertently introduced in
2d5404d.

This change fixes the problem discussed in
mysensors#980
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

4 participants