Dirk Behme wrote:
Jeff, Brian wrote:

The package was built for the latest Montavista kernel on the DM6446 DVEVM. Some additional work may be needed to port this to the latest community open source Linux kernel for DaVinci.

While trying to build with non-MV toolchain and open source Linux kernel, I progressed until gstreamer.

There, linking of libgstreamer-0.10.so.0.10.0 fails cause it trys to link with stuff from /opt/gnome/lib:

arm-linux-gcc -shared .... -L/opt/gnome/lib -lpthread /opt/gnome/lib/libgobject-2.0.so /opt/gnome/lib/libgthread-2.0.so /opt/gnome/lib/libgmodule-2.0.so -ldl /opt/gnome/lib/libglib-2.0.so ... -o .libs/libgstreamer-0.10.so.0.10.0 /opt/gnome/lib/libgobject-2.0.so: could not read symbols: File in wrong format

which is of course the x86 stuff. LD_LIBRARY_PATH links to filesys, so this can't be the problem. Does MV toolchain come with ARM version of libgobject-2.0.so and friends? If not, any idea whats wrong then?

Answering to myself for the archives:

This was due to wrong setting of PKG_CONFIG_PATH. Configure took the system wide one which has /opt/gnome stuff in it and then generated Makefiles with this. Really taking the PKG_CONFIG_PATH set in make_opensource.sh fixes this.

Unfortunately x86 glib-genmarshal in /opt/gnome/bin tries to read ARM libraries then and fails. Have to think about this...

Btw: configure of gstreamer failed with

checking for XML... yes
configure: error: Could not link libxml2 test program. Check if you have the necessary dependencies.

I worked around by disabling the exit in configure. Any better way to come around this?

No idea for this until now.

Regards

Dirk

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

Reply via email to