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

FAIL - Ubuntu 16.04.3 #56

Closed
shamun opened this issue Feb 22, 2018 · 0 comments
Closed

FAIL - Ubuntu 16.04.3 #56

shamun opened this issue Feb 22, 2018 · 0 comments

Comments

@shamun
Copy link

shamun commented Feb 22, 2018

Installation fail on Ubuntu 16.04.3. How to fix?

root@ubuntu-s-1vcpu-1gb-ams2-01:~# apt-get install libopal-dev
root@ubuntu-s-1vcpu-1gb-ams2-01:~/sipcmd# 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 /usr/include/opal/h323/h323.h:39:0,
                 from src/includes.h:25,
                 from src/main.h:24,
                 from src/main.cpp:24:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
       unsigned int options = NULL,      ///<  options to pass to conneciton
                              ^
src/main.cpp: In member function 'bool Manager::SendDTMF(const PString&)':
src/main.cpp:446:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (; i < dtmf.GetSize() - 1; i++) {
                  ^
src/main.cpp:459:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         ok = (i == dtmf.GetSize() - 1 ? true : false);
                 ^
g++ -c -Wall  src/commands.cpp -o src/commands.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
                 from src/includes.h:25,
                 from src/main.h:24,
                 from src/state.h:25,
                 from src/commands.cpp:29:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
       unsigned int options = NULL,      ///<  options to pass to conneciton
                              ^
src/commands.cpp: In member function 'virtual bool Wait::ParseCommand(const char**, std::vector<Command*>&)':
src/commands.cpp:439:30: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
   sscanf(*cmds, "%u", &millis);
                              ^
g++ -c -Wall  src/channels.cpp -o src/channels.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
                 from src/includes.h:25,
                 from src/channels.h:25,
                 from src/channels.cpp:27:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
       unsigned int options = NULL,      ///<  options to pass to conneciton
                              ^
g++ src/main.o src/commands.o src/channels.o -o sipcmd -lopal -lpt 
@shamun shamun closed this as completed Feb 22, 2018
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

1 participant