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,360e289afc8c0eed X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.74.201 with SMTP id w9mr13668294pbv.0.1332150704868; Mon, 19 Mar 2012 02:51:44 -0700 (PDT) Path: kz5ni5180pbc.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Gnat gps not picking up adasockets.gpr file Date: Mon, 19 Mar 2012 02:50:10 -0700 (PDT) Organization: http://groups.google.com Message-ID: <17638489.4727.1332150611000.JavaMail.geo-discussion-forums@vbai14> References: <422340ce-484f-49d9-8833-201eaa7f0784@h20g2000yqd.googlegroups.com> NNTP-Posting-Host: 153.98.68.197 Mime-Version: 1.0 X-Trace: posting.google.com 1332150704 27786 127.0.0.1 (19 Mar 2012 09:51:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 19 Mar 2012 09:51:44 +0000 (UTC) In-Reply-To: <422340ce-484f-49d9-8833-201eaa7f0784@h20g2000yqd.googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=153.98.68.197; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-03-19T02:50:10-07:00 List-Id: tonyg wrote on comp.lang.ada: > gnatmake -d -P/home/tony/adaprojects/comms/comms.gpr -XBUILD=Debug > adasockets.gpr:1:09: warning: Linker switches not taken into account > in library projects > gcc-4.4 -gnatpg -c -g -gnatwl -gnatws -I- -gnatA /usr/lib/gcc/x86_64- > linux-gnu/4.4.4/adainclude/s-stalib.adb > [2012-03-16 12:57:21] Cannot open file '/home/tony/adaprojects/comms/ > adasockets.gpr' > gcc-4.4 -gnatpg -c -g -gnatwl -gnatws -I- -gnatA /usr/lib/gcc/x86_64- > linux-gnu/4.4.4/adainclude/a-tags.adb > gcc-4.4 -gnatpg -c -g -gnatwl -gnatws -I- -gnatA /usr/lib/gcc/x86_64- > linux-gnu/4.4.4/adainclude/interfac.ads > > In the above compilation debug gnat-gps says it cannot open the > adasockets.gpr file, however it is referenced with a > with "/usr/share/ada/adainclude/adasockets.gpr" in the project file > referring to the installed adasockets package > > I think this is all the relevant information. Hardly. Is this on Debian? How many adasockets.gpr files do you have? Does /usr/share/ada/adainclude/adasockets.gpr exist? Does /home/tony/adaprojects/comms/adasockets.gpr exist? If so, what does it contain? The lines: > gnatmake -d -P/home/tony/adaprojects/comms/comms.gpr -XBUILD=Debug > adasockets.gpr:1:09: warning: Linker switches not taken into account > in library projects indicates that gnatmake finds an adasockets.gpr in its project file search path. This file might or might not be /usr/share/ada/adainclude/adasockets.gpr which is presumably a library project file, presumably from the libadasockets3-dev package, which is presumably installed. That's a lot of "presumablies", indicating information missing from your post. > with "/usr/share/ada/adainclude/adasockets.gpr" in the > project file referring to the installed adasockets package what is "the project file" exactly and what does it contain exactly? If so, where and when *exactly* do you see the error message? Yes, computer science is an exact science, at least for us adaists :) -- Ludovic Brenta.