Santiago Lanzuela Benedicto wrote:


Hello Dirk

We are trying to port Gstreamer to DM355. We found your comments about Gstreamer build on DM6446. We have found similar problems.

Trying to install LIBOIL-0.3.9 and GSTREAMER-0.10.11 we get the following messages:


    arm_v5t_le-gcc -g -O2 -o .libs/jpeg_test jpeg_test-test.o
    ./.libs/libjpeg.a -L/home/user/workdir/filesys/opt/gstreamer/lib
-lrt -lm /home/user/workdir/filesys/opt/gstreamer/lib/libglib-2.0.so
    ../../liboil/.libs/liboil-0.3.so -Wl,--rpath
    -Wl,/home/user/workdir/filesys/opt/gstreamer/lib

This is from liboil compilation, correct? It tries to link against libglib-2.0.so and fails with error message below?

    /home/user/workdir/filesys/opt/gstreamer/lib/libglib-2.0.so: could
    not read symbols: File in wrong format

What output do you get from "file" utility for

file /home/user/workdir/filesys/opt/gstreamer/lib/libglib-2.0.so

and

file /home/user/workdir/filesys/opt/gstreamer/lib/libglib-2.0.so.0.1200.4

?

Dirk

    following your comments, we tried to modify make_opensource.sh file
    as follows:

    #Compiling GLIB Package

    echo "*************************************************"
    echo "Building GLIB-2.12.4 "
    echo "*************************************************"

    cd "$OSS_PACKAGE_DIR/glib-2.12.4"
    echo "I am in following directory"

    echo $PWD

    echo ""

    glib_cv_stack_grows=no glib_cv_uscore=no
    ac_cv_func_posix_getpwuid_r=yes glib_cv_monotonic_clock=no
    ./configure --build=i686-linux --host=arm-linux
    --prefix=$GSTREAMER_DIR --cache-file=config.cache

    CC=arm_v5t_le-gcc ./configure --build=i686-linux --host=arm-linux
    --prefix=$GSTREAMER_DIR --cache-file=config.cache

    # Avoid that x86 glib-genmarshal tries to look at ARM libraries...

    export LD_LIBRARY_PATH=

    #make -j4

    make clean

    make install

    # ... but reset LD_LIBRARY_PATH again

    export LD_LIBRARY_PATH=$GSTREAMER_DIR/lib


but it doesn't work.

Do you have any suggestions about how to solve this issue?

Thanks for all your answer and comments.

Regards.


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to