the problem is that I am trying to do the cross-compilation libavg for the arm architecture. the steps are followed:
Download libavg 1.7 source code wget http://www.libavg.de/raw- attachment/wiki/DownLoad/libavg-1.7.0.tar.gz Extract it tar xzvf libavg-1.7.0.tar.gz cd libavg-1.7.0 Install the following armel development packages: sudo /usr/share/pdebuild-cross/xapt -a armel libpango1.0-dev libavformat-dev libavcodec-dev libswscale-dev python2.6-dev libboost- python-dev libboost-thread-dev libglu-dev libgl1-mesa-dev libgtk2.0-dev libglib2.0-dev libsdl-dev libxml2-dev libxxf86vm-dev libcairo-dev librsvg2-dev --force-yes Remove the SSE2 flags in configure script: cat configure | sed s/-msse2// > configure.arm mv configure.arm configure chmod 755 configure There is some x86 assembler in the code, we need to disable it. Edit src/base/Exception.cpp and replace debugBreak code by : void debugBreak() { ifndef arm ifdef _WIN32 __asm int 3; else asm("int $3"); endif else asm("swi 0x03"); endif } Please note that I’m not fully sure of the ARM assembly I’ve used to replace the INT x86 instruction. If I’m wrong let me know. Anyway this code should not be called if the environment variable AVG_BREAK_ON_ASSERT is not set to 1. Export some environment variables (or create source.env file instead): export PANGOFT2_CFLAGS="-I/usr/arm-linux-gnueabi/include/" export PANGOFT2_LIBS="-L/usr/arm-linux-gnueabi/lib/" export GDK_PIXBUF_CFLAGS="-I/usr/arm-linux-gnueabi/include/" export GDK_PIXBUF_LIBS="-L/usr/arm-linux-gnueabi/lib/" export LIBRSVG_CFLAGS="-I/usr/arm-linux-gnueabi/include/" export LIBRSVG_LIBS="-L/usr/arm-linux-gnueabi/lib/" export FONTCONFIG_CFLAGS="-I/usr/arm-linux-gnueabi/include/" export FONTCONFIG_LIBS="-L/usr/arm-linux-gnueabi/lib/" export FFMPEG_CFLAGS="-I/usr/arm-linux-gnueabi/include/" export FFMPEG_LIBS="-L/usr/arm-linux-gnueabi/lib/" export BOOST_PYTHON_LIBS="-L/usr/arm-linux-gnueabi/lib/" export BOOST_PYTHON_CFLAGS="-I/usr/arm-linux-gnueabi/include/" export BOOST_THREAD_LIBS="-L/usr/arm-linux-gnueabi/lib/" export LIBRSVG_LIBS="-L/usr/arm-linux-gnueabi/lib/" export LIBRSVG_CFLAGS="-I/usr/arm-linux-gnueabi/include/" Configure, build and install libavg: CFLAGS="-I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux- gnueabi/include/glib-2.0" CXXFLAGS="-I/usr/arm-linux- gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0/ -I/usr/arm-linux-gnueabi/lib/glib-2.0/include/ -I/usr/arm-linux- gnueabi/include/pango-1.0 -I/usr/arm-linux-gnueabi/include/cairo/ -I/usr /arm-linux-gnueabi/include/librsvg-2" LDFLAGS="-lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2 " FREETYPE_LIBS=/usr/arm-linux-gnueabi/lib ./configure --target =arm-linux-gnueabi --host=arm-linux-gnueabi CC=arm-linux-gnueabi-gcc-4.4 CXX=arm-linux-gnueabi-g++-4.4 AR=arm-linux-gnueabi-ar TRIP=arm-linux- gnueabi-strip RANLIB=arm-linux-gnueabi-ranlib --prefix=/home/invitee/Bureau/out And when I execute the make command I receive the error message mentioned above -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1177809 Title: undifined referance to bosst To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/boost1.38/+bug/1177809/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
