-
Notifications
You must be signed in to change notification settings - Fork 75
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
Undefined reference issues when compiling gs code. #24
Comments
What platform are you compiling on? It looks like it's missing libpcap and pigpio. |
I only paste a few lines of the log.Actually all the libraries are undefined reference (even the pthread).The platform is rpi4 with the lastest 64 bit OS raspbian.I do know i need 32 bit OS ,however i tried rpi3 with 32 and 64 OS,rpi4 with 32 and 64 OS ,but all of them stucked in undefied reference.
I will install a new 32 bit OS raspbian today,repeat the steps and post the full logs and screenshots. |
I also add this path to Makefile but nothing changes: I can makesure all the downloads&installs&updates&upgrades are successful. So.....Any idea:)? |
Latest code of gs, RPI 3B+ with following image and apt-get upgrade, should be fine :)
|
That means i need RPI 3B+ and 32bit Raspbian buster ? I will have a try immediately. |
I mean it works for me :) The error is caused by Makefile, you have to modify the Makefile if there is some compatible issue. |
This new feature is worth to implement. Can you open a new issue, maybe a PR is well appreciated. |
Thank you for your warm support and trust.After i successfully compile the gs code,i will make a new issue foucus on move to IDF 5.0. |
Frankly speaking, currently, gs compiles ok, but it doesn't work properly #20 with air unit (IDF 4.3 or 4.4 latest or 4.3 beta) I have got gs compiled on RPI 3B+(minimum modification, which was merged into main stream), and I also have ubuntu x86 compiled. BUT both applicaiton on PI or x86 shows black screen(I'm afraid). Try to understand the rootcause of black screen first. |
Here comes the result .I successfully compiled the gs code in 32bit buster with rpi4. |
@lida2003 I heard that you have compiled code in ubuntu linux. What is your system version? I have been working on ubuntu 18.04 64bit and undefied reference happened. I would appreciate it If you could help me to find something in makefiles. |
Please use this patch, currently not accepted by @jeanlemotan , BUT it should work. Fix compatibility issue in Makefie on x86_64 ubuntu 20.04 Or you can just go to my repo and pull lida-dev branch .
|
When you are so smart and diligent in modifying your code, I am also looking for problems in the makefile and source code. In fact, the points we noticed are all the same (nice!). I will add several links below to help later people understand the reasons for these Makefiles changes: |
I have reviewed the code and make some comments. |
(all the libraries are undefined reference. I do install the libraries
sudo apt install libdrm-dev libgbm-dev libgles2-mesa-dev libpcap-dev libturbojpeg0-dev libts-dev libsdl2-dev
)wi-fi-80211-packet-send
If the above things really matter,i am very very glad to participate in fixing bugs and helping to make the features happen as long as anyone could help me to figure out which step i missed or wrong?
Now i am stucking at compiling gs code :)
The text was updated successfully, but these errors were encountered: