compiling glib for mipsel-linux

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

Reply to
Albrecht Ellinger
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.