Postby robcan12345 » 05 Oct 2007 14:35
Hi,
I have compiled vlc 0.8.4 for winCE and it works correctly. I have to add some libraries to add SIP functionality to VLC. I have installed these libraries in /usr/local/sip/lib, and header files are in /usr/local/sip/include. The names are pjlib.a and pjlib_util.a;
I show you the configuration script:
#!bin/bash
./bootstrap &&
PATH=/usr/local/wince/cross-tools/bin:$PATH \
CFLAGS="-D__stdcall= -D_OFF_T_ -I/usr/local/wince/cross-tools/include" \
CFLAGS="$CFLAGS -I/usr/local/wince/contrib-xscale/include -I/usr/local/sip/include" \
LDFLAGS="-L/usr/local/wince/cross-tools/lib -L/usr/local/wince/contrib-xscale/lib -L/usr/local/sip/lib" \
LDLIBS="-lpjlib -lpjlib_util" \
CC="arm-wince-pe-gcc -mcpu=xscale" \
./configure --host=arm-wince-pe --target=arm-wince-pe \
--build=i686-linux --prefix=/usr/local/wince/cross-tools \
--disable-sdl --disable-gtk --disable-dvdnav --disable-dvdread \
--disable-nls --disable-sout --disable-vlm --disable-wxwindows \
--disable-a52 --disable-libmpeg2 --disable-freetype --disable-fribidi \
--disable-mad --disable-plugins --enable-optimize-memory \
--with-freetype-config-path=/usr/local/wince/contrib-xscale/bin \
--with-fribidi-config-path=/usr/local/wince/contrib-xscale/bin \
--enable-tremor --enable-faad
When i execute make, the compiler find only header files, but it give me e message "Undefined reference to..." for every function i add to the code.
How can i do to link these libraries? I have tried also to add .a files in extra/contrib/lib directories!
Please help me!!!