compiling glib for mipsel-linux

From: Albrecht Ellinger (albrecht.ellinger_at_dold-regler.de)
Date: 06/22/05

  • Next message: Kakrocq: "pci driver 2.4-> 2.6"
    Date: 22 Jun 2005 07:40:12 -0700
    
    

    Hello!

    I have emlix embedded linux cross toolchain on a

     Linux version 2.6.8-24.16-smp (geeko@buildhost) (gcc version 3.3.4
    (pre 3.3.5 20040809)) #1 SMP Thu Jun 2 12:09:57 UTC 2005

    for a mips target.

    I configure in this way:

    ./configure --prefix=/home/albrecht.ellinger/gtkUpdate/mipsel/glib
    --cache-file=mipsel.linux --host=mipsel-linux

    make ing glib works fine, untill I get the following error:

    mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
    -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
    -DGLIB_COMPILATION -pthread -g -O2 -Wall -MT giounix.lo -MD -MP -MF
    .deps/giounix.Tpo -c giounix.c -fPIC -DPIC -o .libs/giounix.o
    giounix.c: In function `g_io_unix_read':
    giounix.c:184: error: `SSIZE_MAX' undeclared (first use in this
    function)
    giounix.c:184: error: (Each undeclared identifier is reported only once
    giounix.c:184: error: for each function it appears in.)

    I have a devel - package for glib on my system.

    What do I have forgotten?

    Albrecht


  • Next message: Kakrocq: "pci driver 2.4-> 2.6"