JamesP6000 / WsprryPi

Raspberry Pi WSPR transmitter using NTP based frequency calibration
Other
326 stars 66 forks source link

Raspberry 3B+ Raspbian Buster -> Compiler Error: undefined reference to 'makedev' #29

Open hubertmeier opened 5 years ago

hubertmeier commented 5 years ago

Hi,

today i installed the brand new raspbian buster and i could not install WsprryPi becaus e make ends with the error message: undefined reference to 'makedev'

Thank you

berrak commented 5 years ago

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 cc -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:~/GIT/WsprryPi $ sudo make install install -m 0755 wspr /usr/local/bin install -m 0755 gpioclk /usr/local/bin

gibmat commented 4 years ago

It's a pretty easy fix, just missing a header. I've got a commit in my fork: https://github.com/gibmat/WsprryPi/commit/bd8545954b9c43e704fe8178d93e98a5fef6b881

hubertmeier commented 4 years ago

Yeah, it works!

Thank you very much -- Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.Am 21.07.19, 03:40, Mathias Gibbens notifications@github.com schrieb: It's a pretty easy fix, just missing a header. I've got a commit in my fork: gibmat@bd85459

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/JamesP6000/WsprryPi/issues/29?email_source=notifications\u0026email_token=AE52SVLJJX3B3D2VVBLJLALQAO5BRA5CNFSM4H3A22IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2NZDSY#issuecomment-513511883", "url": "https://github.com/JamesP6000/WsprryPi/issues/29?email_source=notifications\u0026email_token=AE52SVLJJX3B3D2VVBLJLALQAO5BRA5CNFSM4H3A22IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2NZDSY#issuecomment-513511883", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

boxsection commented 4 years ago

Works for me also. Just recompiled with gibmat's fork using buster on Pi 4.

ghost commented 4 years ago

Hello, I have the same problem to install wsprryPi on Pi Zero W and raspbian buster. Will it run when I do a new installation of an old jessie release?

cirrussecure commented 4 years ago

Many thanks Mathais (gibmat).

I successfully applied your diff (https://github.com/gibmat/WsprryPi/commit/bd85459) and built wsprry!

cat /sys/firmware/devicetree/base/model -> 'Raspberry Pi 3 Model B Rev 1.2' cat /etc/os-release -> 'PRETTY_NAME="Raspbian GNU/Linux 10 (buster) ...'

Best, Tom KE2KQ

Bruiserhq commented 4 years ago

Thanks @gibmat ! This worked!

gibmat commented 3 years ago

Seeing as @JamesP6000 hasn't had any activity in this repo in almost four years, I'd consider it dead. It does look like @threeme3's repo (from which this one was originally forked) is a bit more active -- for one thing, a commit mentions support for the RPi4. There's also the explosion of forks, although I doubt many of them contain improvements.