comp.lang.ada
 help / color / mirror / Atom feed
From: "Daniel Clarke" <clarked@aston.ac.uk>
Subject: Bizarre link errors
Date: 1999/04/26
Date: 1999-04-26T00:00:00+00:00	[thread overview]
Message-ID: <7g27hl$93f$1@whatsit.aston.ac.uk> (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







             reply	other threads:[~1999-04-26  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-26  0:00 Daniel Clarke [this message]
1999-04-27  0:00 ` Bizarre link errors Keith Thompson
1999-05-05  0:00 ` Tim
replies disabled

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