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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC,WEIRD_PORT autolearn=no autolearn_force=no version=3.4.4 Path: border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Error in gtkada-3.4.2-gpl that comes with gnat gpl 2013 Date: Sun, 16 Jun 2013 20:02:21 +0200 Organization: cbb software GmbH Message-ID: <1pb61uo6w6ity.n3rxvomvbvq8.dlg@40tude.net> References: <9afd55de-5e7e-484d-9962-247c0235c556@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: xkOZ88C3T5fLavXpgyt3vA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 2428 Xref: number.nntp.dca.giganews.com comp.lang.ada:181867 Date: 2013-06-16T20:02:21+02:00 List-Id: On Sun, 16 Jun 2013 07:43:59 -0700 (PDT), Charly wrote: > I just tried to compile the new gtkada-3.4.2-gpl that comes with gnat gpl 2013, > as I do every year after installing the new gnat gpl version, by doing: > ./configure --prefix=/usr/local/gnat > make > > But this time, I got some error messages in testgtk: > > gcc -c -gnatQ -gnatwa -gnatay3abcefhiklmnprt -g -O1 -gnat05 -I- -gnatA /mnt/data5/gmd/sw/gnat-2013/gtkada/gtkada-3.4.2-gpl-src/testgtk/opengl/view_gl.adb > view_gl.gpb:98:10: "Get_Count" is undefined > view_gl.gpb:184:42: "Get_X" is undefined (more references follow) > view_gl.gpb:185:42: "Get_Y" is undefined (more references follow) > view_gl.gpb:202:14: "Gdk_Window" is not visible > view_gl.gpb:202:14: non-visible declaration at gdk.ads:42 > view_gl.gpb:207:10: "Get_Is_Hint" is undefined > view_gl.gpb:208:10: warning: call to obsolescent procedure "Get_Pointer" declared at gdk-window.ads:1007 > view_gl.gpb:300:15: warning: condition is always False > gnatmake: "/mnt/data5/gmd/sw/gnat-2013/gtkada/gtkada-3.4.2-gpl-src/testgtk/opengl/view_gl.adb" compilation error > > I assume the problem was caused by the change from gtk-2.x to gtk-3.x. GTK 3.x is hugely incompatible to 2.x. Cannot tell anything about testgtk, but any GtkAda 2.x program must be reviewed and partially rewritten. For a starting point consider this: https://developer.gnome.org/gtk3/3.3/gtk-migrating-2-to-3.html -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de