comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: gprbuilds and bullds using the gpr within gps
Date: Tue, 26 May 2015 12:22:34 +0200
Date: 2015-05-26T12:22:34+02:00	[thread overview]
Message-ID: <td9opa10fozb$.1kn5o79171it0$.dlg@40tude.net> (raw)
In-Reply-To: d20bb2ce-9862-47c3-bb9a-d7593175f7b5@googlegroups.com

On Tue, 26 May 2015 03:14:04 -0700 (PDT), tonyg wrote:

> I was under the impression that if a gpr file say called thefile.gpr was
> able to be built within GPS then if you used gnatmake -Pthefile.gpr , then
> it would build from the command line.
> 
> I'm getting this instead of "no errors at all" which is a little strange to me
> 
> tony@wb:~$ gprbuild -PDropbox/source/awsinterface/usnapi.gpr
> usnapi.gpr:8:04: no value defined for "library_type"
> usnapi.gpr:8:39: warning: undefined external reference
> usnapi.gpr:11:04: no value defined for "aws_build"
> usnapi.gpr:11:30: warning: undefined external reference
> usnapi.gpr:14:04: no value defined for "development"
> usnapi.gpr:14:38: warning: undefined external reference
> usnapi.gpr:17:04: no value defined for "legacy"
> usnapi.gpr:17:28: warning: undefined external reference
> usnapi.gpr:20:04: no value defined for "atomic_access"
> usnapi.gpr:20:42: warning: undefined external reference
> usnapi.gpr:23:04: no value defined for "tasking"
> usnapi.gpr:23:30: warning: undefined external reference
> usnapi.gpr:26:04: no value defined for "traced_objects"
> usnapi.gpr:26:44: warning: undefined external reference
> usnapi.gpr:29:04: no value defined for "prj_target"
> usnapi.gpr:29:32: warning: undefined external reference
> usnapi.gpr:32:04: no value defined for "prj_build"
> usnapi.gpr:32:30: warning: undefined external reference
> gprbuild: "Dropbox/source/awsinterface/usnapi.gpr" processing failed
> 
> Does anyone know of reasons why this is the case?

As it says, you have no scenario variables set (and no default value 
given). Use -X<name>=<value> switch to define the variables. E.g.

gprbuild -PDropbox/source/awsinterface/usnapi.gpr -Xlibrary_type="static"

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2015-05-26 10:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-26 10:14 gprbuilds and bullds using the gpr within gps tonyg
2015-05-26 10:22 ` Dmitry A. Kazakov [this message]
2015-05-29 16:34   ` tonyg
2015-05-29 16:56     ` Dmitry A. Kazakov
2015-05-29 17:00       ` Dmitry A. Kazakov
2015-05-29 18:31         ` Simon Wright
2015-05-29 20:05           ` Dmitry A. Kazakov
2015-06-01 19:00             ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox