comp.lang.ada
 help / color / mirror / Atom feed
* Linking GNAT with C++ libraries ?
@ 1996-06-18  0:00 Norbert Roeben
  0 siblings, 0 replies; only message in thread
From: Norbert Roeben @ 1996-06-18  0:00 UTC (permalink / 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  |
+------------------------------------------------------------------------+




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-06-18  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-18  0:00 Linking GNAT with C++ libraries ? Norbert Roeben

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