Open mhanuel26 opened 2 years ago
I have same issue on ALT Linux 10 with GNAT Community Edition 2021:
ada/aws-x$ gnat --version
GNAT Community 2021 (20210519-103)
Copyright (C) 1996-2021, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
ada/aws-x$ uname -a
Linux antiyoga 5.10.135-std-def-alt1 #1 SMP Mon Aug 8 14:55:36 UTC 2022 x86_64 GNU/Linux
ada/aws-x$ git status
HEAD detached at v23.0.0
nothing to commit, working tree clean
The build command gets:
ada/aws-x$ make build
Compile
[Ada] aws-server.adb
[Ada] aws-net-std__gnat.adb
aws-net-std__gnat.adb:707:53: warning: "Status" modified by call, but value might not be referenced [-gnatwm]
aws-server.adb:973:23: error: non-local pointer cannot point to local object
compilation of aws-net-std__gnat.adb failed
compilation of aws-server.adb failed
gprbuild: *** compilation phase failed
Hi,
I am having issues to build,
I have installed gnat 2021 on ubuntu 22.04, setup my environment variables to point to $HOME/opt/GNAT/2021/bin and cloned this repo as
git clone --recursive https://github.com/AdaCore/aws
This is build error
What am I missing?