Skip to content

Instantly share code, notes, and snippets.

@geeksha
Created April 29, 2020 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geeksha/be22ed493ea863c238c82977da6ea320 to your computer and use it in GitHub Desktop.
Save geeksha/be22ed493ea863c238c82977da6ea320 to your computer and use it in GitHub Desktop.
Log make janus-rtpforward-plugin-master
geeksha@debianbk:~/janus-rtpforward-plugin-master$ sudo make
/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"janus-rtpforward-plugin\" -DPACKAGE_TARNAME=\"janus-rtpforward-plugin\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"janus-rtpforward-plugin\ 1.0\" -DPACKAGE_BUGREPORT=\"office@michaelfranzl.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"janus-rtpforward-plugin\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/opt/janus/include/janus -MT janus_rtpforward.lo -MD -MP -MF .deps/janus_rtpforward.Tpo -c -o janus_rtpforward.lo janus_rtpforward.c
libtool: compile: gcc -DPACKAGE_NAME=\"janus-rtpforward-plugin\" -DPACKAGE_TARNAME=\"janus-rtpforward-plugin\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"janus-rtpforward-plugin 1.0\"" -DPACKAGE_BUGREPORT=\"office@michaelfranzl.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"janus-rtpforward-plugin\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/opt/janus/include/janus -MT janus_rtpforward.lo -MD -MP -MF .deps/janus_rtpforward.Tpo -c janus_rtpforward.c -fPIC -DPIC -o .libs/janus_rtpforward.o
In file included from janus_rtpforward.c:13:
janus_rtpforward.c:75:19: warning: initialization of ‘void (*)(janus_plugin_session *, janus_plugin_rtp *)’ {aka ‘void (*)(struct janus_plugin_session *, struct janus_plugin_rtp *)’} from incompatible pointer type ‘void (*)(janus_plugin_session *, int, char *, int)’ {aka ‘void (*)(struct janus_plugin_session *, int, char *, int)’} [-Wincompatible-pointer-types]
75 | .incoming_rtp = rtpforward_incoming_rtp,
| ^~~~~~~~~~~~~~~~~~~~~~~
/opt/janus/include/janus/plugins/plugin.h:212:6: note: in definition of macro ‘JANUS_PLUGIN_INIT’
212 | ## __VA_ARGS__ }
| ^~~~~~~~~~~
janus_rtpforward.c:75:19: note: (near initialization for ‘rtpforward_plugin.incoming_rtp’)
75 | .incoming_rtp = rtpforward_incoming_rtp,
| ^~~~~~~~~~~~~~~~~~~~~~~
/opt/janus/include/janus/plugins/plugin.h:212:6: note: in definition of macro ‘JANUS_PLUGIN_INIT’
212 | ## __VA_ARGS__ }
| ^~~~~~~~~~~
janus_rtpforward.c:76:20: warning: initialization of ‘void (*)(janus_plugin_session *, janus_plugin_rtcp *)’ {aka ‘void (*)(struct janus_plugin_session *, struct janus_plugin_rtcp *)’} from incompatible pointer type ‘void (*)(janus_plugin_session *, int, char *, int)’ {aka ‘void (*)(struct janus_plugin_session *, int, char *, int)’} [-Wincompatible-pointer-types]
76 | .incoming_rtcp = rtpforward_incoming_rtcp,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/opt/janus/include/janus/plugins/plugin.h:212:6: note: in definition of macro ‘JANUS_PLUGIN_INIT’
212 | ## __VA_ARGS__ }
| ^~~~~~~~~~~
janus_rtpforward.c:76:20: note: (near initialization for ‘rtpforward_plugin.incoming_rtcp’)
76 | .incoming_rtcp = rtpforward_incoming_rtcp,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/opt/janus/include/janus/plugins/plugin.h:212:6: note: in definition of macro ‘JANUS_PLUGIN_INIT’
212 | ## __VA_ARGS__ }
| ^~~~~~~~~~~
janus_rtpforward.c:77:20: warning: initialization of ‘void (*)(janus_plugin_session *, janus_plugin_data *)’ {aka ‘void (*)(struct janus_plugin_session *, struct janus_plugin_data *)’} from incompatible pointer type ‘void (*)(janus_plugin_session *, char *, int)’ {aka ‘void (*)(struct janus_plugin_session *, char *, int)’} [-Wincompatible-pointer-types]
77 | .incoming_data = rtpforward_incoming_data,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/opt/janus/include/janus/plugins/plugin.h:212:6: note: in definition of macro ‘JANUS_PLUGIN_INIT’
212 | ## __VA_ARGS__ }
| ^~~~~~~~~~~
janus_rtpforward.c:77:20: note: (near initialization for ‘rtpforward_plugin.incoming_data’)
77 | .incoming_data = rtpforward_incoming_data,
| ^~~~~~~~~~~~~~~~~~~~~~~~
/opt/janus/include/janus/plugins/plugin.h:212:6: note: in definition of macro ‘JANUS_PLUGIN_INIT’
212 | ## __VA_ARGS__ }
| ^~~~~~~~~~~
janus_rtpforward.c: In function ‘rtpforward_handle_message’:
janus_rtpforward.c:563:41: warning: passing argument 2 of ‘gateway->relay_rtcp’ makes pointer from integer without a cast [-Wint-conversion]
563 | gateway->relay_rtcp(session->handle, 1, buf, 12);
| ^
| |
| int
janus_rtpforward.c:563:41: note: expected ‘janus_plugin_rtcp *’ {aka ‘struct janus_plugin_rtcp *’} but argument is of type ‘int’
janus_rtpforward.c:563:4: error: too many arguments to function ‘gateway->relay_rtcp’
563 | gateway->relay_rtcp(session->handle, 1, buf, 12);
| ^~~~~~~
janus_rtpforward.c:571:41: warning: passing argument 2 of ‘gateway->relay_rtcp’ makes pointer from integer without a cast [-Wint-conversion]
571 | gateway->relay_rtcp(session->handle, 1, buf, 20);
| ^
| |
| int
janus_rtpforward.c:571:41: note: expected ‘janus_plugin_rtcp *’ {aka ‘struct janus_plugin_rtcp *’} but argument is of type ‘int’
janus_rtpforward.c:571:4: error: too many arguments to function ‘gateway->relay_rtcp’
571 | gateway->relay_rtcp(session->handle, 1, buf, 20);
| ^~~~~~~
janus_rtpforward.c:581:42: warning: passing argument 2 of ‘gateway->relay_rtcp’ makes pointer from integer without a cast [-Wint-conversion]
581 | gateway->relay_rtcp(session->handle, 1, buf, remblen);
| ^
| |
| int
janus_rtpforward.c:581:42: note: expected ‘janus_plugin_rtcp *’ {aka ‘struct janus_plugin_rtcp *’} but argument is of type ‘int’
janus_rtpforward.c:581:5: error: too many arguments to function ‘gateway->relay_rtcp’
581 | gateway->relay_rtcp(session->handle, 1, buf, remblen);
| ^~~~~~~
make: *** [Makefile:454: janus_rtpforward.lo] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment