linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] mediastreamer2 configure error


From: Simon Morlat
Subject: Re: [Linphone-developers] mediastreamer2 configure error
Date: Mon, 23 Jul 2007 21:22:47 +0200
User-agent: KMail/1.9.7

Hi,

Yes I think it's a problem with the linker not finding a library needed by 
another library (libavcodec). 
I think 
export 
LDFLAGS="-rpath 
/media/sdb2/progetti/ltib-imx27ads-20070210/rootfs//opt/lin//lib "
before doing configure
should solve the problem.

Simon

Le Tuesday 17 July 2007 17:14:40 address@hidden, vous avez écrit :
> 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 mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers






reply via email to

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