Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 73033

Summary: Undefined references when trying to use adasockets installed with emerge
Product: Gentoo Linux Reporter: Erik <esigra>
Component: [OLD] UnspecifiedAssignee: ada team [OBSOLETE] <ada+disabled>
Status: VERIFIED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Erik 2004-12-01 07:36:35 UTC
$ cat prov.adb
procedure Prov is begin null;
end Prov;
$ gnatmake prov.adb `adasockets-config`
gnatbind -aO./ -aO/usr/lib/ada/adainclude/adasockets -I- -x prov.ali
gnatlink -L/usr/lib/ada/adalib/adasockets -L/usr/lib -ladasockets prov.ali
/usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__operations__complete_entry_body'
/usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__operations__service_entries'
/usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__operations__protected_entry_call'
/usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__entries__initialize_protection_entries'
/usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__operations___init_proc'
/usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__operations__exceptional_complete_entry_body'
/usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__entries__unlock_entries'
/usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__entries___init_proc__3'
/usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__entries__lock_entries'
gnatlink: cannot call /usr/bin/gnatgcc
gnatmake: *** link failed.

Reproducible: Always
Steps to Reproduce:
1. emerge gnat and adasockets
2. execute the command shown above
Comment 1 Erik 2005-12-11 06:38:17 UTC
The bug still exists after over a year (gnat-3.15p-r5 and adasockets-1.7-r1 are 
installed). 
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2006-06-09 08:42:47 UTC
1.8.4.4 (for old style gnat) and 1.8.4.7 (for new split gnat) are in the tree. Please test the one you can. In fact I would strongly suggest migrating to a new gnat (dev-lang/gnat-xxx) as the old-style gnat will be masked when all the libs are migrated..

Please reopen the bug if you still get problems with this package..

George