delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/01/01/14:45:33

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Karl Garrison <kdgarris AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: "No memory to gather arguments" when linking
Date: Sun, 1 Jan 2012 11:01:37 -0800 (PST)
Organization: http://groups.google.com
Lines: 63
Message-ID: <8944c789-141d-4e92-b233-5f7655461a92@r5g2000yqc.googlegroups.com>
NNTP-Posting-Host: 75.46.69.228
Mime-Version: 1.0
X-Trace: posting.google.com 1325446197 21466 127.0.0.1 (1 Jan 2012 19:29:57 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Sun, 1 Jan 2012 19:29:57 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: r5g2000yqc.googlegroups.com; posting-host=75.46.69.228; posting-account=bzk3egoAAAA67jxXDiN4J5guIokfhoCT
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HUALESNKRC
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24)
Gecko/20111107 Ubuntu/10.10 (maverick) Firefox/3.6.24,gzip(gfe)
Bytes: 2626
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am attempting to compile NetHack via gcc running on FreeDOS via
dosemu on Linux.  It compiles file, but when it gets to the linking
stage, it aborts with the error "No memory to gather arguments".

I have plenty of memory available to FreeDOS (64 MB XMS and 64 MB
EMS), and I have tweaked cwsdpmi parameters as suggested in the DJGPP
FAQ.

Any idea what could be causing this error, or how to prevent it?

Here is the output of the FreeDOS mem command:

Memory Type        Total       Used       Free

----------------  --------   --------   --------

Conventional          640K        10K       630K

Upper                 132K         9K       123K

Reserved              252K       252K         0K

Extended (XMS)     65,600K       164K    65,436K

----------------  --------   --------   --------

Total memory       66,624K       435K    66,189K



Total under 1 MB      772K        19K       753K



Total Expanded (EMS)                   64M (67,108,864 bytes)

Free Expanded (EMS)                    64M (67,108,864 bytes)



Largest executable program size       630K (644,688 bytes)

Largest free upper memory block        96K ( 98,640 bytes)

FreeDOS is resident in the high memory area.


And the output of go32-v2:

go32/v2 version 2.0 built Dec 24 2001 21:25:02


<snip>

DPMI memory available: 131693 Kb

DPMI swap space available: 0 Kb

Thanks in advance for any advice!

--
Karl Garrison
kgarrison AT pobox DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019