[vlc-devel] Re: iPaq cross-compile problem (urgent)

Jean-Paul Saman saman at natlab.research.philips.com
Tue Oct 15 12:26:56 CEST 2002


Christophe Massiot wrote:
> Jean-Paul Saman <jpsaman at wxs.nl>:
> 
> 
>>I hope someone of you spot the problem in my logs. To build familiar 
>>Linux interface against GTK I had to redo my cross-compile environment.
>>Now I successfully can built SDL (I tested it) and libmad, .... but no
>>VLC (0.4.5).
>>
>>What happens? If I built with plugins enabled the linking of SDL against
>>lpthread fails, the linker complains about /usr/lib/libpthread.so. So I
>>wonder is it trying to link against my rootsystem libpthread or in the
>>cross-compile directory.
> 
> 
> Apparently it uses /usr/lib/libpthread.so. Could you 
> arm-linux-ldd libsdl.so ?
Not right now. This will have to wait untill after work and after kids 
have gone to bed.

> What is in $sdl_LDFLAGS ?
> 
This is in there (if I remember correctly): -L/usr/lib 
-Wl,-rpath,/usr/lib -lSDL -lpthread

I tried changing -Wl,-rpath,/usr/lib into -Wl,-rpath,/lib, but this 
makes no difference.

See also show.txt (make show) it is from my latest build. It displays 
all settings used to compile and link.


-- 
Kind greetings,

Jean-Paul Saman

Software Architect

e-mail (work): saman at natlab.research.philips.com
phone  (work): 040 27 42909
------------------------------------------------------------
Ordina TA,
Science Park Eindhoven 5602, Postbus 293, 5600 AG Eindhoven
e-mail : jean-paul.saman at ordina.nl
phone  : 040 2601200
fax    : 040 2601199

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list