linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] linker error


From: BIENKOWSKI Guillaume
Subject: Re: [Linphone-developers] linker error
Date: Fri, 24 Oct 2014 09:27:25 +0200

Hello Anton,

This is really strange.

My current HEAD is here:

commit 4f5ef86508353ac97ccf1453c74d6f1a3fdbe7e1
Author: Guillaume BIENKOWSKI <address@hidden>
Date:   Thu Oct 23 16:49:34 2014 +0200
Fixes for 64 bits compilation in subprojects (XMLRPC).

The associated submodules are to these versions:

➜  linphone-iphone git:(master) ✗ git submodule status 

 0a58e95c1d7f7da9035456f2b1bcfa832bfd2d7e submodules/bcg729 (remotes/origin/HEAD)
 adac1d173a97a96f6c5bb9d2a2301c35a738d8b7 submodules/belle-sip (1.3.3-22-gadac1d1)
 0948658db85a7c9933ed2d39a159239d9ee5c734 submodules/bzrtp (remotes/origin/HEAD)
 9aa6142d267197c92b579ff82bc84ea7f0f5c35d submodules/cunit (remotes/origin/linphone)
 489f375fb391cb70d82b56f509c39cbf7fa0b706 submodules/externals/antlr3 (antlr-3.4-33-g489f375)
 2b8b2ba19fe0ca6594cb09439b9ead2c328a79d8 submodules/externals/ffmpeg (n2.0)
405fb3856f0b9e902dcb159ec6a3409ba6e78476 submodules/externals/gsm (heads/master)
 f17a2eb9d53e4a2d7f691c0bb7bf7bfa36c3b479 submodules/externals/libvpx (v1.3.0-2514-gf17a2eb)
 c943f708f1853de4eb15e5a94cf0b35d108da87a submodules/externals/libxml2 (v2.8.0)
 cf4409e03ec56b1cd85a2f9532f58bc1fa9db274 submodules/externals/opencore-amr (v0.1.2-48-gcf4409e)
 bdb7d758c1edce3c42c7fdc203328aae28f08008 submodules/externals/openh264 (v1.0-53-gbdb7d75)
 da97db1ca1f92592af3534c9a2596da0e9a009ca submodules/externals/opus (draft-ietf-codec-oggopus-04-11-gda97db1)
 18040383bd13a5c683934df6744d99aee4a1231b submodules/externals/polarssl (remotes/origin/linphone-1.3.4)
 84a7ee510ff47cfe47dd37ee10dfb772e4b7bd55 submodules/externals/speex (remotes/origin/HEAD)
 ca0b6a3402fed819bbffd4375df7ded209c9d39f submodules/externals/srtp (remotes/origin/HEAD)
 3f516c5238d0c536ea03c8e5334d231facf9f31b submodules/externals/x264 (3f516c5)
 d0b51b1a8604f726bb3a3b2609cdfbd7d4e43828 submodules/libilbc-rfc3951 (debian/0.6-2-20-gd0b51b1)
 d76e97d73f6d7f6e5b5425c0e74438a024add6a0 submodules/linphone (3.7.0-1049-gd76e97d)
 eb17e35a22301db309b51bd9d458fb00972bd4c3 submodules/msamr (heads/master-7-geb17e35)
 afe5336871be478f54e794d4f649e2c1f18dcaff submodules/msilbc (debian/2.0.3-1-27-gafe5336)
 e60a95bfa38019635607b14964e2a3c1ee067248 submodules/msopenh264 (remotes/origin/HEAD)
 7bd2778369432e865c84259feb82a107196397ed submodules/mssilk (remotes/origin/HEAD)
 5a55409ddce8bc35163662231dae475488dfce75 submodules/mswebrtc (remotes/origin/HEAD)
 05b55211c6fe7eebef485a00a60c66cbe1394907 submodules/msx264 (heads/master-9-g05b5521)

Out of curiosity, could you give me the output of:

git status
git remote -v

Thanks


Guillaume BIENKOWSKI
http://www.belledonne-communications.com/
sip:address@hidden

On Fri, Oct 24, 2014 at 1:04 AM, Anton Pomozov <address@hidden> wrote:
cd /Users/user/Documents/iOS/caspianphone/submodules/build/..//externals/libvpx \
&& git apply /Users/user/Documents/iOS/caspianphone/submodules/build/..//build/builders.d/libvpx.patch \
&& touch /Users/user/Documents/iOS/caspianphone/submodules/build/..//externals/libvpx/patched.stamp
warning: build/make/configure.sh has type 100644, expected 100755
error: patch failed: build/make/configure.sh:792
error: build/make/configure.sh: patch does not apply
error: patch failed: build/make/rtcd.pl:383
error: build/make/rtcd.pl: patch does not apply
make[1]: *** [/Users/user/Documents/iOS/caspianphone/submodules/build/..//externals/libvpx/patched.stamp] Error 1

23 окт. 2014 г., в 19:53, BIENKOWSKI Guillaume <address@hidden> написал(а):

Could you try a rebuild of the SDK?

make veryclean
make -jXXX

I just rebuilt the SDK on my machine and it has these symbols. Either the compilation failed to include the i386 version, or the linphone recompilation did not occur on your desktop.
Also, our buildbot built the last version successfully yesterday night, so my guess is something on your side :)

The API is implemented here:

submodules/linphone/coreapi/linphonecore.c
253:void linphone_core_enable_log_collection(bool_t enable) {


Cheers,


On Thu, Oct 23, 2014 at 5:19 PM, Anton Pomozov <address@hidden> wrote:
Sorry, your bet is mine :)
I pulled submodules twice for a few days and clean rebuild sdk twice.
Last one made a half hour ago.
Linker still can’t found implementation of these functions:

Undefined symbols for architecture i386:
  "_linphone_core_enable_log_collection", referenced from:
      -[LinphoneManager createLinphoneCore] in LinphoneManager.o
  "_linphone_core_set_log_collection_path", referenced from:
      -[LinphoneManager createLinphoneCore] in LinphoneManager.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Say please in which file are they placed?

23 окт. 2014 г., в 18:47, BIENKOWSKI Guillaume <address@hidden> написал(а):

It is already in the git submodule, but I bet you simply forgot to update your submodules:

git submodule update --recursive --init




On Thu, Oct 23, 2014 at 4:15 PM, Anton Pomozov <address@hidden> wrote:
Hi Guillaume!

Would you like to push the implementation of these functions:

linphone_core_set_log_collection_path()
linphone_core_enable_log_collection()

to linphone submodule?

Best regards,
Anton

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]