* Can't get to include AWS
@ 2018-12-28 3:58 Andrew Shvets
2018-12-28 9:23 ` eduardsapotski
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Andrew Shvets @ 2018-12-28 3:58 UTC (permalink / raw)
Hello,
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";'.
Is there some path or some other config value that needs to be set?
Thanks in advance for your replies.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't get to include AWS
2018-12-28 3:58 Can't get to include AWS Andrew Shvets
@ 2018-12-28 9:23 ` eduardsapotski
2018-12-30 19:39 ` Andrew Shvets
2018-12-29 19:34 ` Björn Lundin
2018-12-29 20:30 ` Simon Wright
2 siblings, 1 reply; 9+ messages in thread
From: eduardsapotski @ 2018-12-28 9:23 UTC (permalink / raw)
Run GPS.
Open project.
Edit -> Project Properties -> Dependencies
Drag AWS to left panel.
Save.
Or in .gpr file paste: with "aws.gpr";
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't get to include AWS
2018-12-28 3:58 Can't get to include AWS Andrew Shvets
2018-12-28 9:23 ` eduardsapotski
@ 2018-12-29 19:34 ` Björn Lundin
2018-12-30 19:38 ` Andrew Shvets
2018-12-29 20:30 ` Simon Wright
2 siblings, 1 reply; 9+ messages in thread
From: Björn Lundin @ 2018-12-29 19:34 UTC (permalink / raw)
Den 2018-12-28 kl. 04:58, skrev Andrew Shvets:
>
> In my *.GPR file I did 'with "aws";'.
> Is there some path or some other config value that needs to be set?
Find the aws.gpr file and add its path to ADA_PROJECT_PATH.
Make sure you spwan GPS/GPRBuild from an environment that has this set
--
Björn
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't get to include AWS
2018-12-28 3:58 Can't get to include AWS Andrew Shvets
2018-12-28 9:23 ` eduardsapotski
2018-12-29 19:34 ` Björn Lundin
@ 2018-12-29 20:30 ` Simon Wright
2018-12-30 19:46 ` Andrew Shvets
2 siblings, 1 reply; 9+ messages in thread
From: Simon Wright @ 2018-12-29 20:30 UTC (permalink / raw)
Andrew Shvets <andrew.shvets@gmail.com> 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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't get to include AWS
2018-12-29 19:34 ` Björn Lundin
@ 2018-12-30 19:38 ` Andrew Shvets
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Shvets @ 2018-12-30 19:38 UTC (permalink / raw)
On Saturday, December 29, 2018 at 2:34:06 PM UTC-5, björn lundin wrote:
> Den 2018-12-28 kl. 04:58, skrev Andrew Shvets:
> >
> > In my *.GPR file I did 'with "aws";'.
> > Is there some path or some other config value that needs to be set?
>
> Find the aws.gpr file and add its path to ADA_PROJECT_PATH.
> Make sure you spwan GPS/GPRBuild from an environment that has this set
>
>
>
> --
> Björn
This is what I did:
ADA_PROJECT_PATH=/home/someuser/GNAT/2018/share/gpr
And I still go the same error.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't get to include AWS
2018-12-28 9:23 ` eduardsapotski
@ 2018-12-30 19:39 ` Andrew Shvets
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Shvets @ 2018-12-30 19:39 UTC (permalink / raw)
On Friday, December 28, 2018 at 4:23:57 AM UTC-5, eduards...@gmail.com wrote:
> Run GPS.
> Open project.
> Edit -> Project Properties -> Dependencies
> Drag AWS to left panel.
> Save.
>
> Or in .gpr file paste: with "aws.gpr";
I did as you said with "aws.gpr"; and still got the same error.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't get to include AWS
2018-12-29 20:30 ` Simon Wright
@ 2018-12-30 19:46 ` Andrew Shvets
2018-12-30 21:42 ` Simon Wright
2020-06-04 20:00 ` mhrawcliffe
0 siblings, 2 replies; 9+ messages in thread
From: Andrew Shvets @ 2018-12-30 19:46 UTC (permalink / raw)
On Saturday, December 29, 2018 at 3:30:32 PM UTC-5, Simon Wright wrote:
> Andrew Shvets <andr.......@gmail.com> 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!
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't get to include AWS
2018-12-30 19:46 ` Andrew Shvets
@ 2018-12-30 21:42 ` Simon Wright
2020-06-04 20:00 ` mhrawcliffe
1 sibling, 0 replies; 9+ messages in thread
From: Simon Wright @ 2018-12-30 21:42 UTC (permalink / raw)
Andrew Shvets <andrew.shvets@gmail.com> writes:
> /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
Looks as though the version of ld baked into your GNAT isn't wholly
compatible with your system libraries.
What does
/home/someusername/GNAT/2018/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.3.1/ld
--version say?
Have you told us what OS & what version you're running? Some Linux, I
see ...
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't get to include AWS
2018-12-30 19:46 ` Andrew Shvets
2018-12-30 21:42 ` Simon Wright
@ 2020-06-04 20:00 ` mhrawcliffe
1 sibling, 0 replies; 9+ messages in thread
From: mhrawcliffe @ 2020-06-04 20:00 UTC (permalink / raw)
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 <andr.......@gmail.com> 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.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-06-04 20:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-28 3:58 Can't get to include AWS Andrew Shvets
2018-12-28 9:23 ` eduardsapotski
2018-12-30 19:39 ` Andrew Shvets
2018-12-29 19:34 ` Björn Lundin
2018-12-30 19:38 ` Andrew Shvets
2018-12-29 20:30 ` Simon Wright
2018-12-30 19:46 ` Andrew Shvets
2018-12-30 21:42 ` Simon Wright
2020-06-04 20:00 ` mhrawcliffe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox