comp.lang.ada
 help / color / mirror / Atom feed
From: tonyg <tonythegair@gmail.com>
Subject: Re: Gnat gps not picking up adasockets.gpr file
Date: Mon, 19 Mar 2012 04:53:27 -0700 (PDT)
Date: 2012-03-19T04:53:27-07:00	[thread overview]
Message-ID: <0e5c55a2-c9b8-4b9b-b5ad-4496b0085980@fk28g2000vbb.googlegroups.com> (raw)
In-Reply-To: 17638489.4727.1332150611000.JavaMail.geo-discussion-forums@vbai14

On Mar 19, 9:50 am, Ludovic Brenta <ludo...@ludovic-brenta.org> wrote:
> 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.

My build system is a mess , thanks for the pointers :), I'm sort that
out and read up on gnat project files



      reply	other threads:[~2012-03-19 11:54 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
2012-03-19 11:53   ` tonyg [this message]
replies disabled

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