[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] linphone-android building errors
From: |
nicolas.canceill |
Subject: |
[Linphone-developers] linphone-android building errors |
Date: |
Wed, 13 Apr 2011 12:19:13 +0200 (CEST) |
Hello every one !
I have been trying to compile linphone-android on my Mac for almost a week, and
the process of walking
through errors has just become unbearable. My goal was to rebuild MSx264 in
order to force higher parameters,
but I never got that far.
Issues I have worked around:
- in "submodules/linphone/", "po/Makefile" is referenced as "po/Makefile.in",
and thus configure searches for
"Makefile.in.in"
- in "submodules/linhpone/" and "submodules/linphone/mediastreamer2/",
"configure.ac" contains
"LT_INIT([win32-dll shared disable-static])" which creates an error under my
config
- in "submodules/linphone/mediastreamer2/src/", "jpergwriter.c" includes
"malloc.h" instead of
"malloc/malloc.h"
Additionally, I have been banging my head over library linking, which seems to
me very unstable in this project.
For instance, on an x86_64 architecture, the flag "--build=i386" must be used
to configure almost everything,
otherwise many compilations, and especially
"submodules/linphone/mediastreamer2/tests/mediastream", will
fail. And linking X11 libraries only with "-lX11" does not work, it needs
"-L/usr/X11/lib -lX11".
Issues I have not worked around both occur while compiling
"submodules/linphone/mediastreamer2/tests/mediastream":
First one is:
CCLD mediastream
i686-apple-darwin10-gcc-4.2.1: QuickTime.framework: No such file or directory
i686-apple-darwin10-gcc-4.2.1: AudioUnit.framework: No such file or directory
i686-apple-darwin10-gcc-4.2.1: Carbon.framework: No such file or directory
i686-apple-darwin10-gcc-4.2.1: CoreAudio.framework: No such file or directory
i686-apple-darwin10-gcc-4.2.1: AudioToolbox.framework: No such file or directory
i686-apple-darwin10-gcc-4.2.1: CoreFoundation.framework: No such file or
directory
make: *** [mediastream] Error 1
Second one is:
CCLD mediastream
Undefined symbols:
"_XvGrabPort", referenced from:
_x11video_prepare in libmediastreamer.a(x11video.o)
"_XShmDetach", referenced from:
_x11video_unprepare in libmediastreamer.a(x11video.o)
"_XShmAttach", referenced from:
_x11video_prepare in libmediastreamer.a(x11video.o)
"_XvShmPutImage", referenced from:
_x11video_process in libmediastreamer.a(x11video.o)
"_XShmQueryExtension", referenced from:
_x11video_prepare in libmediastreamer.a(x11video.o)
"_ms_v4m_cam_desc", referenced from:
_ms_init in libmediastreamer.a(mscommon.o)
_ms_web_cam_descs in libmediastreamer.a(mscommon.o)
"_XvFreeAdaptorInfo", referenced from:
_x11video_prepare in libmediastreamer.a(x11video.o)
_x11video_prepare in libmediastreamer.a(x11video.o)
"_XvListImageFormats", referenced from:
_x11video_prepare in libmediastreamer.a(x11video.o)
"_XvUngrabPort", referenced from:
_x11video_unprepare in libmediastreamer.a(x11video.o)
"_XvQueryExtension", referenced from:
_x11video_prepare in libmediastreamer.a(x11video.o)
"_XvShmCreateImage", referenced from:
_x11video_prepare in libmediastreamer.a(x11video.o)
"_XvQueryAdaptors", referenced from:
_x11video_prepare in libmediastreamer.a(x11video.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [mediastream] Error 1
My config is:
Mac OS 10.6.5 Intel x86_64
XCode 3.2.5
GCC 4.2.1 (Apple Inc. build 5664)
Configured with: /var/tmp/gcc/gcc-5664~89/src/configure --disable-checking
--enable-werror --
prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++
--program-transform-
name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --program-
prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10
--target=i686-apple-darwin10 --with-gxx-
include-dir=/include/c++/4.2.1
Thread model: posix
Libtool version cctools-782
Autoconf 2.68, Automake 1.11.1
ANY input on this will be highly appreciated, thank you.
Kind regards,
Nicolas
Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net
- [Linphone-developers] linphone-android building errors,
nicolas.canceill <=