Package Details: belle-sip 5.3.5-1

Git Clone URL: https://aur.archlinux.org/belle-sip.git (read-only, click to copy)
Package Base: belle-sip
Description: A Voice-over-IP phone
Upstream URL: https://github.com/BelledonneCommunications/belle-sip/
Licenses: GPL3
Submitter: Barthalion
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 12
Popularity: 0.000000
First Submitted: 2018-01-07 17:31 (UTC)
Last Updated: 2024-01-02 19:40 (UTC)

Latest Comments

« First ‹ Previous 1 2

dreieck commented on 2019-01-16 13:53 (UTC)

Update:

If some antlr3 is installed on the system, the build system seems to use that and produces errorneous files leading to the error reported in my comment below:

/usr/bin/antlr3  -make -Xmultithreaded -Xconversiontimeout 10000 -fo  . ./belle_sip_message.g

If I remove my system-wide antlr3-installation (it was version 3.1.2, intentionally), an antlr3 from within the belle-sip-sources is used, and the error does not appear:

/sbin/java -Xmx512m -jar /tmp/yaourt-tmp-felics/aur-belle-sip/src/antlr.jar  -make -Xmultithreaded -Xconversiontimeout 10000 -fo  . ./belle_sip_message.g

--> Can build() be modified such that always the antlr.jar included in the sources of belle-sip is used, and never some antlr3 found on the system?

dreieck commented on 2019-01-16 13:52 (UTC)

Fails to build for me:

[...]
  CC       libbellesip_generated_la-belle_sip_messageParser.lo
In file included from belle_sip_messageParser.c:79:
belle_sip_messageParser.h:3451:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
     const char * (*getGrammarFileName)();
     ^~~~~
belle_sip_messageParser.c: In function ‘pbelle_sip_messageParser_messagePop’:
belle_sip_messageParser.c:5460:27: warning: comparison of distinct pointer types lacks a cast
     if (SCOPE_TOP(message)>free != NULL)
                           ^
belle_sip_messageParser.c:5460:33: warning: comparison between pointer and integer
     if (SCOPE_TOP(message)>free != NULL)
                                 ^~
belle_sip_messageParser.c:5462:28: error: expected expression before ‘->’ token
         SCOPE_TOP(message)>->free(SCOPE_TOP(message));
                            ^~

-> The >-> between SCOPE_TOP(message) and free(SCOPE_TOP(message)) seems to be an error/ typo.