[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] mediastreamer2 configure error
From: |
enrico . benetti |
Subject: |
[Linphone-developers] mediastreamer2 configure error |
Date: |
Tue, 17 Jul 2007 17:14:40 +0200 |
Hi all,
I've got a problem trying to cross-compile linphonec for arm, with video
enabled.
I've compiled and installed all dependencies in a non standard path
INSTDIR/PFX, then I try
to run configure for linphone: it fails with SDL, because linking of ffmpeg
libavutil.so fails while
running conftest.o building.
Here it is the error message from mediastreamer2/config.log:
*********************************************************************
configure:23291: checking for SDL_Init in -lSDL
configure:23326: arm-926ejs-linux-gcc -o conftest -DORTP_INET6 -DINET6 -Wall -
O2 -g -Werror -pthread -D_REENTRANT -I/media/sdb2/progetti/ltib-imx27ads-20070
210/rootfs//opt/lin//include -L/media/sdb2/progetti/ltib-imx27ads-20070210/root
fs//opt/lin//lib conftest.c -lSDL -lavcodec -pthread -lpthread -lrt >&5
/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-sf-1/arm-926ejs-linux/lib/gcc/
arm-926ejs-linux/4.1.1/../../../../arm-926ejs-linux/bin/ld: warning: libavutil.s
o.49, needed by /media/sdb2/progetti/ltib-imx27ads-20070210/rootfs//opt/lin//lib
/libavcodec.so, not found (try using -rpath or -rpath-link)
*********************************************************************
Same thing happened for "checking av_codec_register_all" test, but I've solved
with
FFMPEG_LDFLAGS="-L<ffmpeg_path> -lavcodec -lavutil".
I'm not able to pass this -lavutil linker option to previous phase, so
configure fails.
--with-sdl path is ok (header test is ok).
Obviously library belongs to -I<..../opt/lin/lib> folder, so it's a ld mess, I
think.
I'm using freescale iMX27 gcc-4.1.1 toolchain, within ltib environment, but
this is not the
problem,because linker fails also working in a "plain" cross-compiling
environment.
I've succesfully compiled version without video support, and now I'm trying to
port also video.
Has anyone already faced this problem? Thank you very much for your kind
support,
Enrico
- [Linphone-developers] mediastreamer2 configure error,
enrico . benetti <=