comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: Gnat gps not picking up adasockets.gpr file
Date: Mon, 19 Mar 2012 02:50:10 -0700 (PDT)
Date: 2012-03-19T02:50:10-07:00	[thread overview]
Message-ID: <17638489.4727.1332150611000.JavaMail.geo-discussion-forums@vbai14> (raw)
In-Reply-To: <422340ce-484f-49d9-8833-201eaa7f0784@h20g2000yqd.googlegroups.com>

tonyg wrote on comp.lang.ada:
> gnatmake -d -P/home/tony/adaprojects/comms/comms.gpr -XBUILD=Debug
> 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=Debug
> 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.  This 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.  That'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.



  reply	other threads:[~2012-03-19  9:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16 13:05 Gnat gps not picking up adasockets.gpr file tonyg
2012-03-19  9:50 ` Ludovic Brenta [this message]
2012-03-19 11:53   ` tonyg
replies disabled

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