From owner-freebsd-questions Mon Aug 25 15:31:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA16413 for questions-outgoing; Mon, 25 Aug 1997 15:31:53 -0700 (PDT) Received: from ozemail.com.au (server3.syd.mail.ozemail.net [203.108.7.41]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA16407 for ; Mon, 25 Aug 1997 15:31:50 -0700 (PDT) Received: from oznet11.ozemail.com.au (oznet11.ozemail.com.au [203.2.192.118]) by ozemail.com.au (8.8.4/8.6.12) with ESMTP id IAA07335 for ; Tue, 26 Aug 1997 08:31:47 +1000 (EST) Received: from richard (slmel53p05.ozemail.com.au [203.108.203.85]) by oznet11.ozemail.com.au (8.8.4/8.6.12) with SMTP id IAA20373 for ; Tue, 26 Aug 1997 08:31:45 +1000 (EST) Message-Id: <199708252231.IAA20373@oznet11.ozemail.com.au> From: "Richard Lyon" To: "'freebsd-questions@freebsd.org'" Subject: ld is running out of swap space when linking Octave 2.0.9 Date: Tue, 26 Aug 1997 08:30:16 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1008.3 X-MimeOle: Produced By Microsoft MimeOLE Engine V4.71.1008.3 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, I attempted to compile the latest version of Octave (2.0.9) but ran into a nasty problem. The linker ld is coming up with an error message indicating it cannot allocate further memory, which is followed by a system console message saying no swap space left. This is a big application and the whole compile/link sequence on Octave 2.0.5 used to take about half a day on my 486. I closed down X to free up resources and tried again, but still the same problem. Some details: 486 machine with 16 meg of ram 32 meg swap area on hard drive FreeBSD 2.2.1 XFree 3.2 GMAKE 3.75 ./configure --with-x --without-linux-vga --with-gnu-readline --with-lasergnu \ --prefix=/usr/local --exec-prefix=/usr/local gmake all (which by default uses CFLAGS=-O2 and CXXFLAGS=-O2 and will create static libraries for the final link). One possible solution is to increase the swap area on the hard disk. Unfortunately this will require a complete re-install. Are there any other alternatives? I don't want to use the precompiled package as it is quite a few versions behind. Regards