[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] Linphone Compilation Error (SDL_Init not found
From: |
Andreas Pretzsch |
Subject: |
Re: [Linphone-developers] Linphone Compilation Error (SDL_Init not found in -lSDL) |
Date: |
Mon, 3 Mar 2008 18:02:34 +0100 |
User-agent: |
KMail/1.9.5 |
Am Samstag 01 März 2008 15:37 schrieb Jayasimha MR:
> Hello All,
> I am trying to get Linphone work on an mx27 board. I am unable to
> proceed further due to a Compilation issue that i am stuck with.
>
> Here is the Console Log:
>
> <snip>
> checking for FFMPEG... yes
> checking for avcodec_register_all in -lavcodec... yes
> checking SDL/SDL.h usability... yes
> checking SDL/SDL.h presence... yes
> checking for SDL/SDL.h... yes
> checking for SDL_Init in -lSDL... no
> configure: error: Could not find libsdl headers and library. This is
> mandatory for video support
> configure: error: ./configure failed for mediastreamer2
> error: Bad exit status from
> /export/ltib-imx27ads-20071219/tmp/rpm-tmp.93410(%build)
> </snip>
Well, have a look at mediastreamer2/config.log
Somewhere in there you should find the results of the lib searching.
In a working case, it should look like:
configure:23483: checking for SDL_Init in -lSDL
configure:23518: arm-none-linux-gnueabi-gcc -o
conftest -DORTP_INET6 -Wall -O2 -g -pthread -D_REENTRANT
-I/EW/iMX31-Kit/BSP-Phytec-phyCORE-i.MX31-trunk/local/arm-none-l
inux-gnueabi/usr/include
-L/EW/iMX31-Kit/BSP-Phytec-phyCORE-i.MX31-trunk/local/arm-none-linux-gnueabi/usr/lib
conftest.c -lSDL -pthread -lpthread -lrt >&5
configure:23524: $? = 0
configure:23531: test -z "$ac_c_werror_flag" || test ! -s conftest.err
configure:23534: $? = 0
configure:23541: test -s conftest
configure:23544: $? = 0
configure:23559: result: yes
As you provide a sdl path, which also leads to a correct SDL.h, maybe
there is no link libSDL.so pointing to the lib ?
Also in case of libtool, there should be a proper libSDL.la there.
BTW, why do you base on linphone 1.6.0 ?
--
carpe noctem engineering
Ingenieurbuero fuer Hard- & Software-Entwicklung Andreas Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch Tel. 0731/98588-800
Marlene-Dietrich-Strasse 5 Fax: 0731/98588-801
89231 Neu-Ulm email: address@hidden