Home > Audio, Graphics, Linux, Programming, Video > Cross-compiling libavg 1.7 for ARM on Debian

Cross-compiling libavg 1.7 for ARM on Debian

libavg is a high-level development platform for media-centric applications using Python as scripting language and written in C++ and I’ve already written a post to cross-compile libavg 1.6 in Ubuntu (with linaro cross toolchain) and using Beagleboard qemu image.

Since I’ve doing some preparation work to have software running on the Raspberry Pi and that the latter won’t support Ubuntu, I’ve had to cross-compile it again. This time, I’ve found a cleaner way to do the cross-compilation with dpkg-cross and xapt tools which can load the required armel package to the arm toolchain. Those tools really make life easy, as previously (a few years ago), I would have had to cross-compile all dependencies manually.

Here are the steps I followed:

  1. Install Emdebian ARM Cross Toolchain and Tools in Debian.
  2. Download libavg 1.7 source code
    wget http://www.libavg.de/raw-attachment/wiki/DownLoad/libavg-1.7.0.tar.gz
  3. Extract it
    tar xzvf libavg-1.7.0.tar.gz
    cd libavg-1.7.0
  4. 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

  5. Remove the SSE2 flags in configure script:
    cat configure | sed s/-msse2// > configure.arm
    mv configure.arm configure
    chmod 755 configure
  6. 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.

  7. 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/"
  8. 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" ./configure --target=arm-linux-gnueabi --host=arm-linux-gnueabi --with-sdl-prefix=/usr/arm-linux-gnueabi --prefix=/home/jaufranc/edev/raspberry-pi/libs
    make
    make install

This was tested in Deiban Squeeze (6.0.3) in VirtualBox.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

  1. alonso
    June 11th, 2012 at 13:31 | #1

    I use the libavg ver.1.7.1 and debian 6.0.3 but encounter the issue while run ./configure.
    #error message
    ****************************************
    checking for main in -lboost_python… no
    configure: error: boost.python not found. Aborting.
    ****************************************
    Can someone help to figure it out?
    Thank you.

  2. June 11th, 2012 at 13:43 | #2

    @ alonso
    I’ve come across this issue as well, but I can’t remember the solution, you just need to have a look into your config.log to find out what’s missing.

  3. alonso
    June 11th, 2012 at 15:40 | #3

    did you re-compile the source code downloaded from Boost.Python website?

  4. June 11th, 2012 at 15:50 | #4

    @ alonso
    No, I think it was more about installing packages and/or settings the right paths.

  5. alonso
    June 14th, 2012 at 08:09 | #5

    Did you encountered some error during make source code?
    I encountered some about make command.

  6. Peter
  7. June 26th, 2012 at 22:19 | #7

    @ Peter
    I’m not sure I still have it. You can download libavg 1.7.1 instead. https://www.libavg.de/site/projects/libavg/wiki/DownLoad

  8. Eugene
    July 22nd, 2012 at 12:37 | #8

    @ alonso
    i think that the problem because you don’t install libboost-python1.40 or higher. try install it first and run again.

  9. andree
    March 18th, 2013 at 20:46 | #9

    when i configure the libavg 1.6.0

    ./configure –target=arm-linux-gnueabi –host=arm-none-linux-gnueabi –with-sdl-prefix=/usr/arm-linux-gnueabi –prefix=/home/achouri/CodeSourcery/Sourcery_G++_Lite/lib –with-python=/usr/lib/python2.6

    i get this error :

    checking for PANGOFT2_CFLAGS… -I/usr/arm-linux-gnueabi/include/
    checking for PANGOFT2_LIBS… -L/usr/arm-linux-gnueabi/lib/
    checking for freetype-config… /usr/bin/freetype-config
    checking for freetype… yes
    checking for MAGICK_CFLAGS… -I/usr/include/GraphicsMagick
    checking for MAGICK_LIBS… -lGraphicsMagick++ -lGraphicsMagick
    checking for FFMPEG_CFLAGS… -I/usr/arm-linux-gnueabi/include/
    checking for FFMPEG_LIBS… -L/usr/arm-linux-gnueabi/lib/
    checking libavformat/avformat.h usability… no
    checking libavformat/avformat.h presence… no
    checking for libavformat/avformat.h… no
    checking for python… /usr/bin/python
    checking for python version… 2.6
    checking for python platform… linux2
    checking for python script directory… ${prefix}/lib/python2.6/site-packages
    checking for python extension module directory… ${exec_prefix}/lib/python2.6/site-packages
    checking for headers required to compile python extensions… not found
    checking for libpython2.6… not found
    configure: error: could not find files required to build python plugin

  10. March 18th, 2013 at 21:22 | #10

    @andree
    Each time something goes wrong with ./configure you should always check config.log for details.

  11. Albert
    March 26th, 2013 at 14:26 | #11

    when i excute tihis command :
    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″ ./configure –target=arm-linux-gnueabi –host=arm-linux-gnueabi –with-sdl-prefix=/usr/arm-linux-gnueabi –prefix=/home/jaufranc/edev/raspberry-pi/libs

    and i use arm-linux-gnueabi-gcc-4.5

    i get this error

    configure: WARNING: if you wanted to set the –build type, don’t use –host.
    If a cross compiler is detected then cross compile mode will be used
    checking build system type… i686-pc-linux-gnu
    checking host system type… arm-unknown-linux-gnueabi
    checking target system type… arm-unknown-linux-gnueabi
    checking for arm-linux-gnueabi-gcc… no
    checking for gcc… gcc
    checking whether the C compiler works… no
    configure: error: in `/home/administrateur/Bureau/libavg-1.7.1′:
    configure: error: C compiler cannot create executables
    See `config.log’ for more details

  12. andree
    March 26th, 2013 at 16:36 | #12

    @cnxsoft

    the config.log is

    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.

    It was created by libavg configure 1.7.1, which was
    generated by GNU Autoconf 2.67. Invocation command line was

    $ ./configure –target=arm-linux-gnueabi –host=arm-linux-gnueabi CC=arm-linux-gnueabi-g++-4.5 AR=arm-linux-gnueabi-ar TRIP=arm-linux-gnueabi-strip RANLIB=arm-linux-gnueabi-ranlib –with-sdl-prefix=/usr/arm-linux-gnueabi –prefix=/home/administrateur/Bureau/oout

    ## ——— ##
    ## Platform. ##
    ## ——— ##

    hostname = administrateur-laptop
    uname -m = i686
    uname -r = 2.6.32-38-generic
    uname -s = Linux
    uname -v = #83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012

    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown

    /bin/arch = unknown
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown

    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /bin
    PATH: /usr/games

    ## ———– ##
    ## Core tests. ##
    ## ———– ##

    configure:2693: checking build system type
    configure:2707: result: i686-pc-linux-gnu
    configure:2727: checking host system type
    configure:2740: result: arm-unknown-linux-gnueabi
    configure:2760: checking target system type
    configure:2773: result: arm-unknown-linux-gnueabi
    configure:2864: checking for arm-linux-gnueabi-gcc
    configure:2891: result: arm-linux-gnueabi-g++-4.5
    configure:3160: checking for C compiler version
    configure:3169: arm-linux-gnueabi-g++-4.5 –version >&5
    arm-linux-gnueabi-g++-4.5 (Ubuntu/Linaro 4.5.3-12ubuntu1~ppa1) 4.5.3
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    configure:3180: $? = 0
    configure:3169: arm-linux-gnueabi-g++-4.5 -v >&5
    Using built-in specs.
    COLLECT_GCC=arm-linux-gnueabi-g++-4.5
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.5.3/lto-wrapper
    Target: arm-linux-gnueabi
    Configured with: ../src/configure -v –with-pkgversion=’Ubuntu/Linaro 4.5.3-12ubuntu1~ppa1′ –with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs –enable-languages=c,c++,fortran,objc,obj-c++ –prefix=/usr –program-suffix=-4.5 –enable-shared –enable-linker-build-id –with-system-zlib –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.5.3 –libdir=/usr/lib –enable-nls –enable-clocale=gnu –enable-libstdcxx-debug –enable-libstdcxx-time=yes –enable-plugin –enable-gold –enable-ld=default –with-plugin-ld=ld.gold –enable-objc-gc –disable-sjlj-exceptions –with-arch=armv7-a –with-float=softfp –with-fpu=vfpv3-d16 –with-mode=thumb –disable-werror –enable-checking=release –program-prefix=arm-linux-gnueabi- –includedir=/usr/arm-linux-gnueabi/include –build=i486-linux-gnu –host=i486-linux-gnu –target=arm-linux-gnueabi –with-headers=/usr/arm-linux-gnueabi/include –with-libs=/usr/arm-linux-gnueabi/lib
    Thread model: posix
    gcc version 4.5.3 (Ubuntu/Linaro 4.5.3-12ubuntu1~ppa1)
    configure:3180: $? = 0
    configure:3169: arm-linux-gnueabi-g++-4.5 -V >&5
    arm-linux-gnueabi-g++-4.5: ‘-V’ option must have argument
    configure:3180: $? = 1
    configure:3169: arm-linux-gnueabi-g++-4.5 -qversion >&5
    arm-linux-gnueabi-g++-4.5: unrecognized option ‘-qversion’
    arm-linux-gnueabi-g++-4.5: no input files
    configure:3180: $? = 1
    configure:3200: checking whether the C compiler works
    configure:3222: arm-linux-gnueabi-g++-4.5 -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 -lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2 conftest.c >&5
    configure:3226: $? = 0
    configure:3274: result: yes
    configure:3277: checking for C compiler default output file name
    configure:3279: result: a.out
    configure:3285: checking for suffix of executables
    configure:3292: arm-linux-gnueabi-g++-4.5 -o conftest -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 -lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2 conftest.c >&5
    configure:3296: $? = 0
    configure:3318: result:
    configure:3340: checking whether we are cross compiling
    configure:3348: arm-linux-gnueabi-g++-4.5 -o conftest -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 -lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2 conftest.c >&5
    configure:3352: $? = 0
    configure:3359: ./conftest
    ./configure: line 3361: ./conftest: cannot execute binary file
    configure:3363: $? = 126
    configure:3378: result: yes
    configure:3383: checking for suffix of object files
    configure:3405: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:3409: $? = 0
    configure:3430: result: o
    configure:3434: checking whether we are using the GNU C compiler
    configure:3453: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:3453: $? = 0
    configure:3462: result: yes
    configure:3471: checking whether arm-linux-gnueabi-g++-4.5 accepts -g
    configure:3491: arm-linux-gnueabi-g++-4.5 -c -g conftest.c >&5
    configure:3491: $? = 0
    configure:3532: result: yes
    configure:3549: checking for arm-linux-gnueabi-g++-4.5 option to accept ISO C89
    configure:3613: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    conftest.c:16:17: error: ‘p’ was not declared in this scope
    conftest.c:16:20: error: ‘i’ was not declared in this scope
    conftest.c:16:21: error: initializer expression list treated as compound expression
    conftest.c:17:6: error: expected ‘,’ or ‘;’ before ‘char’
    conftest.c:19:1: error: expected unqualified-id before ‘{‘ token
    conftest.c: In function ‘int main()’:
    conftest.c:55:21: error: cannot convert ‘char*’ to ‘char* (*)(char**, int)’ for argument ’1′ to ‘char* f(char* (*)(char**, int), char**, …)’
    conftest.c:55:52: error: cannot convert ‘char*’ to ‘char* (*)(char**, int)’ for argument ’1′ to ‘char* f(char* (*)(char**, int), char**, …)’
    configure:3613: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | /* end confdefs.h. */
    | #include
    | #include
    | #include
    | #include
    | /* Most of the following tests are stolen from RCS 5.7′s src/conf.sh. */
    | struct buf { int x; };
    | FILE * (*rcsopen) (struct buf *, struct stat *, int);
    | static char *e (p, i)
    | char **p;
    | int i;
    | {
    | return p[i];
    | }
    | static char *f (char * (*g) (char **, int), char **p, …)
    | {
    | char *s;
    | va_list v;
    | va_start (v,p);
    | s = g (p, va_arg (v,int));
    | va_end (v);
    | return s;
    | }
    |
    | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
    | function prototypes and stuff, but not ‘\xHH’ hex character constants.
    | These don’t provoke an error unfortunately, instead are silently treated
    | as ‘x’. The following induces an error, until -std is added to get
    | proper ANSI mode. Curiously ‘\x00′!=’x’ always comes out true, for an
    | array size at least. It’s necessary to write ‘\x00′==0 to get something
    | that’s true only with -std. */
    | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    |
    | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    | inside strings and character constants. */
    | #define FOO(x) ‘x’
    | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    |
    | int test (int i, double x);
    | struct s1 {int (*f) (int a);};
    | struct s2 {int (*f) (double a);};
    | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    | int argc;
    | char **argv;
    | int
    | main ()
    | {
    | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
    | ;
    | return 0;
    | }
    configure:3613: arm-linux-gnueabi-g++-4.5 -qlanglvl=extc89 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    arm-linux-gnueabi-g++-4.5: unrecognized option ‘-qlanglvl=extc89′
    conftest.c:16:17: error: ‘p’ was not declared in this scope
    conftest.c:16:20: error: ‘i’ was not declared in this scope
    conftest.c:16:21: error: initializer expression list treated as compound expression
    conftest.c:17:6: error: expected ‘,’ or ‘;’ before ‘char’
    conftest.c:19:1: error: expected unqualified-id before ‘{‘ token
    conftest.c: In function ‘int main()’:
    conftest.c:55:21: error: cannot convert ‘char*’ to ‘char* (*)(char**, int)’ for argument ’1′ to ‘char* f(char* (*)(char**, int), char**, …)’
    conftest.c:55:52: error: cannot convert ‘char*’ to ‘char* (*)(char**, int)’ for argument ’1′ to ‘char* f(char* (*)(char**, int), char**, …)’
    configure:3613: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | /* end confdefs.h. */
    | #include
    | #include
    | #include
    | #include
    | /* Most of the following tests are stolen from RCS 5.7′s src/conf.sh. */
    | struct buf { int x; };
    | FILE * (*rcsopen) (struct buf *, struct stat *, int);
    | static char *e (p, i)
    | char **p;
    | int i;
    | {
    | return p[i];
    | }
    | static char *f (char * (*g) (char **, int), char **p, …)
    | {
    | char *s;
    | va_list v;
    | va_start (v,p);
    | s = g (p, va_arg (v,int));
    | va_end (v);
    | return s;
    | }
    |
    | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
    | function prototypes and stuff, but not ‘\xHH’ hex character constants.
    | These don’t provoke an error unfortunately, instead are silently treated
    | as ‘x’. The following induces an error, until -std is added to get
    | proper ANSI mode. Curiously ‘\x00′!=’x’ always comes out true, for an
    | array size at least. It’s necessary to write ‘\x00′==0 to get something
    | that’s true only with -std. */
    | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    |
    | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    | inside strings and character constants. */
    | #define FOO(x) ‘x’
    | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    |
    | int test (int i, double x);
    | struct s1 {int (*f) (int a);};
    | struct s2 {int (*f) (double a);};
    | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    | int argc;
    | char **argv;
    | int
    | main ()
    | {
    | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
    | ;
    | return 0;
    | }
    configure:3613: arm-linux-gnueabi-g++-4.5 -qlanglvl=ansi -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    arm-linux-gnueabi-g++-4.5: unrecognized option ‘-qlanglvl=ansi’
    conftest.c:16:17: error: ‘p’ was not declared in this scope
    conftest.c:16:20: error: ‘i’ was not declared in this scope
    conftest.c:16:21: error: initializer expression list treated as compound expression
    conftest.c:17:6: error: expected ‘,’ or ‘;’ before ‘char’
    conftest.c:19:1: error: expected unqualified-id before ‘{‘ token
    conftest.c: In function ‘int main()’:
    conftest.c:55:21: error: cannot convert ‘char*’ to ‘char* (*)(char**, int)’ for argument ’1′ to ‘char* f(char* (*)(char**, int), char**, …)’
    conftest.c:55:52: error: cannot convert ‘char*’ to ‘char* (*)(char**, int)’ for argument ’1′ to ‘char* f(char* (*)(char**, int), char**, …)’
    configure:3613: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | /* end confdefs.h. */
    | #include
    | #include
    | #include
    | #include
    | /* Most of the following tests are stolen from RCS 5.7′s src/conf.sh. */
    | struct buf { int x; };
    | FILE * (*rcsopen) (struct buf *, struct stat *, int);
    | static char *e (p, i)
    | char **p;
    | int i;
    | {
    | return p[i];
    | }
    | static char *f (char * (*g) (char **, int), char **p, …)
    | {
    | char *s;
    | va_list v;
    | va_start (v,p);
    | s = g (p, va_arg (v,int));
    | va_end (v);
    | return s;
    | }
    |
    | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
    | function prototypes and stuff, but not ‘\xHH’ hex character constants.
    | These don’t provoke an error unfortunately, instead are silently treated
    | as ‘x’. The following induces an error, until -std is added to get
    | proper ANSI mode. Curiously ‘\x00′!=’x’ always comes out true, for an
    | array size at least. It’s necessary to write ‘\x00′==0 to get something
    | that’s true only with -std. */
    | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    |
    | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    | inside strings and character constants. */
    | #define FOO(x) ‘x’
    | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    |
    | int test (int i, double x);
    | struct s1 {int (*f) (int a);};
    | struct s2 {int (*f) (double a);};
    | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    | int argc;
    | char **argv;
    | int
    | main ()
    | {
    | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
    | ;
    | return 0;
    | }
    configure:3613: arm-linux-gnueabi-g++-4.5 -std -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    cc1plus: error: unrecognized command line option “-std”
    configure:3613: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | /* end confdefs.h. */
    | #include
    | #include
    | #include
    | #include
    | /* Most of the following tests are stolen from RCS 5.7′s src/conf.sh. */
    | struct buf { int x; };
    | FILE * (*rcsopen) (struct buf *, struct stat *, int);
    | static char *e (p, i)
    | char **p;
    | int i;
    | {
    | return p[i];
    | }
    | static char *f (char * (*g) (char **, int), char **p, …)
    | {
    | char *s;
    | va_list v;
    | va_start (v,p);
    | s = g (p, va_arg (v,int));
    | va_end (v);
    | return s;
    | }
    |
    | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
    | function prototypes and stuff, but not ‘\xHH’ hex character constants.
    | These don’t provoke an error unfortunately, instead are silently treated
    | as ‘x’. The following induces an error, until -std is added to get
    | proper ANSI mode. Curiously ‘\x00′!=’x’ always comes out true, for an
    | array size at least. It’s necessary to write ‘\x00′==0 to get something
    | that’s true only with -std. */
    | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    |
    | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    | inside strings and character constants. */
    | #define FOO(x) ‘x’
    | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    |
    | int test (int i, double x);
    | struct s1 {int (*f) (int a);};
    | struct s2 {int (*f) (double a);};
    | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    | int argc;
    | char **argv;
    | int
    | main ()
    | {
    | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
    | ;
    | return 0;
    | }
    configure:3613: arm-linux-gnueabi-g++-4.5 -Ae -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    :0:1: error: missing ‘(‘ after predicate
    conftest.c:16:17: error: ‘p’ was not declared in this scope
    conftest.c:16:20: error: ‘i’ was not declared in this scope
    conftest.c:16:21: error: initializer expression list treated as compound expression
    conftest.c:17:6: error: expected ‘,’ or ‘;’ before ‘char’
    conftest.c:19:1: error: expected unqualified-id before ‘{‘ token
    conftest.c: In function ‘int main()’:
    conftest.c:55:21: error: cannot convert ‘char*’ to ‘char* (*)(char**, int)’ for argument ’1′ to ‘char* f(char* (*)(char**, int), char**, …)’
    conftest.c:55:52: error: cannot convert ‘char*’ to ‘char* (*)(char**, int)’ for argument ’1′ to ‘char* f(char* (*)(char**, int), char**, …)’
    configure:3613: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | /* end confdefs.h. */
    | #include
    | #include
    | #include
    | #include
    | /* Most of the following tests are stolen from RCS 5.7′s src/conf.sh. */
    | struct buf { int x; };
    | FILE * (*rcsopen) (struct buf *, struct stat *, int);
    | static char *e (p, i)
    | char **p;
    | int i;
    | {
    | return p[i];
    | }
    | static char *f (char * (*g) (char **, int), char **p, …)
    | {
    | char *s;
    | va_list v;
    | va_start (v,p);
    | s = g (p, va_arg (v,int));
    | va_end (v);
    | return s;
    | }
    |
    | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
    | function prototypes and stuff, but not ‘\xHH’ hex character constants.
    | These don’t provoke an error unfortunately, instead are silently treated
    | as ‘x’. The following induces an error, until -std is added to get
    | proper ANSI mode. Curiously ‘\x00′!=’x’ always comes out true, for an
    | array size at least. It’s necessary to write ‘\x00′==0 to get something
    | that’s true only with -std. */
    | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    |
    | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    | inside strings and character constants. */
    | #define FOO(x) ‘x’
    | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    |
    | int test (int i, double x);
    | struct s1 {int (*f) (int a);};
    | struct s2 {int (*f) (double a);};
    | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    | int argc;
    | char **argv;
    | int
    | main ()
    | {
    | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
    | ;
    | return 0;
    | }
    configure:3613: arm-linux-gnueabi-g++-4.5 -Aa -D_HPUX_SOURCE -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    :0:1: error: missing ‘(‘ after predicate
    conftest.c:16:17: error: ‘p’ was not declared in this scope
    conftest.c:16:20: error: ‘i’ was not declared in this scope
    conftest.c:16:21: error: initializer expression list treated as compound expression
    conftest.c:17:6: error: expected ‘,’ or ‘;’ before ‘char’
    conftest.c:19:1: error: expected unqualified-id before ‘{‘ token
    conftest.c: In function ‘int main()’:
    conftest.c:55:21: error: cannot convert ‘char*’ to ‘char* (*)(char**, int)’ for argument ’1′ to ‘char* f(char* (*)(char**, int), char**, …)’
    conftest.c:55:52: error: cannot convert ‘char*’ to ‘char* (*)(char**, int)’ for argument ’1′ to ‘char* f(char* (*)(char**, int), char**, …)’
    configure:3613: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | /* end confdefs.h. */
    | #include
    | #include
    | #include
    | #include
    | /* Most of the following tests are stolen from RCS 5.7′s src/conf.sh. */
    | struct buf { int x; };
    | FILE * (*rcsopen) (struct buf *, struct stat *, int);
    | static char *e (p, i)
    | char **p;
    | int i;
    | {
    | return p[i];
    | }
    | static char *f (char * (*g) (char **, int), char **p, …)
    | {
    | char *s;
    | va_list v;
    | va_start (v,p);
    | s = g (p, va_arg (v,int));
    | va_end (v);
    | return s;
    | }
    |
    | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
    | function prototypes and stuff, but not ‘\xHH’ hex character constants.
    | These don’t provoke an error unfortunately, instead are silently treated
    | as ‘x’. The following induces an error, until -std is added to get
    | proper ANSI mode. Curiously ‘\x00′!=’x’ always comes out true, for an
    | array size at least. It’s necessary to write ‘\x00′==0 to get something
    | that’s true only with -std. */
    | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    |
    | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    | inside strings and character constants. */
    | #define FOO(x) ‘x’
    | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    |
    | int test (int i, double x);
    | struct s1 {int (*f) (int a);};
    | struct s2 {int (*f) (double a);};
    | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    | int argc;
    | char **argv;
    | int
    | main ()
    | {
    | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
    | ;
    | return 0;
    | }
    configure:3613: arm-linux-gnueabi-g++-4.5 -Xc -D__EXTENSIONS__ -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    arm-linux-gnueabi-g++-4.5: unrecognized option ‘-Xc’
    conftest.c:16:17: error: ‘p’ was not declared in this scope
    conftest.c:16:20: error: ‘i’ was not declared in this scope
    conftest.c:16:21: error: initializer expression list treated as compound expression
    conftest.c:17:6: error: expected ‘,’ or ‘;’ before ‘char’
    conftest.c:19:1: error: expected unqualified-id before ‘{‘ token
    conftest.c: In function ‘int main()’:
    conftest.c:55:21: error: cannot convert ‘char*’ to ‘char* (*)(char**, int)’ for argument ’1′ to ‘char* f(char* (*)(char**, int), char**, …)’
    conftest.c:55:52: error: cannot convert ‘char*’ to ‘char* (*)(char**, int)’ for argument ’1′ to ‘char* f(char* (*)(char**, int), char**, …)’
    configure:3613: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | /* end confdefs.h. */
    | #include
    | #include
    | #include
    | #include
    | /* Most of the following tests are stolen from RCS 5.7′s src/conf.sh. */
    | struct buf { int x; };
    | FILE * (*rcsopen) (struct buf *, struct stat *, int);
    | static char *e (p, i)
    | char **p;
    | int i;
    | {
    | return p[i];
    | }
    | static char *f (char * (*g) (char **, int), char **p, …)
    | {
    | char *s;
    | va_list v;
    | va_start (v,p);
    | s = g (p, va_arg (v,int));
    | va_end (v);
    | return s;
    | }
    |
    | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
    | function prototypes and stuff, but not ‘\xHH’ hex character constants.
    | These don’t provoke an error unfortunately, instead are silently treated
    | as ‘x’. The following induces an error, until -std is added to get
    | proper ANSI mode. Curiously ‘\x00′!=’x’ always comes out true, for an
    | array size at least. It’s necessary to write ‘\x00′==0 to get something
    | that’s true only with -std. */
    | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    |
    | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    | inside strings and character constants. */
    | #define FOO(x) ‘x’
    | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    |
    | int test (int i, double x);
    | struct s1 {int (*f) (int a);};
    | struct s2 {int (*f) (double a);};
    | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    | int argc;
    | char **argv;
    | int
    | main ()
    | {
    | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
    | ;
    | return 0;
    | }
    configure:3629: result: unsupported
    configure:3646: checking for a sed that does not truncate output
    configure:3710: result: /bin/sed
    configure:3728: checking for grep that handles long lines and -e
    configure:3786: result: /bin/grep
    configure:3791: checking for egrep
    configure:3853: result: /bin/grep -E
    configure:3858: checking for fgrep
    configure:3920: result: /bin/grep -F
    configure:3955: checking for ld used by arm-linux-gnueabi-g++-4.5
    configure:4022: result: /usr/arm-linux-gnueabi/bin/ld
    configure:4029: checking if the linker (/usr/arm-linux-gnueabi/bin/ld) is GNU ld
    configure:4044: result: yes
    configure:4056: checking for BSD- or MS-compatible name lister (nm)
    configure:4105: result: /usr/bin/arm-linux-gnueabi-nm -B
    configure:4223: checking the name lister (/usr/bin/arm-linux-gnueabi-nm -B) interface
    configure:4230: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:4233: /usr/bin/arm-linux-gnueabi-nm -B “conftest.o”
    configure:4236: output
    00000000 B some_variable
    configure:4243: result: BSD nm
    configure:4246: checking whether ln -s works
    configure:4250: result: yes
    configure:4258: checking the maximum length of command line arguments
    configure:4378: result: 1572864
    configure:4395: checking whether the shell understands some XSI constructs
    configure:4405: result: yes
    configure:4409: checking whether the shell understands “+=”
    configure:4415: result: yes
    configure:4450: checking for /usr/arm-linux-gnueabi/bin/ld option to reload object files
    configure:4457: result: -r
    configure:4486: checking for arm-linux-gnueabi-objdump
    configure:4502: found /usr/bin/arm-linux-gnueabi-objdump
    configure:4513: result: arm-linux-gnueabi-objdump
    configure:4585: checking how to recognize dependent libraries
    configure:4781: result: pass_all
    configure:4801: checking for arm-linux-gnueabi-ar
    configure:4828: result: arm-linux-gnueabi-ar
    configure:4906: checking for arm-linux-gnueabi-strip
    configure:4922: found /usr/bin/arm-linux-gnueabi-strip
    configure:4933: result: arm-linux-gnueabi-strip
    configure:5005: checking for arm-linux-gnueabi-ranlib
    configure:5032: result: arm-linux-gnueabi-ranlib
    configure:5162: checking command to parse /usr/bin/arm-linux-gnueabi-nm -B output from arm-linux-gnueabi-g++-4.5 object
    configure:5280: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:5283: $? = 0
    configure:5287: /usr/bin/arm-linux-gnueabi-nm -B conftest.o \| sed -n -e ‘s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p’ \> conftest.nm
    configure:5290: $? = 0
    configure:5344: arm-linux-gnueabi-g++-4.5 -o conftest -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 -lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2 conftest.c conftstm.o >&5
    configure:5347: $? = 0
    configure:5385: result: ok
    configure:6194: checking how to run the C preprocessor
    configure:6225: arm-linux-gnueabi-g++-4.5 -E conftest.c
    configure:6225: $? = 0
    configure:6239: arm-linux-gnueabi-g++-4.5 -E conftest.c
    conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
    compilation terminated.
    configure:6239: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | /* end confdefs.h. */
    | #include
    configure:6264: result: arm-linux-gnueabi-g++-4.5 -E
    configure:6284: arm-linux-gnueabi-g++-4.5 -E conftest.c
    configure:6284: $? = 0
    configure:6298: arm-linux-gnueabi-g++-4.5 -E conftest.c
    conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
    compilation terminated.
    configure:6298: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | /* end confdefs.h. */
    | #include
    configure:6327: checking for ANSI C header files
    configure:6347: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:6347: $? = 0
    configure:6431: result: yes
    configure:6444: checking for sys/types.h
    configure:6444: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:6444: $? = 0
    configure:6444: result: yes
    configure:6444: checking for sys/stat.h
    configure:6444: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:6444: $? = 0
    configure:6444: result: yes
    configure:6444: checking for stdlib.h
    configure:6444: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:6444: $? = 0
    configure:6444: result: yes
    configure:6444: checking for string.h
    configure:6444: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:6444: $? = 0
    configure:6444: result: yes
    configure:6444: checking for memory.h
    configure:6444: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:6444: $? = 0
    configure:6444: result: yes
    configure:6444: checking for strings.h
    configure:6444: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:6444: $? = 0
    configure:6444: result: yes
    configure:6444: checking for inttypes.h
    configure:6444: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:6444: $? = 0
    configure:6444: result: yes
    configure:6444: checking for stdint.h
    configure:6444: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:6444: $? = 0
    configure:6444: result: yes
    configure:6444: checking for unistd.h
    configure:6444: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:6444: $? = 0
    configure:6444: result: yes
    configure:6458: checking for dlfcn.h
    configure:6458: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:6458: $? = 0
    configure:6458: result: yes
    configure:6612: checking for objdir
    configure:6627: result: .libs
    configure:6923: checking if arm-linux-gnueabi-g++-4.5 supports -fno-rtti -fno-exceptions
    configure:6941: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 -fno-rtti -fno-exceptions conftest.c >&5
    configure:6945: $? = 0
    configure:6958: result: yes
    configure:6978: checking for arm-linux-gnueabi-g++-4.5 option to produce PIC
    configure:7250: result: -fPIC -DPIC
    configure:7262: checking if arm-linux-gnueabi-g++-4.5 PIC flag -fPIC -DPIC works
    configure:7280: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 -fPIC -DPIC -DPIC conftest.c >&5
    configure:7284: $? = 0
    configure:7297: result: yes
    configure:7321: checking if arm-linux-gnueabi-g++-4.5 static flag -static works
    configure:7349: result: yes
    configure:7364: checking if arm-linux-gnueabi-g++-4.5 supports -c -o file.o
    configure:7385: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 -o out/conftest2.o conftest.c >&5
    configure:7389: $? = 0
    configure:7411: result: yes
    configure:7419: checking if arm-linux-gnueabi-g++-4.5 supports -c -o file.o
    configure:7466: result: yes
    configure:7499: checking whether the arm-linux-gnueabi-g++-4.5 linker (/usr/arm-linux-gnueabi/bin/ld) supports shared libraries
    configure:8490: result: yes
    configure:8527: checking whether -lc should be explicitly linked in
    configure:8532: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 conftest.c >&5
    configure:8535: $? = 0
    configure:8550: arm-linux-gnueabi-g++-4.5 -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
    configure:8553: $? = 0
    configure:8565: result: no
    configure:8729: checking dynamic linker characteristics
    configure:9162: arm-linux-gnueabi-g++-4.5 -o conftest -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 -lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2 -Wl,-rpath -Wl,/foo conftest.c >&5
    configure:9162: $? = 0
    configure:9392: result: GNU/Linux ld.so
    configure:9494: checking how to hardcode library paths into programs
    configure:9519: result: immediate
    configure:10039: checking whether stripping libraries is possible
    configure:10044: result: yes
    configure:10079: checking if libtool supports shared libraries
    configure:10081: result: yes
    configure:10084: checking whether to build shared libraries
    configure:10105: result: yes
    configure:10108: checking whether to build static libraries
    configure:10112: result: no
    configure:10171: checking for a BSD-compatible install
    configure:10239: result: /usr/bin/install -c
    configure:10250: checking whether build environment is sane
    configure:10300: result: yes
    configure:10349: checking for arm-linux-gnueabi-strip
    configure:10376: result: arm-linux-gnueabi-strip
    configure:10441: checking for a thread-safe mkdir -p
    configure:10480: result: /bin/mkdir -p
    configure:10493: checking for gawk
    configure:10509: found /usr/bin/gawk
    configure:10520: result: gawk
    configure:10531: checking whether make sets $(MAKE)
    configure:10553: result: yes
    configure:10583: checking for style of include used by make
    configure:10611: result: GNU
    configure:10696: checking dependency style of arm-linux-gnueabi-g++-4.5
    configure:10806: result: gcc3
    configure:10849: checking for arm-linux-gnueabi-g++
    configure:10879: result: no
    configure:10849: checking for arm-linux-gnueabi-c++
    configure:10879: result: no
    configure:10849: checking for arm-linux-gnueabi-gpp
    configure:10879: result: no
    configure:10849: checking for arm-linux-gnueabi-aCC
    configure:10879: result: no
    configure:10849: checking for arm-linux-gnueabi-CC
    configure:10879: result: no
    configure:10849: checking for arm-linux-gnueabi-cxx
    configure:10879: result: no
    configure:10849: checking for arm-linux-gnueabi-cc++
    configure:10879: result: no
    configure:10849: checking for arm-linux-gnueabi-cl.exe
    configure:10879: result: no
    configure:10849: checking for arm-linux-gnueabi-FCC
    configure:10879: result: no
    configure:10849: checking for arm-linux-gnueabi-KCC
    configure:10879: result: no
    configure:10849: checking for arm-linux-gnueabi-RCC
    configure:10879: result: no
    configure:10849: checking for arm-linux-gnueabi-xlC_r
    configure:10879: result: no
    configure:10849: checking for arm-linux-gnueabi-xlC
    configure:10879: result: no
    configure:10893: checking for g++
    configure:10909: found /usr/bin/g++
    configure:10920: result: g++
    configure:10936: WARNING: using cross tools not prefixed with host triplet
    configure:10947: checking for C++ compiler version
    configure:10956: g++ –version >&5
    g++ (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
    Copyright (C) 2009 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    configure:10967: $? = 0
    configure:10956: g++ -v >&5
    Using built-in specs.
    Target: i486-linux-gnu
    Configured with: ../src/configure -v –with-pkgversion=’Ubuntu 4.4.3-4ubuntu5.1′ –with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs –enable-languages=c,c++,fortran,objc,obj-c++ –prefix=/usr –enable-shared –enable-multiarch –enable-linker-build-id –with-system-zlib –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –with-gxx-include-dir=/usr/include/c++/4.4 –program-suffix=-4.4 –enable-nls –enable-clocale=gnu –enable-libstdcxx-debug –enable-plugin –enable-objc-gc –enable-targets=all –disable-werror –with-arch-32=i486 –with-tune=generic –enable-checking=release –build=i486-linux-gnu –host=i486-linux-gnu –target=i486-linux-gnu
    Thread model: posix
    gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
    configure:10967: $? = 0
    configure:10956: g++ -V >&5
    g++: ‘-V’ option must have argument
    configure:10967: $? = 1
    configure:10956: g++ -qversion >&5
    g++: unrecognized option ‘-qversion’
    g++: no input files
    configure:10967: $? = 1
    configure:10971: checking whether we are using the GNU C++ compiler
    configure:10990: g++ -c -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 conftest.cpp >&5
    configure:10990: $? = 0
    configure:10999: result: yes
    configure:11008: checking whether g++ accepts -g
    configure:11028: g++ -c -g conftest.cpp >&5
    configure:11028: $? = 0
    configure:11069: result: yes
    configure:11205: checking for C++ compiler version
    configure:11214: g++ –version >&5
    g++ (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
    Copyright (C) 2009 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    configure:11225: $? = 0
    configure:11214: g++ -v >&5
    Using built-in specs.
    Target: i486-linux-gnu
    Configured with: ../src/configure -v –with-pkgversion=’Ubuntu 4.4.3-4ubuntu5.1′ –with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs –enable-languages=c,c++,fortran,objc,obj-c++ –prefix=/usr –enable-shared –enable-multiarch –enable-linker-build-id –with-system-zlib –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –with-gxx-include-dir=/usr/include/c++/4.4 –program-suffix=-4.4 –enable-nls –enable-clocale=gnu –enable-libstdcxx-debug –enable-plugin –enable-objc-gc –enable-targets=all –disable-werror –with-arch-32=i486 –with-tune=generic –enable-checking=release –build=i486-linux-gnu –host=i486-linux-gnu –target=i486-linux-gnu
    Thread model: posix
    gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
    configure:11225: $? = 0
    configure:11214: g++ -V >&5
    g++: ‘-V’ option must have argument
    configure:11225: $? = 1
    configure:11214: g++ -qversion >&5
    g++: unrecognized option ‘-qversion’
    g++: no input files
    configure:11225: $? = 1
    configure:11229: checking whether we are using the GNU C++ compiler
    configure:11257: result: yes
    configure:11266: checking whether g++ accepts -g
    configure:11327: result: yes
    configure:11352: checking dependency style of g++
    configure:11462: result: gcc3
    configure:11485: checking how to run the C++ preprocessor
    configure:11512: g++ -E conftest.cpp
    configure:11512: $? = 0
    configure:11526: g++ -E conftest.cpp
    conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory
    configure:11526: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR “.libs/”
    | #define PACKAGE “libavg”
    | #define VERSION “1.7.1″
    | /* end confdefs.h. */
    | #include
    configure:11551: result: g++ -E
    configure:11571: g++ -E conftest.cpp
    configure:11571: $? = 0
    configure:11585: g++ -E conftest.cpp
    conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory
    configure:11585: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR “.libs/”
    | #define PACKAGE “libavg”
    | #define VERSION “1.7.1″
    | /* end confdefs.h. */
    | #include
    configure:11753: checking for ld used by g++
    configure:11820: result: /usr/arm-linux-gnueabi/bin/ld
    configure:11827: checking if the linker (/usr/arm-linux-gnueabi/bin/ld) is GNU ld
    configure:11842: result: yes
    configure:11897: checking whether the g++ linker (/usr/arm-linux-gnueabi/bin/ld) supports shared libraries
    configure:12810: result: yes
    configure:12838: g++ -c -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 conftest.cpp >&5
    configure:12841: $? = 0
    configure:13023: checking for g++ option to produce PIC
    configure:13340: result: -fPIC -DPIC
    configure:13349: checking if g++ PIC flag -fPIC -DPIC works
    configure:13367: g++ -c -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 -fPIC -DPIC -DPIC conftest.cpp >&5
    configure:13371: $? = 0
    configure:13384: result: yes
    configure:13405: checking if g++ static flag -static works
    configure:13433: result: no
    configure:13445: checking if g++ supports -c -o file.o
    configure:13466: g++ -c -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 -o out/conftest2.o conftest.cpp >&5
    configure:13470: $? = 0
    configure:13492: result: yes
    configure:13497: checking if g++ supports -c -o file.o
    configure:13544: result: yes
    configure:13574: checking whether the g++ linker (/usr/arm-linux-gnueabi/bin/ld) supports shared libraries
    configure:13603: result: yes
    configure:13740: checking dynamic linker characteristics
    configure:14121: g++ -o conftest -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 -lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2 -Wl,-rpath -Wl,/foo conftest.cpp >&5
    /usr/bin/ld: cannot find -lgdk_pixbuf-2.0
    collect2: ld returned 1 exit status
    configure:14121: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR “.libs/”
    | #define PACKAGE “libavg”
    | #define VERSION “1.7.1″
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:14351: result: GNU/Linux ld.so
    configure:14402: checking how to hardcode library paths into programs
    configure:14427: result: immediate
    configure:14468: checking dependency style of g++
    configure:14578: result: gcc3
    configure:14601: checking for arm-linux-gnueabi-gcc
    configure:14628: result: arm-linux-gnueabi-g++-4.5
    configure:14897: checking for C compiler version
    configure:14906: arm-linux-gnueabi-g++-4.5 –version >&5
    arm-linux-gnueabi-g++-4.5 (Ubuntu/Linaro 4.5.3-12ubuntu1~ppa1) 4.5.3
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    configure:14917: $? = 0
    configure:14906: arm-linux-gnueabi-g++-4.5 -v >&5
    Using built-in specs.
    COLLECT_GCC=arm-linux-gnueabi-g++-4.5
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.5.3/lto-wrapper
    Target: arm-linux-gnueabi
    Configured with: ../src/configure -v –with-pkgversion=’Ubuntu/Linaro 4.5.3-12ubuntu1~ppa1′ –with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs –enable-languages=c,c++,fortran,objc,obj-c++ –prefix=/usr –program-suffix=-4.5 –enable-shared –enable-linker-build-id –with-system-zlib –libexecdir=/usr/lib –without-included-gettext –enable-threads=posix –with-gxx-include-dir=/usr/arm-linux-gnueabi/include/c++/4.5.3 –libdir=/usr/lib –enable-nls –enable-clocale=gnu –enable-libstdcxx-debug –enable-libstdcxx-time=yes –enable-plugin –enable-gold –enable-ld=default –with-plugin-ld=ld.gold –enable-objc-gc –disable-sjlj-exceptions –with-arch=armv7-a –with-float=softfp –with-fpu=vfpv3-d16 –with-mode=thumb –disable-werror –enable-checking=release –program-prefix=arm-linux-gnueabi- –includedir=/usr/arm-linux-gnueabi/include –build=i486-linux-gnu –host=i486-linux-gnu –target=arm-linux-gnueabi –with-headers=/usr/arm-linux-gnueabi/include –with-libs=/usr/arm-linux-gnueabi/lib
    Thread model: posix
    gcc version 4.5.3 (Ubuntu/Linaro 4.5.3-12ubuntu1~ppa1)
    configure:14917: $? = 0
    configure:14906: arm-linux-gnueabi-g++-4.5 -V >&5
    arm-linux-gnueabi-g++-4.5: ‘-V’ option must have argument
    configure:14917: $? = 1
    configure:14906: arm-linux-gnueabi-g++-4.5 -qversion >&5
    arm-linux-gnueabi-g++-4.5: unrecognized option ‘-qversion’
    arm-linux-gnueabi-g++-4.5: no input files
    configure:14917: $? = 1
    configure:14921: checking whether we are using the GNU C compiler
    configure:14949: result: yes
    configure:14958: checking whether arm-linux-gnueabi-g++-4.5 accepts -g
    configure:15019: result: yes
    configure:15036: checking for arm-linux-gnueabi-g++-4.5 option to accept ISO C89
    configure:15116: result: unsupported
    configure:15138: checking how to run the C preprocessor
    configure:15208: result: arm-linux-gnueabi-g++-4.5 -E
    configure:15228: arm-linux-gnueabi-g++-4.5 -E conftest.c
    configure:15228: $? = 0
    configure:15242: arm-linux-gnueabi-g++-4.5 -E conftest.c
    conftest.c:23:28: fatal error: ac_nonexistent.h: No such file or directory
    compilation terminated.
    configure:15242: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR “.libs/”
    | #define PACKAGE “libavg”
    | #define VERSION “1.7.1″
    | /* end confdefs.h. */
    | #include
    configure:15286: checking dependency style of gcc
    configure:15394: result: gcc3
    configure:15411: checking for library containing clock_gettime
    configure:15442: arm-linux-gnueabi-g++-4.5 -o conftest -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 -Wall -pipe -lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2 -rdynamic conftest.c >&5
    configure:15442: $? = 0
    configure:15459: result: none required
    configure:15501: checking for xml2-config
    configure:15519: found /usr/bin/xml2-config
    configure:15532: result: /usr/bin/xml2-config
    configure:15540: checking for xml2
    configure:15551: result: yes
    configure:15579: checking for arm-linux-gnueabi-pkg-config
    configure:15612: result: no
    configure:15622: checking for pkg-config
    configure:15640: found /usr/bin/pkg-config
    configure:15652: result: /usr/bin/pkg-config
    configure:15677: checking pkg-config is at least version 0.9.0
    configure:15680: result: yes
    configure:15691: checking for PANGOFT2_CFLAGS
    configure:15712: result: -I/usr/arm-linux-gnueabi/include/
    configure:15714: checking for PANGOFT2_LIBS
    configure:15735: result: -L/usr/arm-linux-gnueabi/lib/
    configure:15801: checking for freetype-config
    configure:15819: found /usr/bin/freetype-config
    configure:15832: result: /usr/bin/freetype-config
    configure:15840: checking for freetype
    configure:15851: result: yes
    configure:15876: checking for GDK_PIXBUF_CFLAGS
    configure:15897: result: -I/usr/arm-linux-gnueabi/include/
    configure:15899: checking for GDK_PIXBUF_LIBS
    configure:15920: result: -L/usr/arm-linux-gnueabi/lib/
    configure:15955: checking for LIBRSVG_CFLAGS
    configure:15976: result: -I/usr/arm-linux-gnueabi/include/
    configure:15978: checking for LIBRSVG_LIBS
    configure:15999: result: -L/usr/arm-linux-gnueabi/lib/
    configure:16034: checking for FONTCONFIG_CFLAGS
    configure:16055: result: -I/usr/arm-linux-gnueabi/include/
    configure:16057: checking for FONTCONFIG_LIBS
    configure:16078: result: -L/usr/arm-linux-gnueabi/lib/
    configure:16114: checking for FFMPEG_CFLAGS
    configure:16135: result: -I/usr/arm-linux-gnueabi/include/
    configure:16137: checking for FFMPEG_LIBS
    configure:16158: result: -L/usr/arm-linux-gnueabi/lib/
    configure:16180: checking libavformat/avformat.h usability
    configure:16180: arm-linux-gnueabi-g++-4.5 -c -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 -Wall -pipe -I/usr/arm-linux-gnueabi/include/ -I/usr/arm-linux-gnueabi/include/ conftest.c >&5
    configure:16180: $? = 0
    configure:16180: result: yes
    configure:16180: checking libavformat/avformat.h presence
    configure:16180: arm-linux-gnueabi-g++-4.5 -E -I/usr/arm-linux-gnueabi/include/ conftest.c
    configure:16180: $? = 0
    configure:16180: result: yes
    configure:16180: checking for libavformat/avformat.h
    configure:16180: result: yes
    configure:16204: checking for python
    configure:16222: found /usr/bin/python
    configure:16234: result: /usr/bin/python
    configure:16255: checking for python version
    configure:16262: result: 2.6
    configure:16274: checking for python platform
    configure:16281: result: linux2
    configure:16288: checking for python script directory
    configure:16317: result: ${prefix}/lib/python2.6/site-packages
    configure:16326: checking for python extension module directory
    configure:16355: result: ${exec_prefix}/lib/python2.6/site-packages
    configure:16370: checking for headers required to compile python extensions
    configure:16385: arm-linux-gnueabi-g++-4.5 -E -I/usr/arm-linux-gnueabi/include/ -I/usr/include/python2.6 conftest.c
    conftest.c:24:20: fatal error: Python.h: No such file or directory
    compilation terminated.
    configure:16385: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME “libavg”
    | #define PACKAGE_TARNAME “libavg”
    | #define PACKAGE_VERSION “1.7.1″
    | #define PACKAGE_STRING “libavg 1.7.1″
    | #define PACKAGE_BUGREPORT “[email protected]
    | #define PACKAGE_URL “”
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | #define LT_OBJDIR “.libs/”
    | #define PACKAGE “libavg”
    | #define VERSION “1.7.1″
    | #define HAVE_LIBAVFORMAT_AVFORMAT_H 1
    | /* end confdefs.h. */
    | #include
    configure:16390: result: not found
    configure:16400: checking for libpython2.6
    configure:16419: result: not found
    configure:16426: error: could not find files required to build python plugin

    ## —————- ##
    ## Cache variables. ##
    ## —————- ##

    ac_cv_build=i686-pc-linux-gnu
    ac_cv_c_compiler_gnu=yes
    ac_cv_cxx_compiler_gnu=yes
    ac_cv_env_BOOST_PYTHON_LIBS_set=
    ac_cv_env_BOOST_PYTHON_LIBS_value=
    ac_cv_env_CCC_set=
    ac_cv_env_CCC_value=
    ac_cv_env_CC_set=set
    ac_cv_env_CC_value=arm-linux-gnueabi-g++-4.5
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value=’-I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0′
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_CXXCPP_set=
    ac_cv_env_CXXCPP_value=
    ac_cv_env_CXXFLAGS_set=set
    ac_cv_env_CXXFLAGS_value=’-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′
    ac_cv_env_CXX_set=
    ac_cv_env_CXX_value=
    ac_cv_env_DC1394_2_CFLAGS_set=
    ac_cv_env_DC1394_2_CFLAGS_value=
    ac_cv_env_DC1394_2_LIBS_set=
    ac_cv_env_DC1394_2_LIBS_value=
    ac_cv_env_FFMPEG_CFLAGS_set=set
    ac_cv_env_FFMPEG_CFLAGS_value=-I/usr/arm-linux-gnueabi/include/
    ac_cv_env_FFMPEG_LIBS_set=set
    ac_cv_env_FFMPEG_LIBS_value=-L/usr/arm-linux-gnueabi/lib/
    ac_cv_env_FONTCONFIG_CFLAGS_set=set
    ac_cv_env_FONTCONFIG_CFLAGS_value=-I/usr/arm-linux-gnueabi/include/
    ac_cv_env_FONTCONFIG_LIBS_set=set
    ac_cv_env_FONTCONFIG_LIBS_value=-L/usr/arm-linux-gnueabi/lib/
    ac_cv_env_GDK_PIXBUF_CFLAGS_set=set
    ac_cv_env_GDK_PIXBUF_CFLAGS_value=-I/usr/arm-linux-gnueabi/include/
    ac_cv_env_GDK_PIXBUF_LIBS_set=set
    ac_cv_env_GDK_PIXBUF_LIBS_value=-L/usr/arm-linux-gnueabi/lib/
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value=’-lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2′
    ac_cv_env_LIBRSVG_CFLAGS_set=set
    ac_cv_env_LIBRSVG_CFLAGS_value=-I/usr/arm-linux-gnueabi/include/
    ac_cv_env_LIBRSVG_LIBS_set=set
    ac_cv_env_LIBRSVG_LIBS_value=-L/usr/arm-linux-gnueabi/lib/
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_MTDEV_CFLAGS_set=
    ac_cv_env_MTDEV_CFLAGS_value=
    ac_cv_env_MTDEV_LIBS_set=
    ac_cv_env_MTDEV_LIBS_value=
    ac_cv_env_PANGOFT2_CFLAGS_set=set
    ac_cv_env_PANGOFT2_CFLAGS_value=-I/usr/arm-linux-gnueabi/include/
    ac_cv_env_PANGOFT2_LIBS_set=set
    ac_cv_env_PANGOFT2_LIBS_value=-L/usr/arm-linux-gnueabi/lib/
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_value=
    ac_cv_env_XI2_1_CFLAGS_set=
    ac_cv_env_XI2_1_CFLAGS_value=
    ac_cv_env_XI2_1_LIBS_set=
    ac_cv_env_XI2_1_LIBS_value=
    ac_cv_env_XI2_2_CFLAGS_set=
    ac_cv_env_XI2_2_CFLAGS_value=
    ac_cv_env_XI2_2_LIBS_set=
    ac_cv_env_XI2_2_LIBS_value=
    ac_cv_env_XMKMF_set=
    ac_cv_env_XMKMF_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=set
    ac_cv_env_host_alias_value=arm-linux-gnueabi
    ac_cv_env_target_alias_set=set
    ac_cv_env_target_alias_value=arm-linux-gnueabi
    ac_cv_header_dlfcn_h=yes
    ac_cv_header_inttypes_h=yes
    ac_cv_header_libavformat_avformat_h=yes
    ac_cv_header_memory_h=yes
    ac_cv_header_stdc=yes
    ac_cv_header_stdint_h=yes
    ac_cv_header_stdlib_h=yes
    ac_cv_header_string_h=yes
    ac_cv_header_strings_h=yes
    ac_cv_header_sys_stat_h=yes
    ac_cv_header_sys_types_h=yes
    ac_cv_header_unistd_h=yes
    ac_cv_host=arm-unknown-linux-gnueabi
    ac_cv_objext=o
    ac_cv_path_EGREP=’/bin/grep -E’
    ac_cv_path_FGREP=’/bin/grep -F’
    ac_cv_path_FREETYPE_CONFIG=/usr/bin/freetype-config
    ac_cv_path_GREP=/bin/grep
    ac_cv_path_PYTHON=/usr/bin/python
    ac_cv_path_SED=/bin/sed
    ac_cv_path_XML2_CONFIG=/usr/bin/xml2-config
    ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
    ac_cv_path_install=’/usr/bin/install -c’
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AR=arm-linux-gnueabi-ar
    ac_cv_prog_AWK=gawk
    ac_cv_prog_CC=arm-linux-gnueabi-g++-4.5
    ac_cv_prog_CPP=’arm-linux-gnueabi-g++-4.5 -E’
    ac_cv_prog_CXXCPP=’g++ -E’
    ac_cv_prog_OBJDUMP=arm-linux-gnueabi-objdump
    ac_cv_prog_RANLIB=arm-linux-gnueabi-ranlib
    ac_cv_prog_STRIP=arm-linux-gnueabi-strip
    ac_cv_prog_ac_ct_CXX=g++
    ac_cv_prog_cc_c89=no
    ac_cv_prog_cc_g=yes
    ac_cv_prog_cxx_g=yes
    ac_cv_prog_make_make_set=yes
    ac_cv_search_clock_gettime=’none required’
    ac_cv_target=arm-unknown-linux-gnueabi
    am_cv_CC_dependencies_compiler_type=gcc3
    am_cv_CXX_dependencies_compiler_type=gcc3
    am_cv_OBJC_dependencies_compiler_type=gcc3
    am_cv_python_platform=linux2
    am_cv_python_pyexecdir=’${exec_prefix}/lib/python2.6/site-packages’
    am_cv_python_pythondir=’${prefix}/lib/python2.6/site-packages’
    am_cv_python_version=2.6
    lt_cv_deplibs_check_method=pass_all
    lt_cv_file_magic_cmd=’$MAGIC_CMD’
    lt_cv_file_magic_test_file=
    lt_cv_ld_reload_flag=-r
    lt_cv_nm_interface=’BSD nm’
    lt_cv_objdir=.libs
    lt_cv_path_LD=/usr/arm-linux-gnueabi/bin/ld
    lt_cv_path_LDCXX=/usr/arm-linux-gnueabi/bin/ld
    lt_cv_path_NM=’/usr/bin/arm-linux-gnueabi-nm -B’
    lt_cv_prog_compiler_c_o=yes
    lt_cv_prog_compiler_c_o_CXX=yes
    lt_cv_prog_compiler_pic_works=yes
    lt_cv_prog_compiler_pic_works_CXX=yes
    lt_cv_prog_compiler_rtti_exceptions=yes
    lt_cv_prog_compiler_static_works=yes
    lt_cv_prog_compiler_static_works_CXX=no
    lt_cv_prog_gnu_ld=yes
    lt_cv_prog_gnu_ldcxx=yes
    lt_cv_sys_global_symbol_pipe=’sed -n -e ‘\”s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p’\”’
    lt_cv_sys_global_symbol_to_c_name_address=’sed -n -e ‘\”s/^: \([^ ]*\) $/ {\”\1\”, (void *) 0},/p’\” -e ‘\”s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {“\2″, (void *) \&\2},/p’\”’
    lt_cv_sys_global_symbol_to_c_name_address_lib_prefix=’sed -n -e ‘\”s/^: \([^ ]*\) $/ {\”\1\”, (void *) 0},/p’\” -e ‘\”s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {“\2″, (void *) \&\2},/p’\” -e ‘\”s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {“lib\2″, (void *) \&\2},/p’\”’
    lt_cv_sys_global_symbol_to_cdecl=’sed -n -e ‘\”s/^T .* \(.*\)$/extern int \1();/p’\” -e ‘\”s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p’\”’
    lt_cv_sys_max_cmd_len=1572864
    pkg_cv_FFMPEG_CFLAGS=-I/usr/arm-linux-gnueabi/include/
    pkg_cv_FFMPEG_LIBS=-L/usr/arm-linux-gnueabi/lib/
    pkg_cv_FONTCONFIG_CFLAGS=-I/usr/arm-linux-gnueabi/include/
    pkg_cv_FONTCONFIG_LIBS=-L/usr/arm-linux-gnueabi/lib/
    pkg_cv_GDK_PIXBUF_CFLAGS=-I/usr/arm-linux-gnueabi/include/
    pkg_cv_GDK_PIXBUF_LIBS=-L/usr/arm-linux-gnueabi/lib/
    pkg_cv_LIBRSVG_CFLAGS=-I/usr/arm-linux-gnueabi/include/
    pkg_cv_LIBRSVG_LIBS=-L/usr/arm-linux-gnueabi/lib/
    pkg_cv_PANGOFT2_CFLAGS=-I/usr/arm-linux-gnueabi/include/
    pkg_cv_PANGOFT2_LIBS=-L/usr/arm-linux-gnueabi/lib/

    ## —————– ##
    ## Output variables. ##
    ## —————– ##

    ACLOCAL=’${SHELL} /home/administrateur/Bureau/libavg-1.7.1/missing –run aclocal-1.11′
    AMDEPBACKSLASH=’\’
    AMDEP_FALSE=’#’
    AMDEP_TRUE=”
    AMTAR=’${SHELL} /home/administrateur/Bureau/libavg-1.7.1/missing –run tar’
    AM_BACKSLASH=’\’
    AM_DEFAULT_VERBOSITY=’0′
    APPLE_FALSE=”
    APPLE_TRUE=”
    AR=’arm-linux-gnueabi-ar’
    AUTOCONF=’${SHELL} /home/administrateur/Bureau/libavg-1.7.1/missing –run autoconf’
    AUTOHEADER=’${SHELL} /home/administrateur/Bureau/libavg-1.7.1/missing –run autoheader’
    AUTOMAKE=’${SHELL} /home/administrateur/Bureau/libavg-1.7.1/missing –run automake-1.11′
    AWK=’gawk’
    BOOST_PYTHON_LIBS=”
    BOOST_THREAD_LIB=”
    CC=’arm-linux-gnueabi-g++-4.5′
    CCDEPMODE=’depmode=gcc3′
    CFLAGS=’ -I/usr/arm-linux-gnueabi/include/gtk-2.0 -I/usr/arm-linux-gnueabi/include/glib-2.0 -Wall -pipe -I/usr/arm-linux-gnueabi/include/’
    CPP=’arm-linux-gnueabi-g++-4.5 -E’
    CPPFLAGS=’ -I/usr/arm-linux-gnueabi/include/’
    CXX=’g++’
    CXXCPP=’g++ -E’
    CXXDEPMODE=’depmode=gcc3′
    CXXFLAGS=’-Wno-invalid-offsetof -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 -Wall -pipe’
    CYGPATH_W=’echo’
    DC1394_2_CFLAGS=”
    DC1394_2_LIBS=”
    DEFS=”
    DEPDIR=’.deps’
    DSYMUTIL=”
    DUMPBIN=”
    ECHO_C=”
    ECHO_N=’-n’
    ECHO_T=”
    EGREP=’/bin/grep -E’
    ENABLE_1394_2_FALSE=”
    ENABLE_1394_2_TRUE=”
    ENABLE_MTDEV_FALSE=”
    ENABLE_MTDEV_TRUE=”
    ENABLE_PARPORT_FALSE=”
    ENABLE_PARPORT_TRUE=”
    ENABLE_V4L2_FALSE=”
    ENABLE_V4L2_TRUE=”
    EXEEXT=”
    FFMPEG_CFLAGS=’-I/usr/arm-linux-gnueabi/include/’
    FFMPEG_LIBS=’-L/usr/arm-linux-gnueabi/lib/’
    FGREP=’/bin/grep -F’
    FONTCONFIG_CFLAGS=’-I/usr/arm-linux-gnueabi/include/’
    FONTCONFIG_LIBS=’-L/usr/arm-linux-gnueabi/lib/’
    FREETYPE_CFLAGS=’-I/usr/include/freetype2′
    FREETYPE_CONFIG=’/usr/bin/freetype-config’
    FREETYPE_LIBS=’-lfreetype’
    GDK_PIXBUF_CFLAGS=’-I/usr/arm-linux-gnueabi/include/’
    GDK_PIXBUF_LIBS=’-L/usr/arm-linux-gnueabi/lib/’
    GLU_CFLAGS=”
    GLU_LIBS=”
    GL_CFLAGS=”
    GL_LIBS=”
    GREP=’/bin/grep’
    HAVE_XI2_1_FALSE=”
    HAVE_XI2_1_TRUE=”
    HAVE_XI2_2_FALSE=”
    HAVE_XI2_2_TRUE=”
    INSTALL_DATA=’${INSTALL} -m 644′
    INSTALL_PROGRAM=’${INSTALL}’
    INSTALL_SCRIPT=’${INSTALL}’
    INSTALL_STRIP_PROGRAM=’$(install_sh) -c -s’
    LD=’/usr/arm-linux-gnueabi/bin/ld’
    LDFLAGS=’-lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2 -rdynamic’
    LIBFFMPEG=’-L/usr/arm-linux-gnueabi/lib/’
    LIBOBJS=”
    LIBRSVG_CFLAGS=’-I/usr/arm-linux-gnueabi/include/’
    LIBRSVG_LIBS=’-L/usr/arm-linux-gnueabi/lib/’
    LIBS=”
    LIBTOOL=’$(SHELL) $(top_builddir)/libtool’
    LIBVIDEO_LDADD=”
    LIPO=”
    LN_S=’ln -s’
    LTLIBOBJS=”
    MAKEINFO=’${SHELL} /home/administrateur/Bureau/libavg-1.7.1/missing –run makeinfo’
    MKDIR_P=’/bin/mkdir -p’
    MTDEV_CFLAGS=”
    MTDEV_LIBS=”
    NM=’/usr/bin/arm-linux-gnueabi-nm -B’
    NMEDIT=”
    OBJC=’gcc’
    OBJCDEPMODE=’depmode=gcc3′
    OBJCFLAGS=”
    OBJCLDFLAGS=’-lobjc’
    OBJDUMP=’arm-linux-gnueabi-objdump’
    OBJEXT=’o’
    OTOOL64=”
    OTOOL=”
    PACKAGE=’libavg’
    PACKAGE_BUGREPORT=’[email protected]
    PACKAGE_NAME=’libavg’
    PACKAGE_STRING=’libavg 1.7.1′
    PACKAGE_TARNAME=’libavg’
    PACKAGE_URL=”
    PACKAGE_VERSION=’1.7.1′
    PANGOFT2_CFLAGS=’-I/usr/arm-linux-gnueabi/include/’
    PANGOFT2_LIBS=’-L/usr/arm-linux-gnueabi/lib/’
    PATH_SEPARATOR=’:’
    PKG_CONFIG=’/usr/bin/pkg-config’
    PREFIX=”
    PTHREAD_CC=”
    PTHREAD_CFLAGS=”
    PTHREAD_LIBS=”
    PYTHON=’/usr/bin/python’
    PYTHON_EXEC_PREFIX=’${exec_prefix}’
    PYTHON_INCLUDES=’-I/usr/include/python2.6′
    PYTHON_LIBS=”
    PYTHON_PLATFORM=’linux2′
    PYTHON_PREFIX=’${prefix}’
    PYTHON_VERSION=’2.6′
    RANLIB=’arm-linux-gnueabi-ranlib’
    SDL_CFLAGS=”
    SDL_CONFIG=”
    SDL_LIBS=”
    SED=’/bin/sed’
    SET_MAKE=”
    SHELL=’/bin/sh’
    STRIP=’arm-linux-gnueabi-strip’
    USE_VDPAU_SRC_FALSE=”
    USE_VDPAU_SRC_TRUE=”
    VERSION=’1.7.1′
    XI2_1_CFLAGS=”
    XI2_1_LIBS=”
    XI2_2_CFLAGS=”
    XI2_2_LIBS=”
    XMKMF=”
    XML2_CFLAGS=’-I/usr/include/libxml2′
    XML2_CONFIG=’/usr/bin/xml2-config’
    XML2_LIBS=’-lxml2 -lm’
    ac_ct_CC=”
    ac_ct_CXX=’g++’
    ac_ct_DUMPBIN=”
    acx_pthread_config=”
    am__EXEEXT_FALSE=”
    am__EXEEXT_TRUE=”
    am__fastdepCC_FALSE=’#’
    am__fastdepCC_TRUE=”
    am__fastdepCXX_FALSE=’#’
    am__fastdepCXX_TRUE=”
    am__fastdepOBJC_FALSE=’#’
    am__fastdepOBJC_TRUE=”
    am__include=’include’
    am__isrc=”
    am__leading_dot=’.’
    am__quote=”
    am__tar=’${AMTAR} chof – “$$tardir”‘
    am__untar=’${AMTAR} xf -’
    bindir=’${exec_prefix}/bin’
    build=’i686-pc-linux-gnu’
    build_alias=”
    build_cpu=’i686′
    build_os=’linux-gnu’
    build_vendor=’pc’
    datadir=’${datarootdir}’
    datarootdir=’${prefix}/share’
    docdir=’${datarootdir}/doc/${PACKAGE_TARNAME}’
    dvidir=’${docdir}’
    exec_prefix=’NONE’
    host=’arm-unknown-linux-gnueabi’
    host_alias=’arm-linux-gnueabi’
    host_cpu=’arm’
    host_os=’linux-gnueabi’
    host_vendor=’unknown’
    htmldir=’${docdir}’
    includedir=’${prefix}/include’
    infodir=’${datarootdir}/info’
    install_sh=’${SHELL} /home/administrateur/Bureau/libavg-1.7.1/install-sh’
    libdir=’${exec_prefix

  13. Alex
    March 26th, 2013 at 22:39 | #13

    Hello,
    I get this error after the configuration and when i excute the command make

    make
    Making all in src
    make[1]: entrant dans le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src »
    make all-recursive
    make[2]: entrant dans le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src »
    Making all in base
    make[3]: entrant dans le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src/base »
    CXX FileHelper.lo
    CXX CmdLine.lo
    CXX Exception.lo
    CXX Logger.lo
    CXX ConfigMgr.lo
    CXX XMLHelper.lo
    CXX TimeSource.lo
    CXX OSHelper.lo
    CXX ProfilingZone.lo
    CXX ThreadProfiler.lo
    CXX ScopeTimer.lo
    CXX Test.lo
    CXX TestSuite.lo
    CXX ObjectCounter.lo
    CXX Point.lo
    CXX Directory.lo
    CXX DirEntry.lo
    CXX StringHelper.lo
    CXX MathHelper.lo
    CXX GeomHelper.lo
    CXX CubicSpline.lo
    CXX BezierCurve.lo
    CXX UTF8String.lo
    CXX Triangle.lo
    CXX Triangulate.lo
    CXX WideLine.lo
    CXX Triple.lo
    CXX Backtrace.lo
    CXX Matrix3x4.lo
    CXX ProfilingZoneID.lo
    CXXLD libbase.la
    CXX testbase.o
    CXXLD testbase
    /usr/arm-linux-gnueabi/lib/libgdk_pixbuf-2.0.so: could not read symbols: File in wrong format
    collect2: ld returned 1 exit status
    make[3]: *** [testbase] Erreur 1
    make[3]: quittant le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src/base »
    make[2]: *** [all-recursive] Erreur 1
    make[2]: quittant le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src »
    make[1]: *** [all] Erreur 2
    make[1]: quittant le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src »
    make: *** [all-recursive] Erreur 1
    administrateur@administrateur-laptop:~/Bureau/libavg-1.7.1$ sudo make
    [sudo] password for administrateur:
    Making all in src
    make[1]: entrant dans le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src »
    make all-recursive
    make[2]: entrant dans le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src »
    Making all in base
    make[3]: entrant dans le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src/base »
    CXXLD testbase
    /usr/arm-linux-gnueabi/lib/libgdk_pixbuf-2.0.so: could not read symbols: File in wrong format
    collect2: ld returned 1 exit status
    make[3]: *** [testbase] Erreur 1
    make[3]: quittant le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src/base »
    make[2]: *** [all-recursive] Erreur 1
    make[2]: quittant le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src »
    make[1]: *** [all] Erreur 2
    make[1]: quittant le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src »
    make: *** [all-recursive] Erreur 1

    any help

  14. March 27th, 2013 at 09:10 | #14

    @Alex
    Some files must be x86 some ARM. If you run “make V=1″, you’ll see if it’s using the cross-compiler or just gcc on your machine. If it uses gcc, you may have to export CC and CXX with your corss-compiler as well.

  15. Alex
    March 27th, 2013 at 12:35 | #15

    @cnxsoft

    in the configuration step i export the CC and CXX :

    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-g++-4.5 AR=arm-linux-gnueabi-ar TRIP=arm-linux-gnueabi-strip RANLIB=arm-linux-gnueabi-ranlib –with-sdl-prefix=/usr/arm-linux-gnueabi –prefix=/home/administrateur/Bureau/oout

  16. Alex
    March 27th, 2013 at 13:56 | #16

    @Alex

    when i ru make V=1 i get this message :

    Making all in src
    make[1]: entrant dans le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src »
    make all-recursive
    make[2]: entrant dans le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src »
    Making all in base
    make[3]: entrant dans le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src/base »
    /bin/sh ../../libtool –tag=CXX –mode=link g++ -Wno-invalid-offsetof -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 -Wall -pipe -rdynamic -lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2 -rdynamic -o testbase testbase.o ./libbase.la -lboost_thread
    libtool: link: g++ -Wno-invalid-offsetof -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 -Wall -pipe -rdynamic -rdynamic -o testbase testbase.o ./.libs/libbase.a /usr/arm-linux-gnueabi/lib/libgdk_pixbuf-2.0.so -lavcodec -lavutil -lavformat -lswscale /usr/arm-linux-gnueabi/lib/libSDL.so /usr/arm-linux-gnueabi/lib/libpango-1.0.so /usr/arm-linux-gnueabi/lib/libpangoft2-1.0.so -lrsvg-2 -lboost_thread -pthread -Wl,-rpath -Wl,/usr/arm-linux-gnueabi/lib -Wl,-rpath -Wl,/usr/arm-linux-gnueabi/lib
    /usr/arm-linux-gnueabi/lib/libgdk_pixbuf-2.0.so: could not read symbols: File in wrong format
    collect2: ld returned 1 exit status
    make[3]: *** [testbase] Erreur 1
    make[3]: quittant le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src/base »
    make[2]: *** [all-recursive] Erreur 1
    make[2]: quittant le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src »
    make[1]: *** [all] Erreur 2
    make[1]: quittant le répertoire « /home/administrateur/Bureau/libavg-1.7.1/src »
    make: *** [all-recursive] Erreur 1

  17. Alex
    March 27th, 2013 at 14:36 | #17

    now the problem is this :

    make[3]: entrant dans le répertoire « /home/administrateur/Bureau/free/libavg-1.7.1/src/player »
    CXX OGLSurface.lo
    CXX SDLDisplayEngine.lo
    CXX Arg.lo
    CXX AreaNode.lo
    CXX RasterNode.lo
    CXX DivNode.lo
    CXX VideoNode.lo
    CXX Player.lo
    Player.cpp: In member function ‘avg::NodePtr avg::Player::loadMainNodeFromFile(const std::string&)’:
    Player.cpp:456:1: warning: control reaches end of non-void function
    CXX PluginManager.lo
    CXX NodeRegistry.lo
    CXX ArgBase.lo
    CXX ArgList.lo
    CXX DisplayEngine.lo
    CXX Canvas.lo
    CXX CanvasNode.lo
    CXX OffscreenCanvasNode.lo
    CXX MainCanvas.lo
    CXX Node.lo
    CXX MultitouchInputDevice.lo
    CXX PanoImageNode.lo
    CXX WordsNode.lo
    CXX CameraNode.lo
    CXX NodeDefinition.lo
    CXX TextEngine.lo
    CXX Timeout.lo
    CXX Event.lo
    CXX DisplayParams.lo
    CXX CursorState.lo
    CXX MaterialInfo.lo
    CXX Image.lo
    CXX ImageNode.lo
    CXX EventDispatcher.lo
    CXX KeyEvent.lo
    CXX CursorEvent.lo
    CXX MouseEvent.lo
    CXX TouchEvent.lo
    CXX AVGNode.lo
    CXX TestHelper.lo
    CXX TrackerInputDevice.lo
    CXX TrackerTouchStatus.lo
    CXX TrackerCalibrator.lo
    CXX SoundNode.lo
    CXX VectorNode.lo
    CXX FilledVectorNode.lo
    CXX LineNode.lo
    CXX PolyLineNode.lo
    CXX RectNode.lo
    CXX CurveNode.lo
    CXX PolygonNode.lo
    CXX CircleNode.lo
    CXX Shape.lo
    CXX MeshNode.lo
    CXX Contact.lo
    CXX TouchStatus.lo
    CXX OffscreenCanvas.lo
    CXX FXNode.lo
    CXX TUIOInputDevice.lo
    CXX NullFXNode.lo
    CXX BlurFXNode.lo
    CXX ShadowFXNode.lo
    CXX ChromaKeyFXNode.lo
    CXX InvertFXNode.lo
    CXX HueSatFXNode.lo
    CXX VideoWriter.lo
    CXX VideoWriterThread.lo
    CXX SVG.lo
    CXX SVGElement.lo
    CXXLD libplayer.la
    CXX testcalibrator.o
    CXXLD testcalibrator
    ./.libs/libplayer.a(TrackerCalibrator.o): In function `avg::TrackerCalibrator::makeTransformer()’:
    TrackerCalibrator.cpp:(.text+0×560): undefined reference to `lm_initialize_control’
    TrackerCalibrator.cpp:(.text+0x6ea): undefined reference to `lm_minimize’
    collect2: ld returned 1 exit status
    make[3]: *** [testcalibrator] Erreur 1
    make[3]: quittant le répertoire « /home/administrateur/Bureau/free/libavg-1.7.1/src/player »
    make[2]: *** [all-recursive] Erreur 1
    make[2]: quittant le répertoire « /home/administrateur/Bureau/free/libavg-1.7.1/src »
    make[1]: *** [all] Erreur 2
    make[1]: quittant le répertoire « /home/administrateur/Bureau/free/libavg-1.7.1/src »
    make: *** [all-recursive] Erreur 1

  18. Peter
    March 28th, 2013 at 20:27 | #18

    Hi, could you help about this error, just after the configuration and when i run make i get this msg :

    CXX testcalibrator.o
    CXXLD testcalibrator
    ./.libs/libplayer.a(TrackerCalibrator.o): In function `avg::TrackerCalibrator::makeTransformer()’:
    TrackerCalibrator.cpp:(.text+0×560): undefined reference to `lm_initialize_control’
    TrackerCalibrator.cpp:(.text+0x6ea): undefined reference to `lm_minimize’
    collect2: ld returned 1 exit status
    make[3]: *** [testcalibrator] Erreur 1
    make[3]: Leaving directory « /home/Peter/libavg-1.7.1/src/player »

  19. March 28th, 2013 at 20:38 | #19

    @Peter
    I’d recommend people read http://www.cnx-software.com/how-tos-training-materials/#compile_error before posting questions here.
    But this won’t help for this particular error :). Here’s how I normally do for this type of error:

    1. Search in Google for the undefined reference, e.g. “lm_initialize_control”
    2. This should lead to to some library name
    3. Run “aptitude search” to find the right package for this library
    4. Install the development version of the library with” apt-get install”

  20. Sousie
    May 8th, 2013 at 22:56 | #20

    Hi

    when i run make i get this message
    and i set the flags config of lib python boost

    export BOOST_PYTHON_CFLAGS=”-I/usr/arm-linux-gnueabi/include/”
    export BOOST_PYTHON_LIBS=”-L/usr/arm-linux-gnueabi/lib/”

    Entering directory `/home/libavg-1.7.1/src/player’
    CXXLD testplayer
    ./.libs/libplayer.a(Player.o): In function `boost::python::converter::arg_to_python::arg_to_python(char const* const&)’:
    Player.cpp:(.text._ZN5boost6python9converter13arg_to_pythonIPKcEC2ERKS4_[_ZN5boost6python9converter13arg_to_pythonIPKcEC5ERKS4_]+0×12): undefined reference to `boost::python::converter::do_return_to_python(char const*)’
    ./.libs/libplayer.a(Player.o): In function `boost::python::api::const_attribute_policies::get(boost::python::api::object const&, char const*)’:
    Player.cpp:(.text._ZN5boost6python3api24const_attribute_policies3getERKNS1_6objectEPKc[boost::python::api::const_attribute_policies::get(boost::python::api::object const&, char const*)]+0×14): undefined reference to `boost::python::api::getattr(boost::python::api::object const&, char const*)’
    ./.libs/libplayer.a(Player.o): In function `boost::python::api::const_item_policies::get(boost::python::api::object const&, boost::python::api::object const&)’:
    Player.cpp:(.text._ZN5boost6python3api19const_item_policies3getERKNS1_6objectES5_[boost::python::api::const_item_policies::get(boost::python::api::object const&, boost::python::api::object const&)]+0×14): undefined reference to `boost::python::api::getitem(boost::python::api::object const&, boost::python::api::object const&)’
    ./.libs/libplayer.a(Player.o): In function `boost::python::api::item_policies::set(boost::python::api::object const&, boost::python::api::object const&, boost::python::api::object const&)’:
    Player.cpp:(.text._ZN5boost6python3api13item_policies3setERKNS1_6objectES5_S5_[boost::python::api::item_policies::set(boost::python::api::object const&, boost::python::api::object const&, boost::python::api::object const&)]+0×12): undefined reference to `boost::python::api::setitem(boost::python::api::object const&, boost::python::api::object const&, boost::python::api::object const&)’
    ./.libs/libplayer.a(Player.o): In function `_object* boost::python::expect_non_null(_object*)’:
    Player.cpp:(.text._ZN5boost6python15expect_non_nullI7_objectEEPT_S4_[_object* boost::python::expect_non_null(_object*)]+0xe): undefined reference to `boost::python::throw_error_already_set()’
    ./.libs/libplayer.a(Player.o): In function `bool boost::python::dict::has_key(char const (&) [7]) const’:
    Player.cpp:(.text._ZNK5boost6python4dict7has_keyIA7_cEEbRKT_[bool boost::python::dict::has_key(char const (&) [7]) const]+0×20): undefined reference to `boost::python::detail::dict_base::has_key(boost::python::api::object const&) const’
    ./.libs/libplayer.a(Player.o): In function `boost::python::api::object_operators::operator _object* (boost::python::api::object::*)() const() const’:

  21. May 9th, 2013 at 09:52 | #21

    @Sousie
    Try make V=1 . This should show more information.
    You can also try the method provided in the comment just above.

  22. Sousie
    May 9th, 2013 at 21:14 | #22

    @cnxsoft

    i excute make V=1 iget this message

    entrant dans le répertoire « /home/invitee/Bureau/libavg-1.7.1/src/base »
    /bin/bash ../../libtool –tag=CXX –mode=link arm-linux-gnueabi-g++ -Wno-invalid-offsetof -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 -Wall -pipe -rdynamic -lgdk_pixbuf-2.0 -lavcodec -lavutil -lavformat -lswscale -lSDL -lpango-1.0 -lpangoft2-1.0 -lrsvg-2 -rdynamic -o testbase testbase.o ./libbase.la -lboost_thread
    libtool: link: arm-linux-gnueabi-g++ -Wno-invalid-offsetof -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 -Wall -pipe -rdynamic -rdynamic -o testbase testbase.o /usr/arm-linux-gnueabi/lib/libgdk_pixbuf-2.0.so /usr/arm-linux-gnueabi/lib/libpango-1.0.so /usr/arm-linux-gnueabi/lib/libpangoft2-1.0.so ./.libs/libbase.a /usr/lib/libgdk_pixbuf-2.0.so -lavcodec -lavutil -lavformat -lswscale /usr/arm-linux-gnueabi/lib/libSDL.so /usr/lib/libpango-1.0.so /usr/lib/libpangoft2-1.0.so -lrsvg-2 -lboost_thread -pthread -Wl,-rpath -Wl,/usr/arm-linux-gnueabi/lib -Wl,-rpath -Wl,/usr/arm-linux-gnueabi/lib
    /usr/lib/libgdk_pixbuf-2.0.so: could not read symbols: File in wrong format
    collect2: ld returned 1 exit status

  23. Aline
    May 16th, 2013 at 16:18 | #23

    hello,
    configuration need mtdev variable environement
    i install mtdev but the probleme is not resolved
    haw i can install libmtdev-dev with xapt ?

  24. May 17th, 2013 at 09:47 | #24

    @Aline
    Better not use xapt now, use multiarch instead, something like sudo apt-get install libmtdev-dev:armhf

  25. Achref
    June 5th, 2013 at 17:26 | #25

    hello,

    Have tutorial a bout a cross-compilation of libgtk for arm without using the xapt ??

  1. No trackbacks yet.