*BSD News Article 99883


Return to BSD News archive

Newsgroups: comp.emulators.ms-windows.wine,comp.unix.bsd.netbsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.radio.cz!nntprelay.mathworks.com!europa.clark.net!newsfeed.nacamar.de!peernews.ftech.net!Aladdin!aladdin.net!ns2.aladdin.net!RMplc!rmplc.co.uk!yama.mcc.ac.uk!liv!dtyson
From: dtyson@liverpool.ac.uk (Mr G.D. Tyson)
Subject: problems compiling wine on NetBSD 1.2.1 
Message-ID: <EDIFz6.I4@liverpool.ac.uk>
Sender: news@liverpool.ac.uk (News System)
Nntp-Posting-Host: chad2-11.liv.ac.uk
Organization: The University of Liverpool
X-Newsreader: TIN [version 1.2 PL2]
Date: Fri, 18 Jul 1997 10:33:06 GMT
Lines: 43
Xref: euryale.cc.adfa.oz.au comp.emulators.ms-windows.wine:8636 comp.unix.bsd.netbsd.misc:6273

I have been trying to compile wine (260697) under NetBSD 1.2.1 on 484DX4.
The code compiles OK, but fails at the link stage due to virtual memory
exhaustion.

While I believed this message to be plausible initially (16M RAM, 20M swap), I
added a second SCSI disk with loads of swap and tried again with the same
result !

Clearly there should be more than enough virtual memory:

Device      1K-blocks     Used    Avail Capacity  Type
/dev/sd0b       20480      980    19500     5%    Interleaved
/dev/sd1b      450000     1124   448876     0%    Interleaved
Total          470480     2104   468376     0%

and yet it still fails:

gdtpc# make
cd ../rc; make 'CC=gcc' 'CFLAGS=-g -O2 -Wall -fno-strength-reduce' 
'OPTIONS=' winerc
`winerc' is up to date.
cd ../tools; make 'CC=gcc' 'CFLAGS=-g -O2 -Wall -fno-strength-reduce' 
'OPTIONS=' build
`build' is up to date.
gcc -o wine controls/controls.o  files/files.o  graphics/graphics.o 
 graphics/metafiledrv/metafiledrv.o  graphics/x11drv/x11drv.o  ipc/ipc.o
 loader/loader.o  memory/memory.o  misc/misc.o  msdos/msdos.o 
 multimedia/multimedia.o  objects/objects.o  resources/resources.o 
 scheduler/scheduler.o  win32/win32.o  windows/windows.o debugger/debugger.o
 graphics/win16drv/win16drv.o  if1632/if1632.o  miscemu/miscemu.o 
 -L/usr/X11R6/lib -lXpm -lSM -lICE -lXext -lX11 -lm -li386
ld: virtual memory exhausted
*** Error code 1

Has anyone got any pointers to this problem. I cannot see anything in the
kernel config to set a VM limit. 

TIA,

Dave