linphone git: unescaped single quote left around?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

linphone git: unescaped single quote left around?

balducci
hello

just tried to build linphone from git together with the following deps
at the following commits:

antlr                  127930409b59f5b0341de1141f5a0482a3a6aa68
bcg729                 3f201ff2471c9764f11b15d1f99ba8aeb1a38094
bctoolbox              bded30c20784ed7df222ca000a786cbd5cb66e41
bcunit                 3c720fbf67dd3c02b0c7011ed4036982b2c93532
belcard                45b0a20f1b251d7c19b5a26f69d3dffc1babac0c
belle-sip              9e6e03d150a0ebaa03fc3ce6045f6bb5cbd5e1e9
belr                   baf137ed00f04a4f6ea3377a5e1f8660def81722
bzrtp                  947d7088d371c04e8de87346db10fc58cb2f6f35
libxsd                 5759c15081384973e30f20129bef13e71343ab0c
lime                   fbdc8e6f0b8bbca3d6b02641e9793925d89e4f49
linphone               6a3d4ded357a7748a504220b3d5c5ab97b36a999
mediastreamer          8d4a558cae3faf8f00f5cb9a15384a607b5c322d
ortp                   079d9f1f3cd916ff801807cefb43b8d53d9df8bf
soci                   16a0e989803e42fb673ee786be60b2be9281d261
xerces-c               b9797246b4bef0181651d5372893622ea8abf570

and getting the following error:

    ----8<----
    cd /home/balducci/tmp/install-us-d/linphone-14394.1.d/linphone-14395/linphone/wrappers/cpp && /usr/bin/g++  -m64  -DBCTBX_STATIC -DBELCARD_STATIC -DBELLESIP_STATIC -DBELR_STATIC -DBZRTP_STATIC -DHAVE_CONFIG_H -DLINPHONECXX_EXPORTS -DLINPHONE_STATIC -DMS2_STATIC -DORTP_STATIC -DVCARD_ENABLED -DVIDEO_ENABLED -Dlinphone___EXPORTS -I/home/balducci/tmp/install-us-d/linphone-14394.1.d/linphone-14395/linphone/coreapi -I/home/balducci/tmp/install-us-d/linphone-14394.1.d/linphone-14395/linphone/include -I/home/balducci/tmp/install-us-d/linphone-14394.1.d/linphone-14395/linphone/src -I/home/balducci/tmp/install-us-d/linphone-14394.1.d/linphone-14395/linphone -I/home/balducci/tmp/install-us-d/linphone-14394.1.d/linphone-14395/linphone/wrappers/cpp/include -I/home/balducci/tmp/install-us-d/linphone-14394.1.d/linphone-14395/linphone/wrappers/cpp -isystem /opt/stow.d/versions/linphone-14395/usr/local/linphone-deps/include/belle-sip  -I/opt/stow.d/versions/linphone-14395/usr/local/linphone-deps/include  -I/usr/local/linphone-deps/include -O3 -DNDEBUG -fPIC   -std=c++11 -o CMakeFiles/linphone++.dir/src/linphone++.cc.o -c /home/balducci/tmp/install-us-d/linphone-14394.1.d/linphone-14395/linphone/wrappers/cpp/src/linphone++.cc
    g++: error: /home/balducci/tmp/install-us-d/linphone-14394.1.d/linphone-14395/linphone/wrappers/cpp/src/linphone++.cc: No such file or directory
    g++: fatal error: no input files
    compilation terminated.
    make[3]: *** [wrappers/cpp/CMakeFiles/linphone++.dir/build.make:110: wrappers/cpp/CMakeFiles/linphone++.dir/src/linphone++.cc.o] Error 1
    make[3]: Leaving directory '/home/balducci/tmp/install-us-d/linphone-14394.1.d/linphone-14395/linphone-14395'
    ---->8----

  According to a comment in c-types.h, looks like the error might be
  caused by some unescaped single quote left around in a macro
  definition, but I don't seem to be able to find where the left
  around single quote actually is...

  I can add, if that matters, that I'm on linux and building with gcc;
  also, I'm maintaing linphone from git since quite a bit and didn't
  experience any problem before.

  thank you very much in advance for any help

ciao
gabriele

_______________________________________________
Linphone-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-users
Reply | Threaded
Open this post in threaded view
|

Re: linphone git: unescaped single quote left around?

balducci
> just tried to build linphone from git together with the following deps
> at the following commits:
> [...]
> and getting the following error:
>
>     ----8<----
>     g++: error: /home/balducci/tmp/install-us-d/linphone-14394.1.d/linphon=
> e-14395/linphone/wrappers/cpp/src/linphone++.cc: No such file or directory
>     g++: fatal error: no input files
>     compilation terminated.
>     make[3]: *** [wrappers/cpp/CMakeFiles/linphone++.dir/build.make:110: w=
> rappers/cpp/CMakeFiles/linphone++.dir/src/linphone++.cc.o] Error 1
>     make[3]: Leaving directory '/home/balducci/tmp/install-us-d/linphone-1=
> 4394.1.d/linphone-14395/linphone-14395'
>     ---->8----

just for the record.

I eventually find some spare time to dig into the problem and
seemingly clarified things.

The actual error was few lines before the one I reported in my
previous email and the error message was:

    ----8<----
        CRITICAL[root]: error while parsing linphone_participant_imdn_state_get_state() function: Unknown C type 'LinphoneChatMessageState'
    ---->8----

I had been fooled by the comment in c-types.h, which pointed me in the
wrong direction.

It turned out that the "culprit" was doxygen-1.8.17 (which I upgraded
recently). For some reason, the xml files generated by doxygen-1.8.17
in .../coreapi/help/doc/doxygen/xml aren't processed correctly by
genwrapper.py. Using doxygen < 1.8.17 fixes things:

    build the xml files with:  genwrapper.py run is:
    ------------------------------------------------
    doxygen-1.8.8              GOOD
    doxygen-1.8.14             GOOD
    doxygen-1.8.15             GOOD
    doxygen-1.8.17             BAD

I didn't pursued the exact reason (doxygen configuration file (labeled
1.8.11) needs update?, doxygen-1.8.17 bug?,...)

ciao
gabriele

_______________________________________________
Linphone-users mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/linphone-users