meetecho / janus-gateway

Janus WebRTC Server
https://janus.conf.meetecho.com
GNU General Public License v3.0
8.17k stars 2.47k forks source link

pb with compilation utils.h #1632

Closed trankkilou closed 5 years ago

trankkilou commented 5 years ago

Hi,

I have issue compiling janus last available master version All deps are presents (it is not the first time I compile janus)

janus claims not finding utils.h

events/eventhandler.h:233:2: error: unknown type name 'janus_flags' janus_flags events_mask;

I check where typedef or #define which define type 'janus_flags'.... but it is missing !!!

root@inwebrtc1n:/opt/janus-gateway# grep -RIw janus_flags . ./events.c:void janus_events_edit_events_mask(const char list, janus_flags target) { ./events.c: janus_flags mask; ./events.c: memcpy(target, &mask, sizeof(janus_flags)); ./events.h:void janus_events_edit_events_mask(const char list, janus_flags target); ./ice.h: janus_flags webrtc_flags; ./events/eventhandler.h: /! \brief Mask of events this handler is interested in, as a janus_flags object / ./events/eventhandler.h: janus_flags events_mask;

trankkilou commented 5 years ago

i remove the plugin which needs it and I have the same issue with another file make[2]: Entering directory `/opt/janus-gateway' CC plugins/plugins_libjanus_echotest_la-janus_echotest.lo In file included from plugins/janus_echotest.c:107:0: plugins/plugin.h:160:22: fatal error: refcount.h: No such file or directory

include "refcount.h"

lminiero commented 5 years ago

No idea what you're doing wrong, sorry... definitely works fine here. Have you tried with a clean setup?

trankkilou commented 5 years ago

It is a clean setup. Fresh install, can’t be more « fresh"

Le 22 mai 2019 à 17:21, Lorenzo Miniero notifications@github.com a écrit :

No idea what you're doing wrong, sorry... definitely works fine here. Have you tried with a clean setup?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/meetecho/janus-gateway/issues/1632?email_source=notifications&email_token=AEIJGYDK2Z4IFPARDBU7W2LPWVQJDA5CNFSM4HOVMARKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV7NANQ#issuecomment-494850102, or mute the thread https://github.com/notifications/unsubscribe-auth/AEIJGYE7U2RPOV5GBX3FVVLPWVQJDANCNFSM4HOVMARA.

trankkilou commented 5 years ago

I have delete the folder and did a git clone again -> issue solved. Dunno what happen first time

lminiero commented 5 years ago

Good to know it's solved :+1: