-
Notifications
You must be signed in to change notification settings - Fork 66
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
I can confirm above problem with gcc version 8 on Buster (Raspberry Pi v1 B). #31
Comments
Try to use this version: |
I also was successful of running WsprryPi on an up to date version of Raspbian: https://github.com/lryindra/WsprryPi |
I'm having the same problem. @AdrianS-commits can you tell me what you mean my install latest released jessie image? 73 |
@theventurousco However, there is a step in the makefile that detects armv6. I am unable to provide assistance because I do not have the older hardware. |
I am having the same problem model B rev 2,
here's the failure message I have tried both the lyrinda and gw4nc Any ideas? Do I need an older version gcc to work with the this old wspr.cpp |
try -std=c11 or -std=gnu11 or -std=iso9899:2011 (no ++) |
thanks for responding I did notice in the makefile that they specifiy c++11 CXXFLAGS += -D_GLIBCXX_DEBUG -std=c++11 -Wall -Werror -fmax-errors=5 |
yes the c11 and iso specifications are the same, the gnu is c11 with gnu extention functionality, just try the command without ++ its worth a try, still wondering why c++11 doesnt work, think it depends on the g++ version idk, i normally use only gcc for my stuff. maybe someone else can help |
neither one of them worked. The response is basicaly the same Its like it is not able to find the compiler or the invocation is not valid. |
I wonder if it would be useful to try to build any kind of simple c code package that comes with the makefile etc just to see if the basic functions are working at all, never mind the wspr thing. It seems like something fundamental is wrong somewhere. I did install the latest raspbian ver 7. I'm not savvy enough to go back a version. its as if a path is not found or something like that. |
it is not an overall problem, I just remembered that I built pi_vfo, https://github.com/JennyList/LanguageSpy/tree/master/RaspberryPi/rf/freq_pi although it did not consist of a makefile. just simple gcc * |
hmm if it doesn't recognize this parameters at all, then indeed something is basically wrong. did you install g++ or only gcc? |
I don't know. Do you know how I can tell if its there? I do have an install from several years ago. I think I will go back to that one and see if I can get wspr to build. It could be that newer versions of the rpi package stopped including support for g++ or some dependency. |
the solution to the problem was to go with a newer OS, |
I can confirm above problem with gcc version 8 on Buster (Raspberry Pi v1 B).
gcc have had some major upgrades from Jessie (v. 4.9.2), Stretch (v. 6.3) to eight now in Buster thus I guess wspr-code is pretty much untouched for several years. My workaround was to install the latest released Jessie-image (2017-07-05) and make the binary this way. Compiles without any warnings/errors::
pi@wspr:
/GIT/WsprryPi $ make/GIT/WsprryPi $ sudo make installcc -Wall -c mailbox.c
g++ -D_GLIBCXX_DEBUG -std=c++11 -Wall -Werror -fmax-errors=5 -lm -DRPI1 mailbox.o wspr.cpp -owspr
g++ -D_GLIBCXX_DEBUG -std=c++11 -Wall -Werror -fmax-errors=5 -lm -DRPI1 gpioclk.cpp -ogpioclk
pi@wspr:
install -m 0755 wspr /usr/local/bin
install -m 0755 gpioclk /usr/local/bin
Originally posted by @berrak in #29 (comment)
HELP! I am new to programming. - I just want to be able to use my Raspberry Pi 3B+ for WSPR and it seems IMPOSSIBLE - Can you please explain your step here - so I know exactly what to do - in the command line - please explain clearly as I really don't understand how you were able to get the latest version of Raspbian to work. Many thanks!
The text was updated successfully, but these errors were encountered: