Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Help to compile Linphone 3.12

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
k547924
n00b
n00b
Posts: 27
Joined: Sun Feb 17, 2019 8:13 pm

Help to compile Linphone 3.12

  • Quote

Post by k547924 » Fri Jul 05, 2019 8:39 am

Liphone software was removed from Gentoo repository one year ago (https://forums.gentoo.org/viewtopic-t-1098948.html).

I am trying to build the same version as Debian witch is v3.12.

After making a git clone of all software components:
  • decaf
    bcunit
    bctoolbox
    ortp
    belle-sip
    bzrtp
    bcmatroska2
    bcg729
    bv16-floatingpoint
    zxing-cpp
    mediastreamer2
    belr
    belcard
    linphone
All components compile fine but linphone with:

Code: Select all

BelledonneCommunications/linphone/coreapi/callbacks.c:603:34: error: cast between incompatible function types from 'void (*)(LinphoneCall *)' {aka 'void (*)(struct _LinphoneCall *)'} to 'bool_t (*)(void *)' {aka 'unsigned char (*)(void *)'} [-Werror=cast-function-type]
      linphone_task_list_add(&tl, (LinphoneCoreIterateHook)start_pending_refer, call);
As it should compile, I don't understand what I have make wrong.

Is someone with packaging skills on Gentoo Linux could help me?
Top
Rion
Guru
Guru
User avatar
Posts: 383
Joined: Thu Oct 12, 2006 4:09 am
Location: Minsk, Belarus
Contact:
Contact Rion
Website

  • Quote

Post by Rion » Fri Jul 05, 2019 9:41 am

https://gpo.zugaina.org/net-voip/linphone
rion-overlay
Top
k547924
n00b
n00b
Posts: 27
Joined: Sun Feb 17, 2019 8:13 pm

  • Quote

Post by k547924 » Fri Jul 05, 2019 10:45 am

Rion wrote:https://gpo.zugaina.org/net-voip/linphone
Hi Rion,

Using your repository for emerging Linphone lead to dependency media-libs/bzrtp-1.0.6 error:

Code: Select all

/var/tmp/portage/media-libs/bzrtp-1.0.6/work/bzrtp-1.0.6/src/bzrtp.c:575:207: error: cast between incompatible function types from ‘void (*)(const uint8_t *, size_t,  const uint8_t *, size_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(const unsigned char *, long unsigned int,  const unsigned char *, long unsigned int,  unsigned char,  unsigned char *)’} to ‘void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *)’ {aka ‘void (*)(unsigned char *, unsigned char,  unsigned char *, unsigned int,  unsigned char,  unsigned char *)’} [-Werror=cast-function-type]
   bzrtp_keyDerivationFunction(zrtpChannelContext->s0, zrtpChannelContext->hashLength, (uint8_t *)label, labelLength, zrtpChannelContext->KDFContext, zrtpChannelContext->KDFContextLength, *derivedKeyLength, (void (*)(uint8_t *, uint8_t,  uint8_t *, uint32_t,  uint8_t,  uint8_t *))zrtpChannelContext->hmacFunction, derivedKey);
Top
droide
n00b
n00b
User avatar
Posts: 23
Joined: Fri Jul 27, 2007 8:54 am
Contact:
Contact droide
Website

  • Quote

Post by droide » Tue Jul 16, 2019 7:36 am

Hi,
I have the same problem to emerge media-libs/bzrtp-1.0.6.
https://blog.waccabac.com
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Tue Jul 16, 2019 7:41 am

Can help this?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
droide
n00b
n00b
User avatar
Posts: 23
Joined: Fri Jul 27, 2007 8:54 am
Contact:
Contact droide
Website

  • Quote

Post by droide » Mon Jul 22, 2019 7:25 am

fedeliallalinea wrote:Can help this?
Thanks but I don't solve the problem...
https://blog.waccabac.com
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Mon Jul 22, 2019 7:27 am

droide wrote:Thanks but I don't solve the problem...
You tried to apply proposed patch?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
droide
n00b
n00b
User avatar
Posts: 23
Joined: Fri Jul 27, 2007 8:54 am
Contact:
Contact droide
Website

  • Quote

Post by droide » Mon Jul 22, 2019 7:48 am

Same problem :

Code: Select all

# cmake . -DCMAKE_SKIP_INSTALL_RPATH=ON
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting install rpath to 
-- Looking for sqrt in m
-- Looking for sqrt in m - found
-- Found Sqlite3: /usr/include  
-- Found XML2: /usr/include/libxml2  
-- Found Git: /usr/bin/git (found suitable version "2.21.0", minimum required is "1.7.1") 
fatal: ni ceci ni aucun de ses répertoires parents n'est un dépôt git : .git
-- Package file name is bzrtp-1.0.6
CMake Error at build/CMakeLists.txt:50 (bc_generate_rpm_specfile):
  Unknown CMake command "bc_generate_rpm_specfile".
https://blog.waccabac.com
Top
k547924
n00b
n00b
Posts: 27
Joined: Sun Feb 17, 2019 8:13 pm

  • Quote

Post by k547924 » Wed Aug 14, 2019 10:21 am

fedeliallalinea wrote:Can help this?
Hi fedeliallalinea,

Adding

Code: Select all

-Wno-error=cast-function-type
shift the problem elsewhere:

Code: Select all

linphone/coreapi/lime.c:295:97: error: passing argument 4 of 'bzrtp_cache_write' from incompatible pointer type [-Werror=incompatible-pointer-types]
  return bzrtp_cache_write(cachedb, associatedKey->zuid, "lime", role==LIME_SENDER?colNamesSender:colNamesReceiver, colValues, colLength, colNums);
Top
Makersmarx
n00b
n00b
User avatar
Posts: 58
Joined: Sat Feb 16, 2019 12:32 am
Location: Costa Rica

  • Quote

Post by Makersmarx » Wed Aug 14, 2019 5:25 pm

My problem @rion is with bctoolbox, will add errors when not on mobile. Just get a CMakeFiles/Makefile2:199: src/CMakeFiles/bctoolbox.dir/all] Error 2 @ 68% during build
Pura Vida
Top
Jimmy Jazz
Guru
Guru
User avatar
Posts: 335
Joined: Mon Oct 04, 2004 5:29 pm
Location: Strasbourg

  • Quote

Post by Jimmy Jazz » Thu Aug 15, 2019 4:38 pm

Makersmarx wrote:My problem @rion is with bctoolbox, will add errors when not on mobile. Just get a CMakeFiles/Makefile2:199: src/CMakeFiles/bctoolbox.dir/all] Error 2 @ 68% during build
try [bug=691640] linphone-desktop-4.1.1 [/bug] Also I didn't have time to test it myself.
« La seule condition au triomphe du mal, c'est l'inaction des gens de bien » E.Burke

Code: Select all

+----+----+----+
|    |::::|    |
|    |::::|    |
+----+----+----+ 
motto: WeLCRO
WritE Less Code, Repeat Often
Top
Makersmarx
n00b
n00b
User avatar
Posts: 58
Joined: Sat Feb 16, 2019 12:32 am
Location: Costa Rica

  • Quote

Post by Makersmarx » Thu Aug 15, 2019 5:40 pm

Jimmy Jazz wrote:
Makersmarx wrote:My problem @rion is with bctoolbox, will add errors when not on mobile. Just get a CMakeFiles/Makefile2:199: src/CMakeFiles/bctoolbox.dir/all] Error 2 @ 68% during build
try [bug=691640] linphone-desktop-4.1.1 [/bug] Also I didn't have time to test it myself.
Thanks, will give it a go this weekend when I get home.
Pura Vida
Top
Post Reply

12 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic