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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e55fdb8831ef53ac X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news2.volia.net!news2.dg.net.ua!news.alkar.net!not-for-mail From: Maxim Reznik Newsgroups: comp.lang.ada Subject: Re: problem getting gtkada to work Date: Sun, 11 Jun 2006 21:38:45 +0000 (UTC) Organization: Alkar Teleport News Server Message-ID: <20060611213845.GA11085@ws.max.zp.ua> References: <448bd2b9$0$27299$626a54ce@news.free.fr> NNTP-Posting-Host: 213.154.201.133 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pandora.alkar.net 1150061925 46823 213.154.201.133 (11 Jun 2006 21:38:45 GMT) X-Complaints-To: abuse@alkar.net NNTP-Posting-Date: Sun, 11 Jun 2006 21:38:45 +0000 (UTC) Content-Disposition: inline In-Reply-To: <448bd2b9$0$27299$626a54ce@news.free.fr> Return-Path: Maxim Reznik User-Agent: Mutt/1.5.11 Xref: g2news2.google.com comp.lang.ada:4750 Date: 2006-06-11T21:38:45+00:00 List-Id: On Sun, Jun 11, 2006 at 10:22:20AM +0200, Michel Simeon wrote: > gnatlink -g simple.ali > :\GNAT\gtkada-2.4.0\include\gtkada\\libgtkada.a(misc.o.b)(.text+0x327f:1: > undefined reference to `SetCursorPos@8' > gnatlink: cannot call C:\GNAT\bin\gcc.exe > gnatmake: *** link failed. > Follow this thread http://lists.adacore.com/pipermail/gtkada/2005-March/003268.html In short you need to fix gtk.ads file. Add line pragma Linker_Options ("-luser32"); After private pragma Linker_Options ("-lgtkada"); -- Maxim Reznik