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-Received: by 2002:aed:2d87:: with SMTP id i7mr6465739qtd.291.1591300801470; Thu, 04 Jun 2020 13:00:01 -0700 (PDT) X-Received: by 2002:aca:4e0d:: with SMTP id c13mr4274732oib.30.1591300801203; Thu, 04 Jun 2020 13:00:01 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 4 Jun 2020 13:00:00 -0700 (PDT) In-Reply-To: <59881b30-7469-4214-bac9-7ecc47974398@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=86.22.9.178; posting-account=II5JYwoAAADw1K_LSCTg13CXhmBb6qS5 NNTP-Posting-Host: 86.22.9.178 References: <8c701b7a-870c-4258-a8de-d9340d52f653@googlegroups.com> <59881b30-7469-4214-bac9-7ecc47974398@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Can't get to include AWS From: mhrawcliffe@gmail.com Injection-Date: Thu, 04 Jun 2020 20:00:01 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:58961 Date: 2020-06-04T13:00:00-07:00 List-Id: On Sunday, 30 December 2018 19:46:07 UTC, Andrew Shvets wrote: > On Saturday, December 29, 2018 at 3:30:32 PM UTC-5, Simon Wright wrote: > > Andrew Shvets writes: > > > > > I installed the latest GNAT Community distribution from AdaCore in > > > ~/GNAT and when I tried to use my *.GPR file in order to build my > > > code, I encountered the below error: > > > > > > unknown project file: "aws" > > > > > > In my *.GPR file I did 'with "aws";'. > > > > I have GNAT CE installed under /opt/gnat-ce-2018. > > > > If I don't have /opt/gnat-ce-2018/bin on my PATH but say > > > > /opt/gnat-ce-2018/bin/gprbuild -P shvets.gpr > > > > where shvets.gpr contains 'with "aws";' I get the same as you. > > > > If I do have /opt/gnat-ce-2018/bin on my PATH and say > > > > gprbuild -P shvets.gpr > > > > it works fine. > > Thank you! That did the trick! > > A follow up question, when my projects to the point when it needs to be linked, these are the errors that I see: > > /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /lib/../lib64/crt1.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002 > /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /lib/../lib64/crti.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002 > /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /lib/../lib64/libpthread.so: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002 > /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /lib/../lib64/librt.so: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002 > /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /lib/../lib64/libdl.so: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002 > /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /usr/lib/libc.so.6: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002 > /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /usr/lib/libc_nonshared.a(elf-init.oS): unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002 > /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /usr/lib/ld-linux-x86-64.so.2: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002 > /home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld: warning: /lib/../lib64/crtn.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000002 > > > > Any idea what could be causing this? > > Thanks again! kinda late reply but i just removed the ld binary in GNAT/2020/libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ so that it uses the system ld to link those objects and that removed the errors.