net/liblinphone fails to biuld on 14.0-CURRENT 1400079
- Reply: Moin Rahman : "Re: net/liblinphone fails to biuld on 14.0-CURRENT 1400079"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Feb 2023 07:08:48 UTC
Hi, I get the following error when poudriere building net/liblinphone on 14.0-CURRENT 1400079:q /wrkdirs/usr/ports/net/liblinphone/work/liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e/console/linphonec.c:968:21: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] linphonec_idle_call () ^ void /wrkdirs/usr/ports/net/liblinphone/work/liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e/console/linphonec.c:978:3: warning: 'linphone_core_accept_call' is deprecated [-Wdeprecated-declarations] linphone_core_accept_call(opm, linphone_core_get_current_call(opm)); ^ /wrkdirs/usr/ports/net/liblinphone/work/liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e/include/linphone/core.h:6474:17: note: 'linphone_core_accept_call' has been explicitly marked deprecated here LINPHONE_PUBLIC LINPHONE_DEPRECATED LinphoneStatus linphone_core_accept_call(LinphoneCore *core, LinphoneCall *call); ^ /wrkdirs/usr/ports/net/liblinphone/work/liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e/include/linphone/defs.h:48:29: note: expanded from macro 'LINPHONE_DEPRECATED' #define LINPHONE_DEPRECATED MS2_DEPRECATED ^ /usr/local/include/mediastreamer2/mscommon.h:47:40: note: expanded from macro 'MS2_DEPRECATED' #define MS2_DEPRECATED __attribute__ ((deprecated)) ^ /wrkdirs/usr/ports/net/liblinphone/work/liblinphone-c5d52f725840bceca36874f480d86bdbb91f5b7e/console/linphonec.c:1277:28: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] handle_configfile_migration() ^ void 12 warnings and 2 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/net/liblinphone Is this known? Thank you. -- José Pérez