comp.lang.ada
 help / color / mirror / Atom feed
* Gnat gps not picking up adasockets.gpr file
@ 2012-03-16 13:05 tonyg
  2012-03-19  9:50 ` Ludovic Brenta
  0 siblings, 1 reply; 3+ messages in thread
From: tonyg @ 2012-03-16 13:05 UTC (permalink / raw)


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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Gnat gps not picking up adasockets.gpr file
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Brenta @ 2012-03-19  9:50 UTC (permalink / raw)


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.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Gnat gps not picking up adasockets.gpr file
  2012-03-19  9:50 ` Ludovic Brenta
@ 2012-03-19 11:53   ` tonyg
  0 siblings, 0 replies; 3+ messages in thread
From: tonyg @ 2012-03-19 11:53 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-19 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox