From mboxrd@z Thu Jan 1 00:00:00 1970 From: ndronen@io.frii.com (Nicholas Dronen) To: help-gcc@gnu.org Subject: Re: Can't link ddd under x86 Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: References: <836lhv$u3e$1@nnrp1.deja.com> X-SW-Source: 1999-12n/msg00223.html Message-ID: <19991231222400.KkSThjX5ZwNZUZh-C-Sa5I3znBCfXQAPMG2J2MgMFx0@z> 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