Re: po_gnatdist project handling problem
Taking inspiration from gnat pro .gpr file I used a similar scheme :
pcs_project1 extend polyorb.gpr which is simpler :
with "polyorb/polyorb_setup.gpr";
project Polyorb is
for Object_Dir use "/usr/lib/ada/adalib/polyorb/";
for Source_Dirs use ("/usr/share/ada/adainclude/polyorb");
for Externally_Built use "true";
end Polyorb;
and polyorb/polyorb_setup.gpr looks like :
project polyorb_setup is
for Source_Files use ();
for Library_Name use "polyorb";
for Library_Dir use "/usr/lib";
for Library_Kind use "dynamic";
for Library_ALI_Dir use "/usr/lib/ada/adalib/polyorb";
for Externally_Built use "true";
end polyorb_setup;
now I face missing symbols (not a full list):
server.adb:(.text+0x2d516): undefined reference to
`system__partition_interface__create_any'
server.adb:(.text+0x2d617): undefined reference to
`system__partition_interface__create_any'
server.adb:(.text+0x2d7f5): undefined reference to
`system__partition_interface__get_local_address'
server.adb:(.text+0x2d90f): undefined reference to
`system__partition_interface__request_arguments'
server.adb:(.text+0x2daa5): undefined reference to
`system__partition_interface__request_set_out'
I suspect a bad link with s-parint which belongs to polyorb and
gnat-4.9 as far as I remember.
I hope the new version will help to understand the "why"...
I believe we get /usr/share/ada/adainclude for the object path because
polyorb.gpr file is in this directory.
Reply to: