From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,7ef560cb7b30bfe1,start X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,7ef560cb7b30bfe1,start X-Google-Attributes: gid103376,public From: "Daniel Clarke" Subject: Bizarre link errors Date: 1999/04/26 Message-ID: <7g27hl$93f$1@whatsit.aston.ac.uk>#1/1 X-Deja-AN: 471116534 Sender: clarked@modem4294967201.environment.dialup.pol.co.uk Organization: Aston University X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: comp.lang.c++,comp.lang.ada Date: 1999-04-26T00:00:00+00:00 List-Id: 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