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,9db1a24e84200ccd X-Google-Attributes: gid103376,public From: griest-tom@cs.yale.edu (Tom Griest) Subject: Re: GNAT301a, SDK & WIN32ADA problems Date: 1996/05/05 Message-ID: <4mieuhINN9sf@RA.DEPT.CS.YALE.EDU>#1/1 X-Deja-AN: 153129095 references: <4mgi01$3k4@altrade.nijmegen.inter.nl.net> organization: Yale University Computer Science Dept., New Haven, CT 06520-2158 newsgroups: comp.lang.ada Date: 1996-05-05T00:00:00+00:00 List-Id: In article <4mgi01$3k4@altrade.nijmegen.inter.nl.net> JM writes: >I'am using the gnat301a (fix2..fix4) and the win32ada bindings. When >building the win32ada test programs I receive the following error >message: > >c:\ada\win32ada\lib\win32-assert.obj: in function >'_win32__assert__fail_assertion': >win32-assert.adb:41: undefined reference to '__assert' >c:\ada\gnat301a\gnatmake.exe: *** link failed. > >I also have the SDK installed, by reading the installation notes this >should be enough. > >What is wrong? You have to link with the win32ada.lib library that is included with the bindings. If you are using "ld" you could add the file (with full path) to the beginning of the libs.ld file. -Tom