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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8f2051e4ca3441c6,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!q26g2000prq.googlegroups.com!not-for-mail From: deadlyhead Newsgroups: comp.lang.ada Subject: Issues building testgtk on Debian Lenny/Sid Date: Wed, 3 Sep 2008 20:35:32 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 67.171.30.9 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1220499333 24218 127.0.0.1 (4 Sep 2008 03:35:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 4 Sep 2008 03:35:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q26g2000prq.googlegroups.com; posting-host=67.171.30.9; posting-account=snJuNwoAAABnc8T9lYkBlDQrDdSjOjG2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-us) AppleWebKit/525.1+ (KHTML, like Gecko, Safari/525.1+) epiphany-webkit,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:7631 Date: 2008-09-03T20:35:32-07:00 List-Id: I'm learning GtkAda at the moment and currently I'm looking to build testgtk. I've gotten through the compilation and binding stages, but now on link I get the following: gnatbind -aI/usr/share/ada/adainclude/gtkada2 -aO/usr/lib/adalib/ gtkada2 -I- -x /home/deadlyhead/temp/sources/GtkAda/testgtk/obj/ testgtk.ali gnatlink /home/deadlyhead/temp/sources/GtkAda/testgtk/obj/testgtk.ali - L/usr/lib -lgtkada2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 - lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender - lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 - lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -o /home/deadlyhead/temp/ sources/GtkAda/testgtk/testgtk /usr/bin/ld: cannot find -lgtkada_gl collect2: ld returned 1 exit status gnatlink: error when calling /usr/bin/gcc-4.3 gnatmake: *** link failed. I feel like this should be dead simple, but honestly, I've never fully understood how ld works. In /usr/lib, I have both libgtkada_gl.so. 2.12.0 and libgtkada_gl.a, plus all of the symlinks one would expect, but ld just will not pick up on them. I've run ldconfig and everything, but the error persists. I must be missing something here, but I'm at a loss. I'm currently using libgtkada2.12 from Debian Sid, with all of the necessary libraries such as the mesa libs and libgtkada_gl2.12. Everything that has a -dev package has had it installed. What could I be missing?