How to use a Share Library

From: Olivier Meplan (meplan@isn.in2p3.fr)
Date: Sun Jun 20 1999 - 17:21:05 MEST


Hi Rooters!


I have a pb with share library ; I have first create a library lib1.so
which  contain class descpription. Now I want to use classes defined in
this share lib in an other prg but I don't succeed...
The main reason is certainly that I don't understand the Makefile I used
to compile and so I am doing something wrong (up to now I just used the
template makefile for a Digital Unix). The result of my compilation is
the following:
ld:
Unresolved:
__vtbl_8Detector  Make sure that the first noninlined virtual member
function of 'Detector' is defined.
__vtbl_11ManipHeader  Make sure that the first noninlined virtual member
function of 'ManipHeader' is defined.
__vtbl_5Manip  Make sure that the first noninlined virtual member
function of 'Manip' is defined.
__vtbl_11EventHeader  Make sure that the first noninlined virtual member
function of 'EventHeader' is defined.
__vtbl_5Event  Make sure that the first noninlined virtual member
function of 'Event' is defined.
__vtbl_11EventDouble  Make sure that the first noninlined virtual member
function of 'EventDouble' is defined.
*** Exit 1

where Detector, ... are the different classes that are define in the
lib1.so

Is there someone to help me?
Thanks
Olivier

--
=========================================================
|Olivier Meplan             |E-mail:meplan@isn.in2p3.fr
|                           |
|ISN, 53 avenue des Martyrs |  Tel +33(0)4 76-28-41-90
|F-38026 GRENOBLE cedex     |  Fax +33(0)4 76-28-40-04
=========================================================



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:34 MET