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

Cannot Compile under Release = Raspbian GNU/Linux 10 (buster) #66

Open
krysly opened this issue Oct 31, 2019 · 5 comments
Open

Cannot Compile under Release = Raspbian GNU/Linux 10 (buster) #66

krysly opened this issue Oct 31, 2019 · 5 comments

Comments

@krysly
Copy link

krysly commented Oct 31, 2019

It is possible to use it with the following Raspbian Version?

   Release = Raspbian GNU/Linux 10 (buster)
    ##    Kernel = Linux 4.19.57-v7l+

I get the following errors:

[15:18:39] openhabian@openhab:/opt/sipcmd$ sudo apt-get install libpt-dev libopal-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libopal-dev
[15:20:16] openhabian@openhab:/opt/sipcmd$

[15:20:32] openhabian@openhab:/opt/sipcmd$ sudo make
g++ -c -Wall src/main.cpp -o src/main.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/
In file included from src/main.h:24,
from src/main.cpp:24:
src/includes.h:23:10: fatal error: ptlib.h: No such file or directory
#include <ptlib.h>
^~~~~~~~~
compilation terminated.
make: *** [Makefile:18: src/main.o] Error 1
[15:21:04] openhabian@openhab:/opt/sipcmd$

@plutonic1
Copy link

I was able to install the dependencies by adding the following line to my /etc/apt/sources.list:
deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi

Dont't forget sudo apt-get update afterwards.

@tobiasr2000
Copy link

Oh dear on Raspberry 2B+ everything was fine, now on Raspberry 4 B with raspbina buster I can not compile simpcmd anymore.
The file sip.h is missing.
Here the error message:

[17:05:29] openhabian@openhab:~/sipcmd-master$ make
g++ -c -Wall src/main.cpp -o src/main.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from src/main.h:24,
from src/main.cpp:24:
src/includes.h:24:10: fatal error: sip/sip.h: No such file or directory
#include <sip/sip.h>
^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:18: src/main.o] Error 1

How do I add the header file sip.h?

Thanks in advance for any help!

@tobiasr2000
Copy link

With hint of plutonic1 the installation works.
Thank you very much for this hint.

After installation I have discovered same issue as already described in #61
#61

Any hints to solve this issue and get simcmd running?
Thanks in advance for any help!

@rleib
Copy link

rleib commented Apr 13, 2020

I have the same problem:
src/includes.h:24:10: fatal error: sip/sip.h: No such file or directory
#include <sip/sip.h>

Solution from plutonic1 does not help.
Any ideas?

Thanks, Robert!

@drexlma
Copy link
Contributor

drexlma commented Apr 18, 2020

use docker :)
buster is atm not supported

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

5 participants