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: a07f3367d7,360e289afc8c0eed X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Received: by 10.68.227.166 with SMTP id sb6mr13960616pbc.4.1332158080202; Mon, 19 Mar 2012 04:54:40 -0700 (PDT) Path: kz5ni5785pbc.0!nntp.google.com!news1.google.com!postnews.google.com!fk28g2000vbb.googlegroups.com!not-for-mail From: tonyg Newsgroups: comp.lang.ada Subject: Re: Gnat gps not picking up adasockets.gpr file Date: Mon, 19 Mar 2012 04:53:27 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0e5c55a2-c9b8-4b9b-b5ad-4496b0085980@fk28g2000vbb.googlegroups.com> References: <422340ce-484f-49d9-8833-201eaa7f0784@h20g2000yqd.googlegroups.com> <17638489.4727.1332150611000.JavaMail.geo-discussion-forums@vbai14> NNTP-Posting-Host: 195.58.145.51 Mime-Version: 1.0 X-Trace: posting.google.com 1332158007 5347 127.0.0.1 (19 Mar 2012 11:53:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 19 Mar 2012 11:53:27 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: fk28g2000vbb.googlegroups.com; posting-host=195.58.145.51; posting-account=28F2IwkAAACL1Z5nRC-dE7zuvWdbWC7P User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.16) Gecko/20120315 Iceweasel/3.5.16 (like Firefox/3.5.16),gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-03-19T04:53:27-07:00 List-Id: On Mar 19, 9:50=A0am, Ludovic Brenta wrote: > tonyg wrote on comp.lang.ada: > > > > > gnatmake -d -P/home/tony/adaprojects/comms/comms.gpr -XBUILD=3DDebug > > 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=3DDebug > > 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. =A0This 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. =A0That'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. My build system is a mess , thanks for the pointers :), I'm sort that out and read up on gnat project files