[AWS] Unable to build AWS
Pascal Obry
pascal at obry.net
Sun May 22 09:27:26 CEST 2005
Adrian,
> But, only aws-os_lib.adb uses POSIX. And it compiles fine. I can't
> understand the errors:
>
> -------------------------------------------------------------------
> Building templates_parser
> templates_parser-print_tree.adb:31:06: file "posix.ads" not found
> templates_parser-print_tree.adb:31:06: "Aws.Os_Lib (body)" depends on
> "Posix (spec)"
> templates_parser-print_tree.adb:31:06: "Aws.Os_Lib (body)" depends on
> "Posix.Calendar (spec)"
> templates_parser-print_tree.adb:31:06: "Aws.Os_Lib (body)" depends on
> "Posix.File_Status (spec)"
> templates_parser-print_tree.adb:31:06: "Templates_Parser (body)" depends
> on "Aws.Os_Lib (body)"
> templates_parser-print_tree.adb:31:06: "Aws.Os_Lib (body)" depends on
> "Posix.Files (spec)"
> -------------------------------------------------------------------
>
> Templates_Parser depends on Aws.Os_Lib and Aws.OS_Lib has been compiled
> successfully. This behaviour is strange.
Not strange at all to me :) GNAT is source based, when it try to compile
templates_parser-print_tree.adb it first try to "load" the spec for
AWS.OS_Lib. It is the case that this unit contains some pragma Inline so it
also needs the body. The body depends on POSIX that can't be found.
> Could it be one of the compiler switches?
Yes, there is probably a missing -I/path/to/posix when compiling tp-print_tree.
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
More information about the AWS
mailing list