comp.lang.ada
 help / color / mirror / Atom feed
* Bizarre link errors
@ 1999-04-26  0:00 Daniel Clarke
  1999-04-27  0:00 ` Keith Thompson
  1999-05-05  0:00 ` Tim
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Clarke @ 1999-04-26  0:00 UTC (permalink / raw)


I'm working on a project involving C and Ada, ada executables importing
functions from C libraries.  When we try to build the executable we're
getting a series of bizarre link errors ( included below ).  The unresolved
externals are mostly coming from one file which does have a lot of casting
going on which may explain the references to rtti in the linker output.
Beyond that the errors mean nothing to me.  I think the problem is arising
from the ada linker not linking in some core C++ library but how to solve it
is another matter.  I've tried removing sections of code but the symbol
references occur all over the place.

Platform is SunOs 5.6 on a sparc ultra
Thanks for any help
-Daniel

gnatbl
System_Login.ali -L../../lib -L/user/compsci1/cs_staff/postgres/install6.
3/lib -i -lCWrapperForDCLAPI -lDCLAPI -lDException -lpq -lsocket -lm -lxnet 
-lstdc++

Undefined                       first referenced
symbol                             in file
__rtti_user
../../lib/libCWrapperForDCLAPI.a(IDList.o)
terminate__Fv
../../lib/libCWrapperForDCLAPI.a(IDList.o)
__cp_push_exception
../../lib/libCWrapperForDCLAPI.a(IDList.o)
__rtti_ptr
../../lib/libCWrapperForDCLAPI.a(IDList.o)
__rtti_si                           ../../lib/libDCLAPI.a(DDivision.o)
__cp_pop_exception
../../lib/libCWrapperForDCLAPI.a(IDList.o)
__throw_type_match_rtti             ../../lib/libDCLAPI.a(DDivision.o)
__cp_exception_info
../../lib/libCWrapperForDCLAPI.a(IDList.o)
__eh_pc
../../lib/libCWrapperForDCLAPI.a(IDList.o)
__throw
../../lib/libCWrapperForDCLAPI.a(IDDivision.
o)
ld: fatal: Symbol referencing errors. No output written to System_Login







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

end of thread, other threads:[~1999-05-05  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-26  0:00 Bizarre link errors Daniel Clarke
1999-04-27  0:00 ` Keith Thompson
1999-05-05  0:00 ` Tim

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