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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC 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: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Calling C from Ada - link problem Date: 2000/03/09 Message-ID: <2000Mar9.065410.1@eisner>#1/1 X-Deja-AN: 595131957 References: <8a803u$906$1@nnrp1.deja.com> <8a80fo$9a1$1@nnrp1.deja.com> X-Trace: news.decus.org 952602854 7543 KILGALLEN [216.44.122.34] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.lang.ada Date: 2000-03-09T00:00:00+00:00 List-Id: In article <8a80fo$9a1$1@nnrp1.deja.com>, Robert Dewar writes: > In article <8a803u$906$1@nnrp1.deja.com>, > Ashley King wrote: >> Hello everybody. I hope someone can help me. >> >> I am trying to call a C function from Ada. I am using > ObjectAda 7.1.1 >> and MS Visual C++ 6. Everything compiles. When I try to link > on the Ada >> side, I get the following error: >> >> whatever.lib: fatal error LNK1106: invalid file or disk full: > cannot >> seek to 0x... > > > There is nothing wrong with your program (it compiles and > links and runs fine under GNAT on NT). It is impossible to > believe that any compiler would fail to handle this, so the > most likely thing is that your build procedures are incorrect, > so you probably want to check those (and perhaps ask the > vendor for assistance in following these procedures). But it would seem possible that the inability to tell the difference between an "invalid file" (whatever that is) and the disk being full might be caused by Microsoft.