comp.lang.ada
 help / color / mirror / Atom feed
From: Norbert Roeben <roeben@essiris2.atlas.de>
Subject: Linking GNAT with C++ libraries ?
Date: 1996/06/18
Date: 1996-06-18T00:00:00+00:00	[thread overview]
Message-ID: <31C6D5D1.41C6@essiris2.atlas.de> (raw)


Hello,

I've a problem with GNAT and G++ 2.7.1 .

I tried to call a function from a C++ Library. Within the Library there are many 
static Objects which has to elaborated during process startup.

When I try to link my Process with the command

	gnatbl -v -g -o necs_test necs_test.ali xdr_test.o ../IRIX5.3-G++/lib/libnecs.a -lg++ -lstdc++ 

I got the following Message from the linker  :

.........
collect2: ld returned 1 exit status
/usr/bin/../lib/ld:
Unresolved:
__pure_virtual_called
operator delete(void *)
operator new(unsigned int)



Does anybody has an idea, why the linker doesn't find those functions ?

My Configuration :

	SGI INDIGO2  R4400
	IRIX 5.3
	GNAT Version 3.03
	gcc-2.7.2
	g++lib 2.7.1


Norbert
-- 
+-----------------+----------------------+-------------------------------+
| Norbert Roeben  | DEPARTMENT :  ETS 52 |  PHONE : (49) 421-4573695     |
+-----------------+----------------------+-------------------------------+
| EMAIL  : roeben@essiris2.atlas.de                                      |
+------------------------------------------------------------------------+
| STN ATLAS Elektronik            Brueggeweg 54            28305 Bremen  |
+------------------------------------------------------------------------+




                 reply	other threads:[~1996-06-18  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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