[MPlayer-cvslog] CVS: main configure,1.960,1.961

Torinthiel torinthiel at megapolis.pl
Tue Feb 15 09:47:49 CET 2005


On Sat, Feb 05, 2005 at 12:53:32PM +0100, Reimar Döffinger CVS wrote:
> 
> CVS change done by Reimar Döffinger CVS
> 
> Update of /cvsroot/mplayer/main
> In directory mail:/var2/tmp/cvs-serv1580
> 
> Modified Files:
> 	configure 
> Log Message:
> Some systems (e.g. FreeBSD 5.3) only define MAP_ANON, not MAP_ANONYMOUS
> 
> 
> Index: configure
> ===================================================================
> RCS file: /cvsroot/mplayer/main/configure,v
> retrieving revision 1.960
> retrieving revision 1.961
> diff -u -r1.960 -r1.961
> --- configure	3 Feb 2005 17:35:49 -0000	1.960
> +++ configure	5 Feb 2005 11:53:30 -0000	1.961
> @@ -6992,6 +6992,10 @@
>  $_def_mman
>  $_def_mman_has_map_failed
>  
> +#ifndef MAP_ANONYMOUS
> +#define MAP_ANONYMOUS MAP_ANON
> +#endif
> +


make[1]: Entering directory `/home/torinthiel/mplayer/main/postproc'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -g -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11R6/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I. -I.. -I/usr/X11R6/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I.. -o swscale.o swscale.c
In file included from /usr/include/sys/mman.h:42,
                 from swscale.c:66:
/usr/include/bits/mman.h:49: warning: `MAP_ANONYMOUS' redefined
../config.h:180: warning: this is the location of the previous definition

Is this the desired behaviour?
Could be fixed by moving mman include (lines 65-67) before config.h
include (line 57) but I don't know what other implications it will have.
Torinthiel

-- 
 Waclaw "Torinthiel" Schiller       GG#: 542916, 3073512
   torinthiel(at)megapolis(dot)pl
   gpg: B06901F1 fpr: FAA3 559F CAE9 34DE CDC8  7346 2B6E 39F2 B069 01F1
 "No classmates may be used during this examination"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20050215/d1d07748/attachment.pgp>


More information about the MPlayer-cvslog mailing list