Can't link ddd under x86

Nicholas Dronen ndronen@io.frii.com
Tue Dec 14 17:32:00 GMT 1999


Stephen Rasku (stephen@tgivan.com) wrote:
: I am trying to compile ddd 3.1.6 on Solaris 7 (x86).  At link time, I
: get the following error:

: ld: fatal: file /dev/zero: cannot mmap file: Resource temporarily
: unavailable

: I am using gcc 2.8.1 and I had no problems compiling on Sparc using the
: same version of the compiler.  Any idea as how to fix this?

>From /usr/include/sys/errno.h.

#define EAGAIN  11  /* Resource temporarily unavailable */

>From the man page for mmap(2).

EAGAIN	The mapping could not be locked in memory.

	   	There was insufficient room to reserve swap  space
	    for the mapping.

	    The file to be  mapped  is  already  locked  using
	    advisory   or   mandatory   record   locking.  See
	    fcntl(2).

It looks like you're either running sorely short of 
memory (unless this documentation is out of date
with respect to Solaris's paging algorithms) or
someone else has locked the file.

Regards,

Nicholas


More information about the Gcc-help mailing list