hi, uclibc seems have MAP_ANON if defined with __USE_BSD. http://sources.busybox.net/index.py/trunk/uClibc/libc/sysdeps/linux/common/bits/mman.h?view=markup
i'm sure you probably hit around this discuss. http://www.mail-archive.com/[email protected]/msg06250.html could you try to add -D_GNU_SOURCE to CFLAGS? On Sat, 24 Jan 2009 20:51:20 +0100 [email protected] wrote: > Hi, > > when i build Mesa svn with uClibc 0.9.30 i have follow error: > > /home/stephan/OpenELEC/build.i386.uClibc/toolchain/bin/i686-geexbox-linux-uclibc-gcc > > -c > -I../../include -I../../src/mesa -I../../src/mesa/main -Os -Wall -pipe > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mtune=generic -s > -fomit-frame-pointer -Wall > -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -Os -Wall -pipe > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mtune=generic -s > -fomit-frame-pointer -fPIC > -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER > -DGLX_INDIRECT_RENDERING > -DHAVE_ALIAS -DGLX_DIRECT_RENDERING main/execmem.c -o main/execmem.o > main/execmem.c: In function 'init_heap': > main/execmem.c:85: error: 'MAP_ANON' undeclared (first use in this function) > main/execmem.c:85: error: (Each undeclared identifier is reported only once > main/execmem.c:85: error: for each function it appears in.) > gmake[2]: *** [main/execmem.o] Fehler 1 > gmake[2]: Leaving directory > `/home/stephan/OpenELEC/build.i386.uClibc/Mesa-openchrome-svn-20090121/src/mesa' > make[1]: *** [subdirs] Error 1 > make[1]: Leaving directory > `/home/stephan/OpenELEC/build.i386.uClibc/Mesa-openchrome-svn-20090121/src' > make: *** [default] Error 1 > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
