emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any unfixed bugs


From: Sam Steingold
Subject: Re: Any unfixed bugs
Date: 13 Nov 2001 10:48:13 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

> * In message <address@hidden>
> * On the subject of "Re: Any unfixed bugs"
> * Sent on Mon, 12 Nov 2001 22:27:47 -0700 (MST)
> * Honorable Richard Stallman <address@hidden> writes:
>
>     yes - the unexelf.c cannot be compiled now (solaris 2.5.1, gcc 3)
> 
>     gcc -c  -Demacs -DHAVE_CONFIG_H -DUSE_MOTIF  -I. 
> -I/kdd3/opt/local/src/emacs/src -I/usr/openwin/include -I/usr/dt/include -g 
> -O2 unexelf.c
>     unexelf.c: In function `unexec':
>     unexelf.c:690: `MAP_ANON' undeclared (first use in this function)
>     unexelf.c:690: (Each undeclared identifier is reported only once
>     unexelf.c:690: for each function it appears in.)
>     make[1]: *** [unexelf.o] Error 1
> 
> This is probably due to an incompatibility between Solaris
> and the platform that the change was tested on.  Can you find
> the necessary change in the code for Solaris use?

linux (fencepost):
/usr/include/asm/mman.h:#define MAP_ANONYMOUS   0x20            /* don't use a 
file */
/usr/include/asm/mman.h:#define MAP_ANON        MAP_ANONYMOUS

solaris 2.5.1 (/usr/include/sys/mman.h):
/* sharing types:  must choose either SHARED or PRIVATE */
#define MAP_SHARED      1               /* share changes */
#define MAP_PRIVATE     2               /* changes are private */
#define MAP_TYPE        0xf             /* mask for share type */
 
/* other flags to mmap (or-ed in to MAP_SHARED or MAP_PRIVATE) */
#define MAP_FIXED       0x10            /* user assigns address */
#define MAP_NORESERVE   0x40            /* don't reserve needed swap area */
 
/* these flags not yet implemented */
#define MAP_RENAME      0x20            /* rename private pages to file */


-- 
Sam Steingold (http://www.podval.org/~sds)
Keep Jerusalem united! <http://www.onejerusalem.org/Petition.asp>
Read, think and remember! <http://www.iris.org.il> <http://www.memri.org/>
Winword 6.0 UNinstall: Not enough disk space to uninstall WinWord




reply via email to

[Prev in Thread] Current Thread [Next in Thread]