[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclibc
Subject:    MAP_ANON and MAP_ANONYMOUS
From:       vda.linux () googlemail ! com (Denys Vlasenko)
Date:       2009-01-24 21:36:12
Message-ID: 200901242236.12756.vda.linux () googlemail ! com
[Download RAW message or body]

On Saturday 24 January 2009 12:16, mailinglists at openelec.tv 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
> 
> can you help me?

Does it build against glibc? I ask because from what I have seen,
in both libc'es it is guarded by __USE_MISC, and it is set like this:

#if defined _BSD_SOURCE || defined _SVID_SOURCE
# define __USE_MISC     1
#endif

again, in both libc's.

--
vda


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic