From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,691c1078cd009a0f X-Google-Attributes: gid103376,public From: Ashley King Subject: Re: Calling C from Ada - link problem Date: 2000/03/10 Message-ID: <8aapr2$a90$1@nnrp1.deja.com>#1/1 X-Deja-AN: 595655799 References: <8a803u$906$1@nnrp1.deja.com> <952640221.722.0.nnrp-03.d4e5bde1@news.demon.co.uk> X-Http-Proxy: 1.0 x39.deja.com:80 (Squid/1.1.22) for client 193.192.234.4 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Mar 10 12:29:25 2000 GMT X-MyDeja-Info: XMYDJUIDashleyking Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) Date: 2000-03-10T00:00:00+00:00 List-Id: In article <952640221.722.0.nnrp-03.d4e5bde1@news.demon.co.uk>, "Mike Dimmick" wrote: > Dammit, why do people seem to refuse to read MSDN? You get a copy with > Visual C++, look in it for the error message. I based my C code on an example in the MSDN library online help. In any case, it was the Ada compi9ler which gave the error, how was I supposed to know that the error messages are meant to be the same? > Your disk may be too full to complete the link. Free up some space and > try the link again. Loads of space and memory. > > The error may be a result of trying to link over a network. Some > networks do not fully support the memory-mapped files used by the > linker. Try linking on your local disk to see if that fixes the problem. Two local disks. Does that count? Hold on, I'll try recreating everything on my c drive... Nope, sorry. > > There may be a bad block on your disk. Although the operating system and > disk hardware should have detected such an error, you may want to run a > disk checking program. Given that I have tried several different projects on two different drives, then it is unlikely that this is the case. Of course, the bad block may be in an ObjectAda executable, but I have been successfully building other programs which include, for example, an import of a C system call procedure. But I did run scandisk, and no bad blocks wwere found. > > ----- > > Make sure you're not doing any of the above, then try again. If it > still fails, let us know. But thanks for the suggestions. Regards, Ashley -- Email won't work. Read here, post here. Sent via Deja.com http://www.deja.com/ Before you buy.