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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a46d38c43a912d65,start X-Google-Attributes: gid103376,public From: 100608 Subject: GNAT and linking with C Date: 1997/05/12 Message-ID: <3377877A.6032@erols.com>#1/1 X-Deja-AN: 241172254 Organization: Erol's Internet Services X-Received-On: 12 May 1997 17:13:54 GMT Newsgroups: comp.lang.ada Date: 1997-05-12T00:00:00+00:00 List-Id: I am trying to link a 2 C objects to an Ada main. I took the gnat example called use_of_import.adb and the c function imported_function.c and added a call in imported_function.c to another c function in another object file. But, I keep getting this error when I link : ld.exe: *(.xdata$) missing from linker script I have a linker script which gnatbl created and it has a SECTIONS list with a .text in it. I don't know much about the linker scripts because I am fairly new to gnat. Any help would be GREATLY appreciated!! - Betty